aboutsummaryrefslogtreecommitdiff
path: root/src/layouts/ThreadLayout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/ThreadLayout.astro')
-rw-r--r--src/layouts/ThreadLayout.astro22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/layouts/ThreadLayout.astro b/src/layouts/ThreadLayout.astro
new file mode 100644
index 0000000..24aba41
--- /dev/null
+++ b/src/layouts/ThreadLayout.astro
@@ -0,0 +1,22 @@
+---
+const { title } = Astro.props as Props;
+---
+
+<html lang="en">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="viewport" content="width=device-width" />
+ <title>{title}</title>
+ </head>
+ <body>
+ <div style="max-width: 70%;">
+ <slot />
+ </div>
+ </body>
+</html>
+
+<style>
+ html {
+ font-family: sans-serif;
+ }
+</style>