summaryrefslogtreecommitdiff
path: root/src/layouts
diff options
context:
space:
mode:
authorYuval Adam <_@yuv.al>2025-09-24 10:44:16 +0200
committerYuval Adam <_@yuv.al>2025-09-24 10:44:16 +0200
commitd68de64bd8a2139e9fe53041411026ab174b02f3 (patch)
treeaf550912e2adedcd9d4ea3b69d4c704bd6828e8d /src/layouts
parentfcdd0f7c28fd52efabc6af38b47d517d750b5acd (diff)
Extract layout
Diffstat (limited to 'src/layouts')
-rw-r--r--src/layouts/Layout.astro28
1 files changed, 28 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro
new file mode 100644
index 0000000..e983a6d
--- /dev/null
+++ b/src/layouts/Layout.astro
@@ -0,0 +1,28 @@
+---
+export interface Props {
+ title?: string;
+ description?: string;
+}
+
+const { title = "geshem.space", description = "geshem.space - Israel Rain Radar" } = Astro.props;
+---
+
+<!DOCTYPE html>
+<html lang="en">
+ <head>
+ <meta charset="utf-8">
+ <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
+ <meta name="apple-mobile-web-app-title" content="Geshem">
+ <meta name="apple-mobile-web-app-capable" content="yes">
+ <meta name="theme-color" content="#000000">
+ <link rel="shortcut icon" href="/favicon.ico">
+ <link rel="apple-touch-icon" href="/apple-touch-icon.png">
+ <link rel="manifest" href="/manifest.json">
+ <title>{title}</title>
+ <meta name="description" content={description}>
+ <script src="https://cdn.usefathom.com/script.js" data-site="MBXPLVRM" defer></script>
+ </head>
+ <body>
+ <slot />
+ </body>
+</html> \ No newline at end of file