summaryrefslogtreecommitdiff
path: root/src/layouts/Layout.astro
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/Layout.astro')
-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