feat: support dynamic hero section

Signed-off-by: Chloe <pinkcloudvnn@gmail.com>
This commit is contained in:
Chloe
2024-05-28 19:50:10 +07:00
parent d166a2a877
commit e2ba024761
3 changed files with 57 additions and 40 deletions

View File

@@ -22,7 +22,9 @@ export async function generateMetadata(): Promise<Metadata> {
export default async function HomePage() {
return (
<>
<Hero />
<Suspense>
<Hero />
</Suspense>
<div className="my-3 min-h-96">
<Suspense>
<HomePageContent />