<!DOCTYPE html>
<html lang="en">
<head>
  <%- include("partials/head") %>
</head>
<body>
  <header>
    <%- include("partials/header") %>
  </header>
  <main>
    <section class="hero">
      <h1>Shop All</h1>
      <p>Discover the full range of archival pieces in one place.</p>
    </section>
    <section class="gallery">
      <div class="product-grid">
        <% products.forEach(product => { %>
          <a href="/product-detail/<%= product.id %>" class="product-card">
            <img src="<%= product.image %>" alt="<%= product.name %>">
            <div class="product-info">
              <h3><%= product.name %></h3>
              <p>$<%= product.price %></p>
            </div>
          </a>
        <% }) %>
      </div>
    </section>
  </main>
  <footer>
    <%- include("partials/footer") %>
  </footer>
</body>
</html>