feat: initial commit
This commit is contained in:
commit
16dba10451
20 changed files with 3924 additions and 0 deletions
27
src/layouts/BaseLayout.astro
Normal file
27
src/layouts/BaseLayout.astro
Normal file
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
import { ClientRouter } from "astro:transitions";
|
||||
|
||||
import '@fontsource/jetbrains-mono';
|
||||
|
||||
import Header from '../components/Header.astro';
|
||||
import '../styles/global.css';
|
||||
|
||||
const { pageTitle, pageCustomTitle = pageTitle } = Astro.props;
|
||||
---
|
||||
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||
<meta name="viewport" content="width=device-width" />
|
||||
<meta name="generator" content={Astro.generator} />
|
||||
<title>{pageCustomTitle} | ruds</title>
|
||||
|
||||
<ClientRouter />
|
||||
</head>
|
||||
<body>
|
||||
<Header />
|
||||
<h2>{pageTitle}</h2>
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue