aboutsummaryrefslogtreecommitdiffstats
path: root/public/license.php
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-02-20 16:33:13 +0100
committerArmand Philippot <git@armandphilippot.com>2022-02-20 16:33:13 +0100
commit60aad702ef1a6922e7cbb68d83bcbe35a8b368f0 (patch)
tree0fe2a20410d75d2df23ea41fe3e8f5e6e62321ad /public/license.php
parent73a5c7fae9ffbe9ada721148c8c454a643aceebe (diff)
style: fix some warnings
Diffstat (limited to 'public/license.php')
-rw-r--r--public/license.php17
1 files changed, 14 insertions, 3 deletions
diff --git a/public/license.php b/public/license.php
index 1166c5b..c83af97 100644
--- a/public/license.php
+++ b/public/license.php
@@ -1,5 +1,16 @@
<?php
-require_once('./inc/dotenv.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();
?>
@@ -51,7 +62,7 @@ $dap_current_env = dap_get_current_env();
</h1>
<p class="branding__description">Front-end developer</p>
</div>
- <nav class="nav">
+ <nav class="nav" aria-label="Main">
<p class="nav__label">App list:</p>
<ul class="nav__list"></ul>
</nav>
@@ -85,7 +96,7 @@ $dap_current_env = dap_get_current_env();
</div>
</main>
<footer class="footer">
- <nav class="nav nav--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">