import { About } from './sections/about'; import { Contact } from './sections/contact'; import { Faq } from './sections/faq'; import { FeaturedProduct } from './sections/featured-product'; import { Footer } from './sections/footer'; import { Header } from './sections/header'; import { Hero } from './sections/hero'; import { Newsletter } from './sections/newsletter'; import { ProductGrid } from './sections/product-grid'; import { Testimonials } from './sections/testimonials'; import { themeStyle } from './theme'; import type { FontMap, PlanSection, StorePlan } from './types'; /** * Draw one section. To add a new section type: add it to PlanSchema.php and * types.ts, write its component, and add one line here. */ function Section({ section }: { section: PlanSection }) { switch (section.type) { case 'header': return
; case 'hero': return ; case 'product_grid': return ; case 'featured_product': return ; case 'about': return ; case 'testimonials': return ; case 'faq': return ; case 'newsletter': return ; case 'contact': return ; case 'footer': return