chore: adjust website structure

This commit is contained in:
Simon
2026-03-05 16:21:58 +08:00
parent 6b2ab73d65
commit ff31b0c03e
3 changed files with 7 additions and 7 deletions

View File

@@ -0,0 +1,27 @@
import { Suspense, lazy } from 'react'
import HeroSection from './HeroSection'
const FeaturesSection = lazy(() => import('./FeaturesSection'))
const ScenariosSection = lazy(() => import('./ScenariosSection'))
const OneMoreThingSection = lazy(() => import('./OneMoreThingSection'))
export default function HomePage() {
return (
<>
<HeroSection />
<Suspense
fallback={
<div className="flex items-center justify-center gap-3 py-20 text-gray-400">
<div className="w-4 h-4 border-2 border-blue-500 border-t-transparent rounded-full animate-spin" />
Loading...
</div>
}
>
<FeaturesSection />
<ScenariosSection />
<OneMoreThingSection />
</Suspense>
</>
)
}