6.5 개인화 위젯(최근 본 글/알림 요약)
This commit is contained in:
@@ -2,6 +2,7 @@ import Image from "next/image";
|
||||
import { QuickActions } from "@/app/components/QuickActions";
|
||||
import { HeroBanner } from "@/app/components/HeroBanner";
|
||||
import { PostList } from "@/app/components/PostList";
|
||||
import { PersonalWidgets } from "@/app/components/PersonalWidgets";
|
||||
|
||||
export default function Home({ searchParams }: { searchParams?: { sort?: "recent" | "popular" } }) {
|
||||
const sort = searchParams?.sort ?? "recent";
|
||||
@@ -10,6 +11,7 @@ export default function Home({ searchParams }: { searchParams?: { sort?: "recent
|
||||
<HeroBanner />
|
||||
<QuickActions />
|
||||
<PostList sort={sort} />
|
||||
<PersonalWidgets />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user