- Adds /recipe/:id page - (Almost!) fully designed and functional recipe view - Has steps, images, ingredients, peripheral info (work/wait time, rating, description, servings) - New colour scheme! Much more monotone but in a nice way (imo) - New font, not condensed - Several more smaller design changes Co-authored-by: june <self@breadone.net> Co-committed-by: june <self@breadone.net>
21 lines
469 B
Plaintext
21 lines
469 B
Plaintext
---
|
|
import PageLayout from "@/layouts/base"
|
|
import client from "@/data/pocketbase"
|
|
import OverviewCard from "@/components/Card/OverviewCard"
|
|
|
|
const recipies = await client.collection("recipes").getFullList()
|
|
---
|
|
|
|
<PageLayout>
|
|
<!-- <p class="pb-2">What would you like today?</p> -->
|
|
|
|
<div class="grid md:gap-2 gap-3 grid-cols-2 md:grid-cols-2 lg:grid-cols-4 xl:grid-cols-8">
|
|
{
|
|
recipies.map(r => (
|
|
<OverviewCard recipe={r} />
|
|
))
|
|
}
|
|
</div>
|
|
|
|
</PageLayout>
|