Skip to content

Commit 2b6ce16

Browse files
Nav bar (#36)
* Create navbar.tsx * Update navbar.tsx * Update layout.tsx * Add user authentication state to navbar and homepage Introduced user authentication state handling in the navigation bar and homepage. The Navigation component now accepts isSignedIn and User props to display user-specific options and avatar. Added mock user data and updated the homepage to use the new Navigation component. Added user and profile images to the public directory. * delete some info * replacing with the shadcn components * walked back the theme, eliminate excessive color and restyle * Update navbar.tsx * remove unnecessary thing --------- Co-authored-by: Joshua Silva <72359611+joshuasilva414@users.noreply.github.com>
1 parent 318b13c commit 2b6ce16

File tree

11 files changed

+1000
-147
lines changed

11 files changed

+1000
-147
lines changed

components.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"tailwind": {
77
"config": "",
88
"css": "src/app/globals.css",
9-
"baseColor": "neutral",
9+
"baseColor": "zinc",
1010
"cssVariables": true,
1111
"prefix": ""
1212
},

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,16 @@
1919
],
2020
"dependencies": {
2121
"@libsql/client": "^0.15.15",
22+
"@radix-ui/react-avatar": "^1.1.10",
23+
"@radix-ui/react-dropdown-menu": "^2.1.16",
2224
"@radix-ui/react-navigation-menu": "^1.2.14",
2325
"@radix-ui/react-progress": "^1.1.7",
2426
"@radix-ui/react-slot": "^1.2.3",
2527
"better-auth": "^1.3.26",
2628
"class-variance-authority": "^0.7.1",
2729
"clsx": "^2.1.1",
2830
"drizzle-orm": "^0.44.6",
29-
"lucide-react": "^0.548.0",
31+
"lucide-react": "^0.552.0",
3032
"next": "15.5.4",
3133
"next-safe-action": "8.0.11",
3234
"react": "19.1.0",

0 commit comments

Comments
 (0)