aboutsummaryrefslogtreecommitdiffstats
path: root/src/layouts
diff options
context:
space:
mode:
authorPinapelz <donaldshan1@outlook.com>2023-09-19 15:21:51 -0700
committerPinapelz <donaldshan1@outlook.com>2023-09-19 15:21:51 -0700
commitf2ff1aeb03400c77396c729d887bb284da963378 (patch)
treef6de23c06bd420de3f5d89cd82b9e9723833e0a3 /src/layouts
Initial Commit
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Layout.astro53
1 files changed, 53 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
new file mode 100644
index 0000000..b800e50
--- /dev/null
+++ b/src/layouts/Layout.astro
@@ -0,0 +1,53 @@
+---
+interface Props {
+ title: string;
+}
+
+const { title } = Astro.props;
+import Header from '../components/Header.astro';
+---
+
+<!doctype html>
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="description" content="Astro 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>{title}</title>
+ </head>
+ <Header />
+ <body>
+ <slot />
+ </body>
+</html>
+<style is:global>
+ :root {
+ --accent: 204, 102, 102;
+ --accent-light: 255, 153, 153;
+ --accent-dark: 153, 0, 0;
+ --accent-gradient: linear-gradient(
+ 45deg,
+ rgb(var(--accent)),
+ rgb(var(--accent-light)) 30%,
+ white 60%
+ );
+ }
+ html {
+ font-family: system-ui, sans-serif;
+ background: #13151a;
+ background-size: 224px;
+ }
+ code {
+ font-family:
+ Menlo,
+ Monaco,
+ Lucida Console,
+ Liberation Mono,
+ DejaVu Sans Mono,
+ Bitstream Vera Sans Mono,
+ Courier New,
+ monospace;
+ }
+</style>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage