<!DOCTYPE html>
<html lang="en">
<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>Detalhes</title>
</head>
<body>
    <%- include('./partials/header.ejs') %> 
    <main>
        <div id="sub_header">
            <%= detalhesAnimes.nome %> 
        </div>
        <section id="details_container">
            <iframe <%- detalhesAnimes.iframe %> ></iframe>
            <table>
                <thead>
                    <th colspan="2">Detalhes</th>
                </thead>
                <tbody>                    
                    <tr>
                        <td>Gênero</td>
                        <td> <%= detalhesAnimes.genero %>  </td>
                    </tr>
                    <tr>
                        <td>Autor</td>
                        <td> <%= detalhesAnimes.autor %>  </td>
                    </tr>
                    <tr>
                        <td>Temporadas</td>
                        <td> <%= detalhesAnimes.temporadas %>  </td>
                    </tr>
                    <tr>
                        <td>Total de Episódios</td>
                        <td> <%= detalhesAnimes.episodios %>  </td>
                    </tr>
                    <tr>
                        <td>Lançamento</td>
                        <td> <%= detalhesAnimes.lancamento %>  </td>
                    </tr>
                    <tr>
                        <td>Sinopse</td>
                        <td> <%= detalhesAnimes.sinopse %>  </td>
                    </tr>
                </tbody>
            </table>
        </section>
    </main>
    
    <%- include('./partials/footer.ejs') %> 
</body>
</html>