import Link from "next/link"; import { api, getMe, unwrap } from "@/lib/api"; import { buttonVariants } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; export default async function Home() { const [me, home] = await Promise.all([getMe(), api.home.get().then(unwrap)]); const links = "links" in home ? home.links : undefined; return (

T5DE Hub

One account for all your IMVU avatars.

Link your IMVU accounts, see who's online in T5DE, and soon, community products.

{!me && (
Create account Sign in
)}
Online in T5DE {home.onlineCount} people showing that they're online.{" "} See who {links !== undefined ? ( Your IMVU accounts {links} linked.{" "} Manage ) : ( One account, all your avatars Link any of your IMVU accounts by putting a code in its tagline. Your accounts stay private: nobody else can see they're yours. )}
); }