1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
|
<?php
/**
* License view.
* php version 7.4
*
* @category View
* @package DAP
* @author Armand Philippot <contact@armandphilippot.com>
* @copyright 2022 Armand Philippot
* @license MIT <https://opensource.org/licenses/MIT>
* @link https://demo.armandphilippot.com/
*/
require_once './inc/dotenv.php';
$dap_current_env = dap_get_current_env();
?>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>License | Demo | Armand Philippot</title>
<link rel="apple-touch-icon" sizes="180x180" href="/assets/images/favicon/apple-touch-icon.png" />
<link rel="icon" type="image/png" sizes="32x32" href="/assets/images/favicon/favicon-32x32.png" />
<link rel="icon" type="image/png" sizes="16x16" href="/assets/images/favicon/favicon-16x16.png" />
<link rel="manifest" href="/assets/images/favicon/site.webmanifest" />
<link rel="mask-icon" href="/assets/images/favicon/safari-pinned-tab.svg" color="#194476" />
<link rel="shortcut icon" type="image/x-icon" href="/assets/images/favicon/favicon.ico" />
<meta name="msapplication-TileColor" content="#194476">
<meta name="msapplication-config" content="/assets/images/favicon/browserconfig.xml">
<meta name="theme-color" content="#194476">
<?php
if ($dap_current_env === 'development') {
echo '<script src="assets/js/style.js"></script>';
} else {
echo '<link rel="stylesheet" href="assets/css/style.css" />';
}
?>
</head>
<body class="body">
<div class="toolbar">
<button type="button" class="toolbar__options btn btn--menu">Menu</button>
<button type="button" class="toolbar__options btn btn--details">
About app
</button>
</div>
<header class="header">
<div class="branding">
<div class="branding__logo logo">
<a href="/" rel="home" class="logo__link">
<img src="./assets/images/armand-philippot.jpg" alt="Back to homepage"
class="logo__image logo__image--front" />
<img src="./assets/images/armand-philippot-logo.svg" alt="Back to homepage"
class="logo__image logo__image--back" />
</a>
</div>
<h1 class="branding__title">
<a href="/" rel="home" class="branding__link">Armand Philippot</a>
</h1>
<p class="branding__description">Front-end developer</p>
</div>
<nav class="nav" aria-label="Main">
<p class="nav__label">App list:</p>
<ul class="nav__list"></ul>
</nav>
</header>
<main class="main">
<div class="legal-notice">
<h2>MIT License</h2>
<p>Copyright (c) 2021 Armand Philippot</p>
<p>
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
</p>
<p>
The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.
</p>
<p>
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
</p>
</div>
</main>
<footer class="footer">
<nav class="nav nav--footer" aria-label="Footer">
<ul class="nav__list">
<li class="nav__item">
<a href="legal-notice.php" class="nav__link nav__link--legal">
Legal notice
</a>
</li>
</ul>
</nav>
<div class="copyright">
<span class="copyright__license" title="License MIT">MIT</span>
<span class="copyright__date">2021.</span>
<a href="https://www.armandphilippot.com/" class="copyright__author">Armand Philippot.</a>
</div>
</footer>
<script src="./assets/js/runtime.js"></script>
<script src="./assets/js/app.js"></script>
</body>
</html>
|