add next app

This commit is contained in:
2026-02-18 03:22:17 +03:00
parent d16b38e6e1
commit e62e7bf3a8
26 changed files with 4752 additions and 0 deletions

View File

@@ -0,0 +1,17 @@
import { UserWishlists } from "@/app/(home)/UserWishlists";
import { cookies } from "next/headers";
import { redirect } from "next/navigation";
export default async function Home() {
const c = await cookies();
if (!c.has("token")) {
throw redirect("/login");
}
return (
<div>
<UserWishlists />
</div>
);
}