import { RiArrowRightLine as ArrowRight, RiHeart3Line as BookHeart } from "@remixicon/react"; import type { Metadata } from "next"; import Link from "next/link"; import { ViewTransition } from "react"; import { ApplianceIcon } from "@/app/components/Icons"; import { SiteHeader } from "@/app/components/SiteHeader"; import { APPLIANCES } from "@/app/lib/plan"; import { RECIPES } from "@/app/lib/recipes"; import type { Recipe } from "@/app/types"; export const metadata: Metadata = { title: "Cayden's Corner", description: "Homemade family recipes: tried, tested and loved.", }; const FAMILY = RECIPES.filter((r) => r.styles.includes("caydens_corner")); const SECTIONS: { title: string; recipes: Recipe[] }[] = [ { title: "Appetizers & Side Dishes", recipes: FAMILY.filter((r) => r.kind === "side") }, { title: "Main Dishes", recipes: FAMILY.filter((r) => r.kind === "main" || r.kind === "breakfast") }, { title: "Desserts & Bakes", recipes: FAMILY.filter((r) => r.kind === "dessert") }, ].map((s) => ({ ...s, recipes: [...s.recipes].sort((a, b) => a.title.localeCompare(b.title)) })); export default function CaydensCornerPage() { return (

Cayden's Corner · Heirloom Cookbook

Family Recipes

{FAMILY.length} homemade family favorites—passed down, tested at the dinner table, and loved. Comfort classics, holiday staples, and plenty of scratch-baked desserts.

Written originally for a table of four with leftovers; the planner scales every ingredient automatically to your household.

Plan a family-recipe week
{SECTIONS.map((section) => (

{section.title}

{section.recipes.length} recipes
    {section.recipes.map((r) => { const applianceNames = r.requiredAppliances.map((a) => APPLIANCES.find((x) => x.id === a)?.label).join(", ") || "No cooking"; return (
  • {r.title} {r.description} {r.prepTime >= 120 ? `${Math.round(r.prepTime / 60)} hr` : `${r.prepTime} min`} · serves {r.servings} {r.requiredAppliances.length > 0 ? ( <> {r.requiredAppliances.map((a) => ( ))} Requires {applianceNames} ) : ( No cooking )}
  • ); })}
))}
); }