Compare commits
2 Commits
1cffd0b7e7
...
660430f7e6
Author | SHA1 | Date | |
---|---|---|---|
660430f7e6 | |||
a9d739da39 |
9
src/pages/404.astro
Normal file
9
src/pages/404.astro
Normal file
@ -0,0 +1,9 @@
|
||||
---
|
||||
import Base from "@/layouts/base";
|
||||
---
|
||||
|
||||
<Base>
|
||||
<div class="flex items-center justify-center text-3xl font-bold">
|
||||
🥧 404 🥧
|
||||
</div>
|
||||
</Base>
|
@ -9,7 +9,7 @@ const recipes = await client.getAllRecipes()
|
||||
<PageLayout>
|
||||
<!-- <p class="pb-2">What would you like today?</p> -->
|
||||
|
||||
<div class="grid gap-3 grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-6">
|
||||
<div class="grid gap-3 grid-cols-1 py-3 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-6">
|
||||
{
|
||||
recipes.map(r => (
|
||||
<OverviewCard recipe={r} />
|
||||
|
@ -12,7 +12,7 @@ const recipes = await client.getRecipesOfTag(name) // todo redir to 404 if not f
|
||||
{recipes.length} { recipes.length == 1 ? "Recipe" : "Recipes" } with: <code class="bg-white/10 p-1 text-sm rounded-lg" >{name}</code>
|
||||
</p>
|
||||
|
||||
<div class="grid md:gap-2 gap-3 grid-cols-2 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-8">
|
||||
<div class="grid md:gap-2 gap-3 grid-cols-1 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-8">
|
||||
{
|
||||
recipes.map(r => (
|
||||
<OverviewCard recipe={r} />
|
||||
|
Loading…
x
Reference in New Issue
Block a user