leilukin-site/shrines/asummersend/components/header.js

17 lines
785 B
JavaScript

// Header component content
document.querySelector("header").innerHTML = `
<img src="./img/asummersend_header.png" alt="">
`;
// Navigation component content
document.querySelector("nav").innerHTML = `
<ul class="nav__menu">
<li class="nav__title"><a href="/shrines/asummersend/">A Summer's End</a></li>
<li class="nav__item"><a href="/shrines/asummersend/">Shrine Home</a></li>
<li class="nav__item"><a href="./playlists.html">Playlists</a></li>
<li class="nav__item"><a href="./trivia.html">Trivia</a></li>
<li class="nav__item"><a href="./gallery.html">Gallery</a></li>
<li class="nav__item"><a href="/home.html">Main Site</a></li>
<li class="nav__toggle"><a href="#"><i class="fas fa-bars"></i></a></li>
</ul>
`;