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

18 lines
845 B
JavaScript
Raw Normal View History

2023-06-27 14:57:47 +00:00
// 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="/blog">Blog</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>
`;