Skip to content

Commit 91955e4

Browse files
committed
Homepage fanciness
1 parent b2318f6 commit 91955e4

3 files changed

Lines changed: 332 additions & 38 deletions

File tree

src/App.vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const needsCatalog = () => !!route.meta.needsCatalog
2525
</router-link>
2626
<nav class="header-nav">
2727
<router-link to="/zoek" active-class="nav-active">Welke batterij?</router-link>
28-
<router-link to="/database" active-class="nav-active">Bekijk Modellen</router-link>
29-
<router-link to="/merken" active-class="nav-active">Bekijk Merken</router-link>
30-
<router-link to="/faq" active-class="nav-active">Veelgestelde Vragen</router-link>
28+
<router-link to="/database" active-class="nav-active">Alle modellen</router-link>
29+
<router-link to="/merken" active-class="nav-active">Alle merken</router-link>
30+
<router-link to="/faq" active-class="nav-active">Veelgestelde vragen</router-link>
3131
</nav>
3232
</div>
3333
</header>

src/assets/css/layout.css

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,25 @@
2525
}
2626

2727
.header-nav a {
28-
color: rgba(255, 255, 255, 0.75);
28+
color: rgba(255, 255, 255, 0.85);
2929
text-decoration: none;
3030
font-size: 0.85rem;
3131
font-weight: 500;
3232
padding: 0.35rem 0.75rem;
3333
border-radius: var(--radius-sm);
34+
background: rgba(0, 0, 0, 0.12);
35+
transition: background 0.15s, box-shadow 0.15s, color 0.15s;
3436
}
3537

3638
.header-nav a:hover {
3739
color: white;
38-
background: rgba(255, 255, 255, 0.12);
40+
background: rgba(0, 0, 0, 0.2);
41+
box-shadow: 0 0 8px rgba(255, 255, 255, 0.25);
3942
}
4043

4144
.header-nav a.nav-active {
4245
color: white;
43-
background: rgba(255, 255, 255, 0.2);
46+
background: rgba(0, 0, 0, 0.25);
4447
}
4548

4649
.header-brand {

0 commit comments

Comments
 (0)