File tree Expand file tree Collapse file tree 3 files changed +21
-13
lines changed
Expand file tree Collapse file tree 3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change @@ -28,8 +28,10 @@ function Layout() {
2828 < header className = "sticky top-0 z-10 flex h-16 shrink-0 items-center gap-2 border-b px-4" >
2929 < SidebarTrigger className = "-ml-1 text-muted-foreground" />
3030 </ header >
31- < main className = "flex-1 p-4" >
32- < Outlet />
31+ < main className = "flex-1 p-6 md:p-8" >
32+ < div className = "mx-auto max-w-7xl" >
33+ < Outlet />
34+ </ div >
3335 </ main >
3436 < Footer />
3537 </ SidebarInset >
Original file line number Diff line number Diff line change 1- import { Box , Container , Text } from "@chakra-ui/react"
21import { createFileRoute } from "@tanstack/react-router"
32
43import useAuth from "@/hooks/useAuth"
@@ -11,13 +10,15 @@ function Dashboard() {
1110 const { user : currentUser } = useAuth ( )
1211
1312 return (
14- < Container maxW = "full" >
15- < Box pt = { 12 } m = { 4 } >
16- < Text fontSize = "2xl" truncate maxW = "sm" >
17- Hi, { currentUser ?. full_name || currentUser ?. email } 👋🏼
18- </ Text >
19- < Text > Welcome back, nice to see you again!</ Text >
20- </ Box >
21- </ Container >
13+ < div >
14+ < div >
15+ < h1 className = "text-2xl truncate max-w-sm" >
16+ Hi, { currentUser ?. full_name || currentUser ?. email } 👋
17+ </ h1 >
18+ < p className = "text-muted-foreground" >
19+ Welcome back, nice to see you again!
20+ </ p >
21+ </ div >
22+ </ div >
2223 )
2324}
Original file line number Diff line number Diff line change @@ -27,8 +27,13 @@ function UserSettings() {
2727 }
2828
2929 return (
30- < div >
31- < h1 className = "text-2xl font-bold" > User Settings</ h1 >
30+ < div className = "flex flex-col gap-6" >
31+ < div >
32+ < h1 className = "text-2xl font-bold tracking-tight" > User Settings</ h1 >
33+ < p className = "text-muted-foreground" >
34+ Manage your account settings and preferences
35+ </ p >
36+ </ div >
3237
3338 < Tabs defaultValue = "my-profile" >
3439 < TabsList >
You can’t perform that action at this time.
0 commit comments