2025-10-08 20:55:43 +09:00
|
|
|
import Image from "next/image";
|
2025-10-09 14:52:52 +09:00
|
|
|
import { QuickActions } from "@/app/components/QuickActions";
|
2025-10-09 15:39:46 +09:00
|
|
|
import { HeroBanner } from "@/app/components/HeroBanner";
|
2025-10-09 16:31:46 +09:00
|
|
|
import { PostList } from "@/app/components/PostList";
|
2025-10-09 16:40:53 +09:00
|
|
|
import { PersonalWidgets } from "@/app/components/PersonalWidgets";
|
2025-10-08 20:55:43 +09:00
|
|
|
|
2025-10-09 16:31:46 +09:00
|
|
|
export default function Home({ searchParams }: { searchParams?: { sort?: "recent" | "popular" } }) {
|
|
|
|
|
const sort = searchParams?.sort ?? "recent";
|
2025-10-08 20:55:43 +09:00
|
|
|
return (
|
2025-10-09 14:52:52 +09:00
|
|
|
<div className="">
|
2025-10-09 15:39:46 +09:00
|
|
|
<HeroBanner />
|
2025-10-09 14:52:52 +09:00
|
|
|
<QuickActions />
|
2025-10-09 16:31:46 +09:00
|
|
|
<PostList sort={sort} />
|
2025-10-09 16:40:53 +09:00
|
|
|
<PersonalWidgets />
|
2025-10-08 20:55:43 +09:00
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|