summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorTomasBankauskas <tbdizainas@gmail.com>2024-04-03 12:39:42 +0300
committerTomasBankauskas <tbdizainas@gmail.com>2024-04-03 12:39:42 +0300
commitbfbb307ee64f96cf4a75023b500579c833e461ce (patch)
tree4240ca75f2ca86c2dc4c4766985c5f3c7487d86b /src/layouts
initial commit
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Layout.astro22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
new file mode 100644
index 0000000..5c9eaae
--- /dev/null
+++ b/src/layouts/Layout.astro
@@ -0,0 +1,22 @@
+---
+interface Props {
+ title: string;
+}
+
+const { title } = Astro.props;
+---
+
+<!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>
+ <body>
+ <slot />
+ </body>
+</html> \ No newline at end of file