From 2e5f76953a5a96b507ec2e6b239544723038193c Mon Sep 17 00:00:00 2001 From: ngc2207 Date: Tue, 4 Feb 2025 20:38:47 +0800 Subject: [PATCH] feat(dashboard): simplify layout by removing unnecessary elements and adjusting padding --- src/app/(dashboard)/layout.tsx | 2 +- src/app/(dashboard)/page.tsx | 8 +------- .../workspaces/components/create-workspace-form.tsx | 1 - 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/src/app/(dashboard)/layout.tsx b/src/app/(dashboard)/layout.tsx index aa2fb63..b753d33 100644 --- a/src/app/(dashboard)/layout.tsx +++ b/src/app/(dashboard)/layout.tsx @@ -23,7 +23,7 @@ export default function DashboardLayout({ children }: DashboardLayoutProps) { -
{children}
+
{children}
); diff --git a/src/app/(dashboard)/page.tsx b/src/app/(dashboard)/page.tsx index 3a51953..96f4af0 100644 --- a/src/app/(dashboard)/page.tsx +++ b/src/app/(dashboard)/page.tsx @@ -8,13 +8,7 @@ export default async function DashboardPage() { if (!user) redirect("/sign-in"); return ( -
-
-

Home

-

- Monitor all of your projects and tasks here -

-
+
); diff --git a/src/features/workspaces/components/create-workspace-form.tsx b/src/features/workspaces/components/create-workspace-form.tsx index 5df1112..c08fc90 100644 --- a/src/features/workspaces/components/create-workspace-form.tsx +++ b/src/features/workspaces/components/create-workspace-form.tsx @@ -82,7 +82,6 @@ export const CreateWorkspaceForm = ({ onCancel }: CreateWorkspaceFormProps) => { - ); };