'use client'; import { useEffect } from 'react'; import { cn } from '@/lib/utils'; import TemplateHeader from '@/app/demo/landing-page-templates/template/template-header'; import { BrickProvider } from '@/components/bricks/brick-provider'; import { Brick } from '@/components/bricks/brick'; import { useThemeStore } from '@/components/bricks/state/theme-state'; import { useThemeSwitch } from '@/components/shared/useThemeSwitch'; import Logo from './front-centre-logo.svg'; import DarkLogo from './front-centre-logo-dark.svg'; import OneSocialProofBand from '@/app/demo/landing-page-templates/template/front-centre/bricks/1-social-proof-band'; import TwoVideoCta from '@/app/demo/landing-page-templates/template/front-centre/bricks/2-video-cta'; import ThreeBand from '@/app/demo/landing-page-templates/template/front-centre/bricks/3-band'; import FourProductFeature from '@/app/demo/landing-page-templates/template/front-centre/bricks/4-product-feature'; import FiveProductFeature from '@/app/demo/landing-page-templates/template/front-centre/bricks/5-product-feature'; import SixProductFeaturesGrid from '@/app/demo/landing-page-templates/template/front-centre/bricks/6-product-features-grid'; import SevenBand from '@/app/demo/landing-page-templates/template/front-centre/bricks/7-band'; import EightTestimonials from '@/app/demo/landing-page-templates/template/front-centre/bricks/8-testimonials'; import NineSaleCta from '@/app/demo/landing-page-templates/template/front-centre/bricks/9-sale-cta'; import TenFaq from '@/app/demo/landing-page-templates/template/front-centre/bricks/10-faq'; const DEMO_NAME = 'front-centre'; export const FrontCentre = () => { const setThemeByIndex = useThemeStore((state) => state.setThemeByIndex); const setFonts = useThemeStore((state) => state.setFonts); const { setCurrentTheme } = useThemeSwitch(); useEffect(() => { setFonts({ display: { name: 'Roboto', variableFont: false, weights: [400, 700], }, default: { name: 'Roboto Mono', variableFont: true, }, }); setThemeByIndex(26); setCurrentTheme('light'); }, []); return (