add initial content
This commit is contained in:
parent
78191f44bc
commit
672fdc2201
59 changed files with 4016 additions and 19 deletions
35
src/layouts/Page.astro
Normal file
35
src/layouts/Page.astro
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
import "../styles/global.css";
|
||||
import type { MarkdownLayoutProps } from 'astro';
|
||||
import { Font } from "astro:assets";
|
||||
|
||||
type Props = MarkdownLayoutProps<{
|
||||
title: string;
|
||||
}>;
|
||||
|
||||
const { frontmatter } = 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" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{ frontmatter.title }</title>
|
||||
<Font cssVariable="--font-archivo" preload />
|
||||
<Font cssVariable="--font-nimbus-sans-l" preload />
|
||||
</head>
|
||||
<body>
|
||||
<main>
|
||||
<slot/>
|
||||
</main>
|
||||
<footer>
|
||||
<nav>
|
||||
<li><a href="/legal">Impressum & Rechtliches</a></li>
|
||||
</nav>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue