summaryrefslogtreecommitdiff
path: root/frontend/src/layouts/Layout.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-05 21:16:45 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-05 21:37:58 +0100
commit3098c31049e17dfdcdf451e843f6c4bdcf5b2fa1 (patch)
treeb3590c527d147db6ef5519d43e8a1976f9674f42 /frontend/src/layouts/Layout.astro
parent97147d56d93c7949fdccf22abe569b1b9d7a22ab (diff)
Moves to root folder
Diffstat (limited to 'frontend/src/layouts/Layout.astro')
-rw-r--r--frontend/src/layouts/Layout.astro32
1 files changed, 0 insertions, 32 deletions
diff --git a/frontend/src/layouts/Layout.astro b/frontend/src/layouts/Layout.astro
deleted file mode 100644
index b17de4d..0000000
--- a/frontend/src/layouts/Layout.astro
+++ /dev/null
@@ -1,32 +0,0 @@
----
-import Footer from '../components/Footer.astro';
-import translate from '../i18n/translate';
-import site from '../i18n/translations/site';
-import type Locale from '../types/Locale';
-
-interface Props {
- locale: Locale;
- title: string;
-}
-
-const { locale, title } = Astro.props;
-const t = translate(locale);
----
-
-<!DOCTYPE html>
-<html lang="sco">
- <head>
- <meta charset="UTF-8" />
- <meta name="description" content={ t(site, 'description') } />
- <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 } | { t(site, 'title') }</title>
- </head>
- <body>
- <slot />
- <Footer />
- </body>
-</html>