mirror of
https://github.com/liyunze-coding/coworking-website.git
synced 2026-11-06 13:13:34 +00:00
87 lines
1.8 KiB
Text
87 lines
1.8 KiB
Text
---
|
|
import NavBar from "../components/navBar.astro";
|
|
|
|
export interface Props {
|
|
title: string;
|
|
}
|
|
|
|
const { title } = Astro.props;
|
|
---
|
|
|
|
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta
|
|
name="description"
|
|
content="Get started with Coworking streams!"
|
|
/>
|
|
<meta name="keywords" content="coworking, study, streams" />
|
|
<meta name="author" content="RyanPython" />
|
|
<meta name="viewport" content="width=device-width" />
|
|
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
|
|
<link rel="preconnect" href="https://fonts.googleapis.com" />
|
|
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<link
|
|
href="https://fonts.googleapis.com/css2?family=Fredoka:wght@300;500;700&display=swap"
|
|
rel="stylesheet"
|
|
/>
|
|
<script defer src="/_vercel/insights/script.js"></script>
|
|
<meta name="generator" content={Astro.generator} />
|
|
<title>{title}</title>
|
|
</head>
|
|
<body>
|
|
<NavBar />
|
|
<slot />
|
|
</body>
|
|
</html>
|
|
|
|
<style is:global>
|
|
* {
|
|
box-sizing: border-box;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
html {
|
|
font-family: "Montserrat", system-ui, sans-serif;
|
|
background-color: #29233f;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
min-height: 100%;
|
|
}
|
|
|
|
body {
|
|
height: 100vh;
|
|
font-family: "Montserrat", system-ui, sans-serif;
|
|
}
|
|
|
|
code {
|
|
font-family: Menlo, Monaco, Lucida Console, Liberation Mono,
|
|
DejaVu Sans Mono, Bitstream Vera Sans Mono, Courier New,
|
|
monospace;
|
|
}
|
|
|
|
nav {
|
|
font-family: "Montserrat", system-ui, sans-serif;
|
|
font-weight: 500;
|
|
}
|
|
|
|
nav ul a {
|
|
text-decoration: none;
|
|
}
|
|
|
|
a.preview {
|
|
text-decoration: none;
|
|
}
|
|
</style>
|