Refactor hero section, update how-it-works cards, add Instagram invite + footer to all pages
This commit is contained in:
1 parent
5ee62ff604
commit
221aa90649
13 files changed
+336
-28
No files matched your search
+15
-1
@@ -29,6 +29,20 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
function buildLoggedOutNavigation() {
|
||||
const loginIsActive = currentPage === 'login.html';
|
||||
const signupIsActive = currentPage === 'signup.html';
|
||||
const isIndex = currentPage === 'index.html' || currentPage === '';
|
||||
|
||||
// Auf der Startseite nur Login anzeigen.
|
||||
if (isIndex) {
|
||||
return `
|
||||
<a
|
||||
class="button-small"
|
||||
href="login.html"
|
||||
aria-label="Login"
|
||||
>
|
||||
Login
|
||||
</a>
|
||||
`;
|
||||
}
|
||||
|
||||
return `
|
||||
<a
|
||||
@@ -47,7 +61,7 @@ document.addEventListener('DOMContentLoaded', () => {
|
||||
>
|
||||
Signup
|
||||
</a>
|
||||
`;
|
||||
`;`;
|
||||
}
|
||||
|
||||
// Baut die Navigation fuer eingeloggte Benutzer.
|
||||
|
||||
Reference in new issue
Block a user