mirror of
https://github.com/kogakure/website-astro-stefanimhoff.de.git
synced 2026-02-03 20:15:27 +00:00
feat(tailwind): add styling for header, footer and content area
This commit is contained in:
@@ -29,7 +29,7 @@ const { title } = Astro.props;
|
||||
<link rel="icon" href="/favicon.ico" sizes="any" />
|
||||
<link rel="icon" href="/assets/images/branding/favicons/favicon.svg" type="image/svg+xml" />
|
||||
<link rel="apple-touch-icon" href="/assets/images/branding/favicons/apple-touch-icon.png" />
|
||||
<link rel="manifest" href="/manifest.webmanifest" />
|
||||
<!-- <link rel="manifest" href="/manifest.webmanifest" /> -->
|
||||
|
||||
<link
|
||||
rel="preload"
|
||||
@@ -47,6 +47,12 @@ const { title } = Astro.props;
|
||||
/>
|
||||
</head>
|
||||
<body class="flex h-screen flex-col font-sans font-normal leading-relaxed">
|
||||
<slot />
|
||||
<header class="grid grid-cols-18 grid-rows-layout mbe-layout print:hidden" role="banner">
|
||||
Header
|
||||
</header>
|
||||
<main class="flex grow">
|
||||
<slot />
|
||||
</main>
|
||||
<footer class="grid grid-cols-18 grid-rows-layout mbs-layout print:hidden">Footer</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -2,13 +2,4 @@
|
||||
import Layout from '../layouts/Layout.astro';
|
||||
---
|
||||
|
||||
<Layout title="Welcome to Astro.">
|
||||
<main>
|
||||
<h1>Hello, world!</h1>
|
||||
<p>
|
||||
Lorem ipsum dolor sit, amet consectetur adipisicing elit. Accusantium optio magni
|
||||
asperiores fugiat, necessitatibus voluptatem sit quaerat pariatur natus, tempora
|
||||
voluptatibus vero eveniet repudiandae, expedita libero. Cum cupiditate at placeat.
|
||||
</p>
|
||||
</main>
|
||||
</Layout>
|
||||
<Layout title="Homepage">Homepage</Layout>
|
||||
|
||||
Reference in New Issue
Block a user