began rewrite

This commit is contained in:
2024-01-29 21:49:35 +01:00
parent 5fc0d4ac9f
commit de681d6326
18 changed files with 2476 additions and 1844 deletions

View File

@@ -1,19 +0,0 @@
---
let { title } = Astro.props;
import "../styles/global.scss"
---
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.png" />
<meta name="viewport" content="width=device-width" />
<meta name="generator" content={Astro.generator} />
<title>{title}</title>
</head>
<body>
<div class="page">
<slot />
</div>
</body>
</html>

27
src/layouts/Layout.astro Normal file
View File

@@ -0,0 +1,27 @@
---
interface Props {
title: string;
description: string;
}
const { title } = Astro.props;
const { description } = Astro.props;
import "../styles/main.scss";
---
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="description" content={description} />
<meta name="viewport" content="width=device-width" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="generator" content={Astro.generator} />
<title>vaporvee's Website | {title}</title>
</head>
<body>
<div class="content">
<slot />
</div>
</body>
</html>