diff options
| author | Tomas Bankauskas <tbdizainas@gmail.com> | 2024-04-09 12:40:31 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-09 12:40:31 +0300 |
| commit | 3bebbf00e6f4d33bfacbf38eef73a9ad7f0d9d58 (patch) | |
| tree | 2fc74dae2e0d554325ec634891f5726d063e7529 /src/layouts | |
| parent | 4df0e4a754ea5e1fb0d05a4e08a53cd49e9fce16 (diff) | |
Added Image CDN page (#4)
* added image-cdn
* updated image-cdn page, colors, etc
* added Markdown.astro and updated styles
Diffstat (limited to 'src/layouts')
| -rw-r--r-- | src/layouts/Layout.astro | 40 |
1 files changed, 20 insertions, 20 deletions
diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 4ecbd8b..1d5bea1 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,10 +1,10 @@ --- import '../../src/styles/globals.css'; -import Header from "../components/Header.astro"; -import Footer from "../components/Footer.astro"; +import Header from '../components/Header.astro'; +import Footer from '../components/Footer.astro'; interface Props { - title: string; + title: string; } const { title } = Astro.props; @@ -12,20 +12,20 @@ const { title } = Astro.props; <!doctype html> <html lang="en"> - <head> - <meta charset="UTF-8" /> - <title>{title}</title> - <meta name="viewport" content="width=device-width" /> - <meta name="generator" content={Astro.generator} /> - <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> - </head> - <body class="antialiased text-white bg-blue-900"> - <div class="flex flex-col min-h-screen px-6 bg-grid-pattern sm:px-12"> - <div class="flex flex-col w-full max-w-5xl mx-auto grow"> - <Header /> - <div class="grow"><slot /></div> - <Footer /> - </div> - </div> - </body> -</html>
\ No newline at end of file + <head> + <meta charset="UTF-8" /> + <title>{title}</title> + <meta name="viewport" content="width=device-width" /> + <meta name="generator" content={Astro.generator} /> + <link rel="icon" type="image/svg+xml" href="/favicon.svg" /> + </head> + <body class="antialiased text-white bg-teal-600"> + <div class="flex flex-col min-h-screen px-6 bg-grid-pattern sm:px-12"> + <div class="flex flex-col w-full max-w-5xl mx-auto grow"> + <Header /> + <main class="grow"><slot /></main> + <Footer /> + </div> + </div> + </body> +</html> |
