Initial commit

This commit is contained in:
2025-08-25 12:00:06 +08:00
commit fa14798e26
90 changed files with 20722 additions and 0 deletions

19
apps/next/app/layout.tsx Normal file
View File

@@ -0,0 +1,19 @@
import type { Metadata } from 'next'
import { NextTamaguiProvider } from 'app/provider/NextTamaguiProvider'
export const metadata: Metadata = {
title: 'Tamagui • App Router',
description: 'Tamagui, Solito, Expo & Next.js',
icons: '/favicon.ico',
}
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
// You can use `suppressHydrationWarning` to avoid the warning about mismatched content during hydration in dev mode
<html lang="en" suppressHydrationWarning>
<body>
<NextTamaguiProvider>{children}</NextTamaguiProvider>
</body>
</html>
)
}

5
apps/next/app/page.tsx Normal file
View File

@@ -0,0 +1,5 @@
'use client'
import { HomeScreen } from 'app/features/home/screen'
export default HomeScreen

View File

@@ -0,0 +1,9 @@
'use client'
import { UserDetailScreen } from 'app/features/user/detail-screen'
import { useParams } from 'solito/navigation'
export default function Page() {
const { id } = useParams()
return <UserDetailScreen id={id as string} />
}