[PIE-6] Add first (non-final) (temporary-ish) stylings #5
13
src/components/Header.astro
Normal file
13
src/components/Header.astro
Normal file
@ -0,0 +1,13 @@
|
||||
|
||||
<div class="flex w-full items-center bg-yellow-100 p-5">
|
||||
<a class="flex" href="/">
|
||||
<p class=" text-3xl">Reci</p>
|
||||
<p class=" text-3xl text-amber-500">pie</p>
|
||||
🥧
|
||||
</a>
|
||||
|
||||
<div class="flex ml-10 space-x-5">
|
||||
<!-- <span>new</span>
|
||||
<span>sf</span> -->
|
||||
</div>
|
||||
</div>
|
@ -1,5 +1,6 @@
|
||||
---
|
||||
import BaseHead from "../components/BaseHead.astro";
|
||||
import Header from "@/components/Header";
|
||||
---
|
||||
|
||||
<html lang=en>
|
||||
@ -8,6 +9,7 @@ import BaseHead from "../components/BaseHead.astro";
|
||||
</head>
|
||||
<body>
|
||||
<main id="main" class="flex-1">
|
||||
<Header/>
|
||||
<slot />
|
||||
</main>
|
||||
</body>
|
||||
|
@ -6,13 +6,7 @@ import OverviewCard from "@/components/Card/OverviewCard"
|
||||
const recipies = await client.collection("recipes").getFullList()
|
||||
---
|
||||
|
||||
<PageLayout>
|
||||
<div class="flex w-full bg-yellow-100 p-5">
|
||||
<p class=" text-3xl">Reci</p>
|
||||
<p class=" text-3xl text-amber-500">pie</p>
|
||||
🥧
|
||||
</div>
|
||||
|
||||
<PageLayout>
|
||||
<div id="content" class="p-5 pt-2">
|
||||
<!-- <p class="pb-2">What would you like today?</p> -->
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user