<!DOCTYPE html>
<html lang="pr-br">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="/css/style.css">
    <title>Artesanal | Home</title>
</head>

<body>
    <nav>
        <img src="/img/logo/logo.png" class="img-fluid gif" alt="logo pokedex">
        <ul>
            <li>
                <a href="/">Home</a>
            </li>
            <li>
                <a href="/cervejarias">Cervejarias</a>
            </li>
            <li>
                <a href="/cadastro-cerveja">Cadastro Cerveja</a>
            </li>
            <li>
                <a href="/cadastro-cervejaria">Cadastro Cervejaria</a>
            </li>
        </ul>
    </nav>

    <header>
        <article>
            <h1> Artesanal </h1>
        </article>        
    </header>
    
    <section id="cerveja">
        <% cervejas.forEach(item => { %>
            <a class="card" href="/detalhes/<%= item.id %>">
                <img src="<%= item.imagem %>" alt="">
                <h2><%= item.nome %></h2>
                <h4><%= item.tipocerveja %></h4>
            </a>
        <% }) %> 
    </section>
    
    <script src="/js/script.js"></script>
    
</body>

</html>