Files
aerocity/src/layouts/Layout.astro
2026-07-01 14:31:17 +02:00

60 lines
1.3 KiB
Plaintext

---
import "../style/all.scss"
import NavBar from "../bricks/NavBar.astro"
const { title } = Astro.props
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
<link rel="icon" href="/favicon.ico"/>
<meta name="viewport" content="width=device-width"/>
<title>{ title }</title>
</head>
<body>
<div class="banner">
#GUIGUI
</div>
<div class="cont">
<NavBar className="bar"/>
<div class="bod">
<h1>{ title }</h1>
<slot/>
</div>
</div>
</body>
</html>
<style lang="scss">
body {
min-height: 100vh;
height: 100%;
width: 100%;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
.banner {
z-index: -1;
font-family: var(--font-head);
font-size: 6rem;
font-weight: 100;
color: var(--gem);
}
.cont {
width: 100%;
display: flex;
flex-direction: row;
max-width: 56rem;
}
.bar {
max-width: 6rem;
}
.bod {
width: 100%;
padding-left: 1rem;
}
}
</style>