import Link from "next/link"; import { LatestPost } from "~/app/_components/post"; import { auth } from "~/server/auth"; import { api, HydrateClient } from "~/trpc/server"; export default async function Home() { const hello = await api.post.hello({ text: "from tRPC" }); const session = await auth(); if (session?.user) { void api.post.getLatest.prefetch(); } return (

数字游民 nomadro

游民导航 →

  • 出海赚美金

低成本工作室 →

  • 自建云手机
  • 搭建sass网站
  • PVE虚拟化自建云桌面
  • AIGC+RPA自动化
{/*

{hello ? hello.greeting : "Loading tRPC query..."}

{session && Logged in as {session.user?.name}}

{session ? "Sign out" : "Sign in"}
*/} {/* {session?.user && } */}
); }