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:
@@ -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;
|
||||
@@ -242,11 +244,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>
|
||||
|
||||
Reference in New Issue
Block a user