feat(web): Initial web branch

This commit is contained in:
Linnea Gräf
2024-11-17 00:58:02 +01:00
parent 92034c8501
commit d268521054
13 changed files with 4056 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
---
import Head, {type Props as HeadProps} from "./Head.astro";
type Props = {} & HeadProps;
---
<html>
<Head {...Astro.props}></Head>
<body>
</body>
</html>

View File

@@ -0,0 +1,12 @@
---
export type Props = {
title: string
}
---
<head lang="en">
<meta charset="utf-8"/>
<link rel="icon" type="image/svg+xml" href="/favicon.svg"/>
<meta name="viewport" content="width=device-width"/>
<meta name="generator" content={Astro.generator}/>
<title>{Astro.props.title}</title>
</head>

View File

1
web/src/env.d.ts vendored Normal file
View File

@@ -0,0 +1 @@
/// <reference path="../.astro/types.d.ts" />

10
web/src/pages/index.astro Normal file
View File

@@ -0,0 +1,10 @@
---
import Head from "../components/Head.astro";
---
<html lang="en">
<Head title="Firmament"></Head>
<body>
<h1>Astro</h1>
</body>
</html>