feat: tRPC API route, client and login page with auth

This commit is contained in:
2026-02-12 15:25:43 -06:00
parent d88baefdf9
commit 32314228c4
4 changed files with 124 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import './globals.css'
import TrpcProvider from '@/components/providers/TrpcProvider'
const inter = Inter({ subsets: ['latin'] })
@@ -20,7 +21,7 @@ export default function RootLayout({
return (
<html lang="es" className="dark">
<body className={`${inter.className} dark`}>
{children}
<TrpcProvider>{children}</TrpcProvider>
</body>
</html>
)