Fix navbar and simplify templates

- Fix nested anchor tags in navbar (invalid HTML)
- Hardcode app name and author in templates
- Remove hero section from index page
This commit is contained in:
2025-12-31 15:10:24 -08:00
parent 4284e923a6
commit 58b5333c6c
5 changed files with 50 additions and 61 deletions

View File

@@ -30,12 +30,14 @@
display: flex;
align-items: center;
gap: 8px;
color: white;
text-decoration: none;
font-size: 18px;
font-weight: 600;
}
.navbar-brand:hover {
.navbar-brand a {
color: white;
text-decoration: none;
}
.navbar-brand a:hover {
color: #ecf0f1;
}
.navbar-brand .by {
@@ -45,7 +47,7 @@
}
.navbar-brand .author {
color: #3498db;
text-decoration: none;
font-weight: normal;
}
.navbar-brand .author:hover {
text-decoration: underline;
@@ -195,11 +197,11 @@
</head>
<body>
<nav class="navbar">
<a href="/" class="navbar-brand">
<span>{{appName}}</span>
<div class="navbar-brand">
<a href="/">routewatch</a>
<span class="by">by</span>
<a href="{{appAuthorURL}}" class="author">{{appAuthor}}</a>
</a>
<a href="https://sneak.berlin" class="author">@sneak</a>
</div>
<div class="navbar-links">
<a href="/">Home</a>
<a href="/status">Status</a>