From 0a8f9da0096e3b24f89fddf0d2c6f50eadbe521a Mon Sep 17 00:00:00 2001 From: ysandler Date: Sun, 18 May 2025 11:44:46 -0500 Subject: [PATCH] fix: shacn dashboard location --- src/app/(frontend)/dashboard/layout.tsx | 16 ++++++++++++++++ src/app/{ => (frontend)}/dashboard/page.tsx | 14 +++++--------- 2 files changed, 21 insertions(+), 9 deletions(-) create mode 100644 src/app/(frontend)/dashboard/layout.tsx rename src/app/{ => (frontend)}/dashboard/page.tsx (79%) diff --git a/src/app/(frontend)/dashboard/layout.tsx b/src/app/(frontend)/dashboard/layout.tsx new file mode 100644 index 0000000..a14e64f --- /dev/null +++ b/src/app/(frontend)/dashboard/layout.tsx @@ -0,0 +1,16 @@ +export const metadata = { + title: 'Next.js', + description: 'Generated by Next.js', +} + +export default function RootLayout({ + children, +}: { + children: React.ReactNode +}) { + return ( + + {children} + + ) +} diff --git a/src/app/dashboard/page.tsx b/src/app/(frontend)/dashboard/page.tsx similarity index 79% rename from src/app/dashboard/page.tsx rename to src/app/(frontend)/dashboard/page.tsx index e6fe49d..5b2eb80 100644 --- a/src/app/dashboard/page.tsx +++ b/src/app/(frontend)/dashboard/page.tsx @@ -1,17 +1,13 @@ -import { SidebarLeft } from "@/components/sidebar-left" -import { SidebarRight } from "@/components/sidebar-right" +import { SidebarLeft } from '@/components/sidebar-left' +import { SidebarRight } from '@/components/sidebar-right' import { Breadcrumb, BreadcrumbItem, BreadcrumbList, BreadcrumbPage, -} from "@/components/ui/breadcrumb" -import { Separator } from "@/components/ui/separator" -import { - SidebarInset, - SidebarProvider, - SidebarTrigger, -} from "@/components/ui/sidebar" +} from '@/components/ui/breadcrumb' +import { Separator } from '@/components/ui/separator' +import { SidebarInset, SidebarProvider, SidebarTrigger } from '@/components/ui/sidebar' export default function Page() { return (