From 417a382abe4f2431bce4df84e3cb77c3e8030aac Mon Sep 17 00:00:00 2001 From: Lars Hampe Date: Tue, 1 Oct 2024 10:27:33 +0200 Subject: [PATCH] feat(app): add user profile settings --- apps/app/src/components/Layout.tsx | 8 +++++-- apps/app/src/components/Navigation.tsx | 2 +- apps/app/src/routeTree.gen.ts | 30 ++++++++++++++++++++---- apps/app/src/routes/user/index.lazy.tsx | 10 ++++++++ bun.lockb | Bin 399776 -> 399776 bytes 5 files changed, 43 insertions(+), 7 deletions(-) create mode 100644 apps/app/src/routes/user/index.lazy.tsx diff --git a/apps/app/src/components/Layout.tsx b/apps/app/src/components/Layout.tsx index f8e2a5d..7c7a84e 100644 --- a/apps/app/src/components/Layout.tsx +++ b/apps/app/src/components/Layout.tsx @@ -8,6 +8,7 @@ import { DropdownMenuTrigger, } from '@boring.tools/ui' import { SignOutButton, useUser } from '@clerk/clerk-react' +import { Link } from '@tanstack/react-router' import type { ReactNode } from 'react' import { Navigation } from './Navigation' import { NavigationMobile } from './NavigationMobile' @@ -23,7 +24,7 @@ export const Layout = ({ children }: { children: ReactNode | ReactNode[] }) => {
- {/*
*/} +
- My Account + Settings + + Profile + diff --git a/apps/app/src/components/Navigation.tsx b/apps/app/src/components/Navigation.tsx index e2d4dbb..f778028 100644 --- a/apps/app/src/components/Navigation.tsx +++ b/apps/app/src/components/Navigation.tsx @@ -25,7 +25,7 @@ export const Navigation = () => {