diff --git a/resources/js/app.tsx b/resources/js/app.tsx index 03dc7d8..5721e83 100644 --- a/resources/js/app.tsx +++ b/resources/js/app.tsx @@ -8,7 +8,7 @@ import SettingsLayout from '@/layouts/settings/layout'; import { createInertiaApp } from '@inertiajs/react'; import { registerSW } from 'virtual:pwa-register'; -const appName = import.meta.env.VITE_APP_NAME || 'Laravel'; +const appName = import.meta.env.VITE_APP_NAME || 'DST Collection'; registerSW({ onNeedRefresh() { diff --git a/resources/js/components/layout/app-header.tsx b/resources/js/components/layout/app-header.tsx index fed46e5..f4329e0 100644 --- a/resources/js/components/layout/app-header.tsx +++ b/resources/js/components/layout/app-header.tsx @@ -1,5 +1,3 @@ -import { Link, usePage } from '@inertiajs/react'; -import { BookOpen, Folder, LayoutGrid, Menu, Search } from 'lucide-react'; import { AppLogo, AppLogoIcon } from '@/components/brand'; import { Breadcrumbs } from '@/components/layout'; import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui/avatar'; @@ -22,17 +20,14 @@ import { SheetTitle, SheetTrigger, } from '@/components/ui/sheet'; -import { - Tooltip, - TooltipContent, - TooltipTrigger, -} from '@/components/ui/tooltip'; import { UserMenuContent } from '@/components/user'; import { useCurrentUrl } from '@/hooks/use-current-url'; import { useInitials } from '@/hooks/use-initials'; -import { cn, toUrl } from '@/lib/utils'; +import { cn } from '@/lib/utils'; import { dashboard } from '@/routes'; import type { BreadcrumbItem, NavItem } from '@/types'; +import { Link, usePage } from '@inertiajs/react'; +import { LayoutGrid, Menu } from 'lucide-react'; type Props = { breadcrumbs?: BreadcrumbItem[]; @@ -46,19 +41,6 @@ const mainNavItems: NavItem[] = [ }, ]; -const rightNavItems: NavItem[] = [ - { - title: 'Repository', - href: 'https://github.com/laravel/react-starter-kit', - icon: Folder, - }, - { - title: 'Documentation', - href: 'https://laravel.com/docs/starter-kits#react', - icon: BookOpen, - }, -]; - const activeItemStyles = 'text-neutral-900 dark:bg-neutral-800 dark:text-neutral-100'; @@ -110,23 +92,6 @@ export function AppHeader({ breadcrumbs = [] }: Props) { ))} - -
- {rightNavItems.map((item) => ( - - {item.icon && ( - - )} - {item.title} - - ))} -
@@ -176,39 +141,6 @@ export function AppHeader({ breadcrumbs = [] }: Props) {
-
- -
- {rightNavItems.map((item) => ( - - - - - {item.title} - - {item.icon && ( - - )} - - - -

{item.title}

-
-
- ))} -
-