From a02a77a8c657822bc39a061a1ccf558920c9e819 Mon Sep 17 00:00:00 2001 From: Matt Davidson Date: Wed, 13 May 2026 16:54:22 -0700 Subject: [PATCH] chore: drop dead Your Profile menu items MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per git history, every "Your Profile" link in this repo has had href: '#' since the dashboard page first appeared in 2021-07-20 (commit f30f116). The placeholder was never wired up and there's no profile view to point at — keeping decorative menu items that don't navigate is misleading on a public demo. Removed from: - components/Layout.tsx userNavigation (header dropdown + mobile) - components/Settings.tsx subNavigation (settings sidebar) UserCircleIcon import dropped along with it. Settings sidebar now has just Admin Settings. If a profile view is added in phase 3 (AuthKit), wire it up fresh with a real route. --- components/Layout.tsx | 1 - components/Settings.tsx | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/components/Layout.tsx b/components/Layout.tsx index 7faa361..9cf6fb1 100644 --- a/components/Layout.tsx +++ b/components/Layout.tsx @@ -27,7 +27,6 @@ const classNames = (...classes: (string | false | null | undefined)[]) => export default function Layout(props: LayoutProps) { const userNavigation = [ { name: 'Admin Settings', href: '/app/settings' }, - { name: 'Your Profile', href: '#' }, { name: 'Logout', href: '/app/login' }, ] diff --git a/components/Settings.tsx b/components/Settings.tsx index 12b7796..bb46de2 100644 --- a/components/Settings.tsx +++ b/components/Settings.tsx @@ -1,4 +1,4 @@ -import { Cog6ToothIcon, UserCircleIcon } from '@heroicons/react/24/outline' +import { Cog6ToothIcon } from '@heroicons/react/24/outline' type Intent = 'sso' | 'dsync' | 'audit_logs' | 'domain_verification' @@ -8,10 +8,7 @@ type SettingsProps = { message: string | null } -const subNavigation = [ - { name: 'Admin Settings', href: '#', icon: Cog6ToothIcon, current: true }, - { name: 'Your Profile', href: '#', icon: UserCircleIcon, current: false }, -] +const subNavigation = [{ name: 'Admin Settings', href: '#', icon: Cog6ToothIcon, current: true }] const classNames = (...classes: (string | false | null | undefined)[]) => classes.filter(Boolean).join(' ')