fix: update drawer and nav for imprints
This commit is contained in:
@@ -7,14 +7,11 @@ class HorizontalScrollNav extends HTMLElement {
|
||||
super();
|
||||
this.attachShadow({ mode: "open" });
|
||||
this.categories = [
|
||||
{ id: "all", label: "All", active: true },
|
||||
{ id: "fiction", label: "Fiction", active: false },
|
||||
{ id: "non-fiction", label: "Non-Fiction", active: false },
|
||||
{ id: "mystery", label: "Mystery", active: false },
|
||||
{ id: "romance", label: "Romance", active: false },
|
||||
{ id: "sci-fi", label: "Sci-Fi", active: false },
|
||||
{ id: "biography", label: "Biography", active: false },
|
||||
{ id: "history", label: "History", active: false },
|
||||
{ id: "asoka", label: "Asoka", active: true },
|
||||
{ id: "synthese", label: "Synthese", active: false },
|
||||
{ id: "de-driehoek", label: "De Driehoek", active: false },
|
||||
{ id: "waerbeke", label: "Waerbeke", active: false },
|
||||
{ id: "stuivenberg", label: "Stuivenberg", active: false },
|
||||
];
|
||||
}
|
||||
|
||||
@@ -110,7 +107,7 @@ class HorizontalScrollNav extends HTMLElement {
|
||||
background-color: #7a1843;
|
||||
}
|
||||
</style>
|
||||
<nav class="nav-container" role="navigation" aria-label="Boekcategorieën">
|
||||
<nav class="nav-container" role="navigation" aria-label="Imprints">
|
||||
${this.categories
|
||||
.map(
|
||||
(cat) => `
|
||||
|
||||
@@ -350,9 +350,10 @@ class MobileDrawer extends HTMLElement {
|
||||
<h2 class="nav-section-title">Imprints</h2>
|
||||
<ul class="nav-list">
|
||||
<li><a href="#">Asoka</a></li>
|
||||
<li><a href="#">Bodhi</a></li>
|
||||
<li><a href="#">Dharma</a></li>
|
||||
<li><a href="#">Sangha</a></li>
|
||||
<li><a href="#">Synthese</a></li>
|
||||
<li><a href="#">De Driehoek</a></li>
|
||||
<li><a href="#">Waerbeke</a></li>
|
||||
<li><a href="#">Stuivenberg</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user