<!DOCTYPE html>
<html lang="pt-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">
    <link rel="preconnect" href="https://fonts.googleapis.com">
    <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
    <link href="https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap" rel="stylesheet">
    <title>
        DETALHES
    </title>
</head>

<body>
    <nav>
        <a href="/"><input type="button" value="HOME" id="nav"></button></a>
        <a href="/cadastro"><input type="button" value="CADASTRO" id="nav"></button></a>
        <a href="/catalogo"><input type="button" value="LISTA" id="nav"></button></a>
    </nav>

    <header>
        <article id="tit">
            <%=heroi.Nome%>
        </article>
    </header>
    <main id="det">
        <section id="detalhe">
            <section id="imgs">
                <img id="imgdetalhe" src="<%=heroi.Imagem%>" alt="<%= heroi.Nome %>">
                <img id="logo" src="\img\heroes.png" alt="heros">
            </section>
            <ul>
                <li id="det1"><img src="https://img.icons8.com/ios/50/000000/strength.png"/>Força: <article>
                        <%= heroi.Força %>
                    </article>
                </li>
                <li id="det2"><img src="https://img.icons8.com/ios-glyphs/30/000000/exercise.png"/>Velocidade: <article>
                        <%= heroi.Velocidade %>
                    </article>
                </li>
                <li id="det3"><img src="https://img.icons8.com/ios-glyphs/30/000000/cupid-target--v1.png"/>Habilidade: <article>
                        <%= heroi.Habilidade %>
                    </article>
                </li>
                <li id="det4"><img src="https://img.icons8.com/ios/50/000000/greek-helmet.png"/>Equipamento: <article>
                        <%= heroi.Equipamento %>
                    </article>
                </li>
                <li id="det5"><img src="https://img.icons8.com/ios-filled/50/000000/creativity.png"/>Inteligência: <article>
                        <%= heroi.Inteligência %>
                    </article>
                </li>
                <li id="det6"><img src="https://img.icons8.com/ios-filled/50/000000/genie.png"/>Poder: <article>
                        <%= heroi.Poder %>
                    </article>
                </li>
            </ul>
        </section>
        <nav id="acoes">
            <a href="/editar/<%=heroi.id%>"><button id="navAt"><img src="https://img.icons8.com/ios/50/000000/update-left-rotation.png"/>Editar</button></a>
            <a href="/apagar/<%=heroi.id%>"><button id="navExc"><img src="https://img.icons8.com/ios-filled/50/000000/full-trash--v2.png"/>Apagar</button></a>
        </nav>
    </main>
    <script src="/js/editar.js"></script>
</body>

</html>