summaryrefslogtreecommitdiff
path: root/frontend/src/layouts
diff options
context:
space:
mode:
authorJoe Carstairs <jcarstairs@scottlogic.com>2023-08-01 20:21:11 +0100
committerJoe Carstairs <jcarstairs@scottlogic.com>2023-08-02 18:57:52 +0100
commit227eac690914886c5dd6d9a8bd627534c86b4a5d (patch)
tree36927e42c47b8e1c7c0135bf358e954b0bd8e41a /frontend/src/layouts
parent6bd4846b71944add485433703d85982b2396d9ad (diff)
Initial commit
Diffstat (limited to 'frontend/src/layouts')
-rw-r--r--frontend/src/layouts/Layout.astro27
1 files changed, 27 insertions, 0 deletions
diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro
new file mode 100644
index 0000000..047538c
--- /dev/null
+++ b/frontend/src/layouts/Layout.astro
@@ -0,0 +1,27 @@
+---
+import Footer from '../components/Footer.astro';
+
+interface Props {
+ title: string;
+}
+
+const { title } = Astro.props;
+---
+
+<!DOCTYPE html>
+<html lang="sco">
+ <head>
+ <meta charset="UTF-8" />
+ <meta name="description" content="The wabsteid o the Scots Leid Associe">
+ <meta name="viewport" content="width=device-width" />
+ <link rel="icon" href="/favicon.ico" />
+ <link rel="stylesheet" href="/public/normalize.css" />
+ <link rel="stylesheet" href="/public/main.css" />
+ <meta name="generator" content={Astro.generator} />
+ <title>{title} | Scots Leid Associe</title>
+ </head>
+ <body>
+ <slot />
+ <Footer />
+ </body>
+</html> \ No newline at end of file