'use client'; import { cn } from '@/lib/utils'; import { useEffect } from 'react'; import { useThemeStore } from '@/components/bricks/state/theme-state'; import { useThemeSwitch } from '@/components/shared/useThemeSwitch'; import Logo from './specta-logo.svg'; import { BrickProvider } from '@/components/bricks/brick-provider'; import { Brick } from '@/components/bricks/brick'; import TemplateHeader from '@/app/demo/landing-page-templates/template/template-header'; import OneVideoCta from '@/app/demo/landing-page-templates/template/specta/bricks/1-video-cta'; import TwoMarquee from '@/app/demo/landing-page-templates/template/specta/bricks/2-marquee'; import ThreeTestimonialInline from '@/app/demo/landing-page-templates/template/specta/bricks/3-testimonial-inline'; import FourProductFeature from '@/app/demo/landing-page-templates/template/specta/bricks/4-product-feature'; import FiveShowcase from '@/app/demo/landing-page-templates/template/specta/bricks/5-showcase'; import SixProductFeature from '@/app/demo/landing-page-templates/template/specta/bricks/6-product-feature'; import SevenShowcaseMarquee from '@/app/demo/landing-page-templates/template/specta/bricks/7-showcase-marquee'; import EightTestimonials from '@/app/demo/landing-page-templates/template/specta/bricks/8-testimonials'; import NineSaleCta from '@/app/demo/landing-page-templates/template/specta/bricks/9-sale-cta'; const DEMO_NAME = 'specta'; export const Specta = () => { const setThemeByIndex = useThemeStore((state) => state.setThemeByIndex); const setFonts = useThemeStore((state) => state.setFonts); const { setCurrentTheme } = useThemeSwitch(); useEffect(() => { setFonts({ default: { name: 'Inter', variableFont: true, }, display: { name: 'Syne', variableFont: true, }, }); setThemeByIndex(18); setCurrentTheme('dark'); }, []); return (