auto populate nav and footer

This commit is contained in:
2025-12-28 12:41:27 -08:00
parent 09b1d2975b
commit 5ec64cfda7
4 changed files with 72 additions and 59 deletions

View File

@ -15,6 +15,10 @@
<meta property="og:description" content="Solstice Market at the Beall Greenhouses" />
<meta property="og:image" content="/img/logo-light.png" />
<meta property="og:image:alt" content="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme" />
<!-- JS -->
<script src="/scripts/nav.js" defer></script>
<!-- CSS -->
<link rel="stylesheet" href="/styles/main.css">
<link rel="stylesheet" href="/styles/nav.css">
@ -23,10 +27,7 @@
<body>
<div id="content">
<header>
<nav>
<a href="/">↩ back home</a>
<a href="/directory">🧺 all markets</a>
</nav>
<nav id="top-nav"><!-- auto-populated by nav.js --></nav>
<img id="logo-dark" src="/img/logo-dark.png" alt="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme">
<img id="logo-light" src="/img/logo-light.png" alt="Linework icon depicting a sunrise or sunset with two clouds, in a blue and orange color scheme">
@ -122,21 +123,6 @@
</div>
</main>
</div>
<footer>
<div id="contacts">
<p>
Website questions or feedback?
<a href="mailto:lee.cattarin@gmail.com?cc=montanahawke@gmail.com&subject=Beall%20Greenhouses%20Market">
email Lee
</a>
</p>
<p>Market questions?
<a href="mailto:montanahawke@gmail.com?subject=Beall%20Greenhouses%20Market">
email Hawke
</a>
</p>
</div>
<p>brought to you in 2025</p>
</footer>
<footer id="footer"><!-- auto-populated by nav.js --></footer>
</body>
</html>