diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2023-07-24 20:27:10 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2023-07-24 20:27:10 -0400 |
| commit | 649b1d4328a7ffc31cb5e9d47e2b3ddefcc66f16 (patch) | |
| tree | cec8bf0658a8555c418b3ffeef57332097d84ee5 /src/layouts | |
| parent | a04ae661c547e7e051927e7a169aeb492f50a532 (diff) | |
| download | alure-website-649b1d4328a7ffc31cb5e9d47e2b3ddefcc66f16.tar.gz alure-website-649b1d4328a7ffc31cb5e9d47e2b3ddefcc66f16.tar.bz2 alure-website-649b1d4328a7ffc31cb5e9d47e2b3ddefcc66f16.zip | |
Initial rewrite to astro
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..6aeea4e --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,31 @@ +--- +import Navbar from "../components/Navbar"; +import PSA from "../components/PSA.astro"; + +const { title, description } = Astro.props; +--- + +<!DOCTYPE html> +<html lang="en"> + <head> + <meta charset="UTF-8" /> + <meta name="description" content={description}> + <meta name="viewport" content="width=device-width" /> + <link rel="icon" href="/favicon.ico" /> + <meta name="generator" content={Astro.generator} /> + <title>{title}</title> + </head> + <body> + <div class="sm:px-10 px-5 py-0.5 font-medium space-x-3 text-right"> + <a href="https://aircs.racing" class="transition duration-150 ease-out hover:ease-in md:hover:text-red-500">aircs.racing ↗</a> + <a href="https://alee14.me" class="transition duration-150 ease-out hover:ease-in md:hover:text-green-500">alee14.me ↗</a> + </div> + <PSA/> + <Navbar client:load /> + <slot /> + <footer class="flex flex-col text-center py-3 space-y-2 bg-blue-950 text-light text-sm sm:text-base px-5 sm:px-0"> + <p>Alure Regions is a fictional country made for the bits & Bytes Minecraft Server</p> + <p>This website is proudly written using Astro and Tailwind CSS</p> + </footer> + </body> +</html> |
