diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-07 18:18:22 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-07 18:19:06 +0100 |
| commit | 2fcbccfbd49c6eaf433272749e32589a6f490200 (patch) | |
| tree | f8fc429709d66ce96d1f0e8c3812f24c13bf9d18 /frontend/src/layouts | |
| parent | d494739e4823424bb54d81e21b57e4725544eb07 (diff) | |
| parent | 27a25bfdeb07007e06bd4a608cd9953be04271ec (diff) | |
Merge branch 'master' of https://github.com/jcarstairs-scottlogic/lallans-wabsteid-astro
Diffstat (limited to 'frontend/src/layouts')
| -rw-r--r-- | frontend/src/layouts/Layout.astro | 32 |
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> |
