import { api } from '@/trpc/server';

export default async function Home() {
  const greeting = await api.example.hello({ name: 'World' });

  return (
    <main className="flex min-h-screen flex-col items-center justify-center p-24">
      <h1 className="text-4xl font-bold mb-4">Crafted SaaS</h1>
      <p className="text-xl">{greeting}</p>
      <p className="text-sm text-gray-500 mt-4">Rapid Level - Web Only</p>
    </main>
  );
}
