import { StrictMode, lazy, Suspense } from 'react' import { createRoot } from 'react-dom/client' import { BrowserRouter, Routes, Route } from 'react-router-dom' import './index.css' import App from './App.tsx' import ThinkbeatApp from './ThinkbeatApp.tsx'; import { VcardProvider } from './context/VcardContext'; import { AuthProvider } from './context/AuthContext'; import Layout from './intro/components/Layout/Layout'; import { HomeSkeleton, AboutSkeleton, ContactSkeleton, FeaturesSkeleton, SampleSkeleton, FAQSkeleton, SearchSkeleton, RegisterSkeleton, } from './intro/components/ui/skeletons'; const Home = lazy(() => import('./intro/pages/Home')); const About = lazy(() => import('./intro/pages/About')); const Contact = lazy(() => import('./intro/pages/Contact')); const RegisterBusiness = lazy(() => import('./intro/pages/RegisterBusiness')); const SearchResults = lazy(() => import('./intro/pages/SearchResults')); const Features = lazy(() => import('./intro/pages/Features')); const Sample = lazy(() => import('./intro/pages/Sample')); const FAQ = lazy(() => import('./intro/pages/FAQ')); createRoot(document.getElementById('root')!).render( {/* Intro Routes */} }> }>} /> }>} /> }>} /> }>} /> }>} /> }>} /> }>} /> }>} /> {/* Thinkbeat dedicated template */} } /> {/* Default template for all other slugs */} } /> {/* Home Route fallback when there's no slug - removing this since Intro handles / now, but keeping just in case */} } /> , )