summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/footer.shtml8
-rw-r--r--include/header.shtml88
-rw-r--r--include/initScripts.shtml15
3 files changed, 58 insertions, 53 deletions
diff --git a/include/footer.shtml b/include/footer.shtml
index 328ecd3..878f228 100644
--- a/include/footer.shtml
+++ b/include/footer.shtml
@@ -1,14 +1,14 @@
<footer id="footer">
- <p id="footerHeading">Achernar</p>
+ <h1>achernar</h1>
<table>
<tbody>
<tr>
- <th>CVR</th>
+ <th>cvr</th>
<td>44936429</td>
</tr>
<tr>
- <th>E-mail</th>
+ <th>e-mail</th>
<td><div id="emailAddress"></div></td>
</tr>
</tbody>
@@ -16,5 +16,5 @@
<br>
<p>Communications can be done in English and Danish.</p>
<br>
- <p>This webservice can be cloned from <a href="https://mandelbrot.dk/achernar/" rel="noopener noreferrer" target="_blank"><span class="code">mandelbrot.dk</span></a>.</p>
+ <p>This webservice can be cloned from <a href="https://mandelbrot.dk/achernar/" rel="noopener noreferrer" target="_blank"><code>mandelbrot.dk</code></a>.</p>
</footer>
diff --git a/include/header.shtml b/include/header.shtml
index e291d9e..0d90402 100644
--- a/include/header.shtml
+++ b/include/header.shtml
@@ -1,38 +1,58 @@
<header id="header">
- <div id="hamburger" onclick="toggleNavBar();"></div>
- <div id="clickMe"></div>
-
- <div data-state="Hidden" id="navBar">
- <section>
- <p class="heading">ACHERNAR</p>
-
- <p class="clickable" onclick="loadPage('about');">ABOUT</p>
- <a href="https://mandelbrot.dk" rel="noopener noreferrer" target="_blank">SOURCES</a>
- </section>
-
- <section>
- <p class="heading">PRODUCTS</p>
-
- <p class="clickable" onclick="loadPage('bowshock');">BOWSHOCK</p>
- <p class="clickable" onclick="loadPage('deltaWorld');">DELTA&middot;WORLD</p>
- </section>
-
- <section>
- <p class="heading">PROJECTS</p>
-
- <p class="clickable" onclick="loadPage('agbsum');">AGBSUM</p>
- <p class="clickable" onclick="loadPage('ax');">AX</p>
- <p class="clickable" onclick="loadPage('backspace');">BACKSPACE</p>
- <p class="clickable" onclick="loadPage('benoit');">BENOIT</p>
- <p class="clickable" onclick="loadPage('bzipper');">BZIPPER</p>
- <p class="clickable" onclick="loadPage('eas');">eAS</p>
- <p class="clickable" onclick="loadPage('luma');">LUMA</p>
- <p class="clickable" onclick="loadPage('pollex');">POLLEX</p>
- <p class="clickable" onclick="loadPage('u8c');">U8C</p>
- </section>
-
- <p class="clickable" id="themeToggler" onclick="toggleTheme();">TOGGLE THEME</p>
+ <div id="banner">
+ <div id="navBar">
+ <section>
+ <a onclick="loadPage('achernar');">ACHERNAR</a>
+ </section>
+
+ <section>
+ <a onclick="loadPage('benoit');">BENOIT</a>
+ <a onclick="loadPage('bowshock');">BOWSHOCK</a>
+ <a onclick="loadPage('deltaWorld');">DELTA&middot;WORLD</a>
+ <a onclick="loadPage('eas');">eAS</a>
+ </section>
+
+ <section>
+ <div id="hamburger" onclick="toggleSideMenu();"></div>
+ </section>
+ </div>
+
+ <div id="glyph"></div>
</div>
- <div id="glyph"></div>
+ <div id="sideMenu">
+ <div class="links">
+ <section>
+ <p>ACHERNAR</p>
+
+ <a onclick="loadPage('achernar', 'about');">ABOUT</a>
+ <a onclick="loadPage('achernar', 'vision');">VISION</a>
+ <a onclick="loadPage('achernar', 'team');">TEAM</a>
+ <a href="https://mandelbrot.dk" rel="noopener noreferrer" target="_blank">SOURCES</a>
+ </section>
+
+ <section>
+ <p>GAMES</p>
+
+ <a onclick="loadPage('bowshock');">BOWSHOCK</a>
+ <a onclick="loadPage('deltaWorld');">DELTA&middot;WORLD</a>
+ </section>
+
+ <section>
+ <p>PROJECTS</p>
+
+ <a onclick="loadPage('agbsum');">AGBSUM</a>
+ <a onclick="loadPage('ax');">AX</a>
+ <a onclick="loadPage('backspace');">BACKSPACE</a>
+ <a onclick="loadPage('benoit');">BENOIT</a>
+ <a onclick="loadPage('bzipper');">BZIPPER</a>
+ <a onclick="loadPage('eas');">eAS</a>
+ <a onclick="loadPage('luma');">LUMA</a>
+ <a onclick="loadPage('pollex');">POLLEX</a>
+ <a onclick="loadPage('u8c');">U8C</a>
+ </section>
+ </div>
+
+ <a id="themeToggler" onclick="toggleTheme();">TOGGLE THEME</a>
+ </div>
</header>
diff --git a/include/initScripts.shtml b/include/initScripts.shtml
deleted file mode 100644
index d39597c..0000000
--- a/include/initScripts.shtml
+++ /dev/null
@@ -1,15 +0,0 @@
-<script src="/js/getTheme.js" type="text/javascript"></script>
-<script src="/js/initImages.js" type="text/javascript"></script>
-<script src="/js/loadPage.js" type="text/javascript"></script>
-<script src="/js/setNavBarState.js" type="text/javascript"></script>
-<script src="/js/setTheme.js" type="text/javascript"></script>
-<script src="/js/toggleNavBar.js" type="text/javascript"></script>
-<script src="/js/toggleTheme.js" type="text/javascript"></script>
-
-<script type="text/javascript">
- (function() {
- setTheme(getTheme());
-
- initImages();
- })();
-</script>