Style and Chapa Sigmóide

This commit is contained in:
Mateus Cezário Barreto 2025-11-13 23:28:04 -03:00
commit 718f412829
10 changed files with 611 additions and 90 deletions

33
views/chapa_sigmoide.erb Normal file
View file

@ -0,0 +1,33 @@
<html>
<head>
<title>Chapa Sigmóide</title>
<meta name="viewport" content="width=device-width,initial-scale=1">
<link rel="stylesheet" type="text/css" href="/css/chapa_sigmoide.css">
</head>
<body>
<header>
<nav>
<a href="/readme.md">Início</a>
<a href="/chapa-sigmoide/readme.md">Chapa Sigmóide</a>
</nav>
</header>
<main>
<%= yield %>
</main>
</body>
<script>
const title = document.querySelector('title');
const h1 = document.querySelector('h1');
title.textContent = h1.textContent;
title.textContent = document.querySelector('header').append(h1);
</script>
</html>