Style and Chapa Sigmóide
This commit is contained in:
parent
aae7f43d64
commit
718f412829
10 changed files with 611 additions and 90 deletions
33
views/chapa_sigmoide.erb
Normal file
33
views/chapa_sigmoide.erb
Normal 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>
|
||||
Loading…
Add table
Add a link
Reference in a new issue