From 90254344d599bc977c0661f7c9681b7509a9076e Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 5 Aug 2023 21:16:45 +0100 Subject: Moves to root folder --- src/layouts/Layout.astro | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 src/layouts/Layout.astro (limited to 'src/layouts') diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..b17de4d --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,32 @@ +--- +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); +--- + + + +
+ + + + + + + +