import Head from 'next/head'; import Link from 'next/link'; import ProductCard from '../components/ProductCard'; import SiteLayout from '../components/SiteLayout'; import { buildMediaUrl, fetchProducts } from '../lib/api'; const SAMPLE_PRODUCTS = [ { id: null, slug: 'sprouted-heritage-loaf', name: 'Sprouted Heritage Loaf', short_description: 'Organic, freshly milled grains with a caramelized crust and pillowy crumb.', price: 12, inventory_quantity: 8, max_per_order: 2, allergens: 'Contains: Wheat, Dairy', imageUrl: 'https://images.unsplash.com/photo-1608198093002-ad4e005484ec?auto=format&fit=crop&w=1200&q=80', isSample: true, }, { id: null, slug: 'malted-maple-bagels', name: 'Malted Maple Bagels', short_description: 'Slow-fermented bagels with malted barley glaze and maple butter finish.', price: 18, inventory_quantity: 12, max_per_order: 3, allergens: 'Contains: Wheat', imageUrl: 'https://images.unsplash.com/photo-1589367920476-0be109c12e82?auto=format&fit=crop&w=1200&q=80', isSample: true, }, { id: null, slug: 'moonbeam-cookie-flight', name: 'Moonbeam Cookie Flight', short_description: 'Rotating selection of award-winning cookies in seasonal flavors.', price: 16, inventory_quantity: 15, max_per_order: 4, allergens: 'Contains: Wheat, Eggs, Dairy', imageUrl: 'https://images.unsplash.com/photo-1499636136210-6f4ee915583e?auto=format&fit=crop&w=1200&q=80', isSample: true, }, ]; const FAQS = [ { question: 'Do you offer gluten free or vegan baked goods?', answer: 'At this time, we do not offer any gluten free baked goods. Some items are naturally vegan friendly. If you have any dietary or allergy concerns, please reach out before placing an order.', }, { question: 'Where do you deliver to?', answer: 'We currently deliver to Eau Claire and Altoona, Wisconsin. Need an out-of-area drop-off? Use the secret friend code and I’ll reach out personally to coordinate.', }, { question: 'What whole grains do you use in your fresh milled flour?', answer: 'Our exact proportions are proprietary, but we regularly mill the following grains:\n- Hard Red Wheat Berries (varying varietals)\n- Soft Red Wheat Berries (varying varietals)\n- Buckwheat\n\nAnd we are always experimenting with other grains and blends. NOTE: If you have a dietary or allergy concern, please reach out before placing an order.', }, { question: 'What are sprouted grains, and why should I eat them?', answer: 'Sprouted grains are whole grains that are allowed to just begin sprouting before they are dehydrated and milled. When a grain sprouts, natural enzymes break down starches and proteins, unlocking flavor and nutrition. Sprouted grain flours are often easier to digest, lower on the glycemic index, and richer in vitamins, minerals, and antioxidants than unsprouted flour.', }, { question: "What's a CSB?", answer: 'A Community Supported Bakery share works just like a CSA—pre-purchase 4–8 weeks of weekly boxes and receive breads, bagels, and sweets on a set schedule.', }, ]; function normalizeProducts(products = []) { if (!products.length) { return SAMPLE_PRODUCTS; } return products.map((product) => ({ ...product, imageUrl: buildMediaUrl(product.hero_image) || SAMPLE_PRODUCTS[0].imageUrl, isSample: false, })); } export default function Home({ products }) { const displayProducts = normalizeProducts(products); const featuredProducts = displayProducts.filter((product) => product.is_featured).slice(0, 3); const highlight = featuredProducts.length ? featuredProducts : displayProducts.slice(0, 3); return ( Full Moon Bakehouse · Eau Claire Microbakery

Sprouted grain breads & sweets baked under the Full Moon.

From award-winning cookies to laminated croissants, every bake starts with organic midwest grains sprouted and milled in-house. Reserve your favorites for pickup or delivery in Eau Claire and Altoona.

Browse products View cart & checkout

Fresh from the bakehouse

Small-batch menus rotate weekly. These highlights rotate in and out depending on the season and the grains that inspire us.

See all offerings
{highlight.map((product) => ( ))}

How to order

Pick the flow that fits your schedule right now or join the CSB launch list.

Option 1 · Weekly preorders

Pre-orders open Saturday morning and close Monday afternoon each week. Pickups happen Thursday evening in 15 minute windows (address provided after purchase). Delivery is available within Eau Claire & Altoona on Thursday or Friday afternoon for $5.

Shop this week's menu

Option 2 · CSB boxes

Community Supported Bakery (CSB) shares are coming soon. Each weekly box includes a bread (loaf, pita, focaccia), a pack of bagels or English muffins, and a sweet treat. Pricing operates on a sliding scale—pay a little more if you can to feed more families.

Meet Bonna Moon

Scratch baker, ceramicist, and late-night laminator.

I'm Bonna Moon—part-time baker, part-time artist working in ceramics, wood, and metal. Full Moon Bakehouse is the microbakery I run from my Eau Claire kitchen, built on a decade of dough experiments, award-winning cookies, and a deep love for sprouted grains.

We sprout and mill our grains in-house, source ingredients with care, and craft every bake to be something I'd be proud to feed to my own family. Join the email list for preorder reminders, seasonal menus, and CSB launches.

FAQ

Your top questions about ingredients, deliveries, and the CSB shares.

{FAQS.map((item) => (

{item.question}

{item.answer}

))}
); } export async function getServerSideProps() { try { const products = await fetchProducts(); return { props: { products } }; } catch (error) { console.warn('Home page data fallback', error); return { props: { products: [] } }; } }