From 79cf13e2cb00a2fa405a9fe5738cdc6232778303 Mon Sep 17 00:00:00 2001 From: wfnuser Date: Fri, 8 Nov 2024 12:43:00 +0700 Subject: [PATCH] feat: add a background to testing --- public/main-background.svg | 21 +++++++++++++++++++++ src/components/layout/shared/BaseLayout.tsx | 16 +++++++++++----- src/pages/dashboard/index.tsx | 2 +- 3 files changed, 33 insertions(+), 6 deletions(-) create mode 100644 public/main-background.svg diff --git a/public/main-background.svg b/public/main-background.svg new file mode 100644 index 0000000..cfe6451 --- /dev/null +++ b/public/main-background.svg @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/layout/shared/BaseLayout.tsx b/src/components/layout/shared/BaseLayout.tsx index a3c9a38..f5629be 100644 --- a/src/components/layout/shared/BaseLayout.tsx +++ b/src/components/layout/shared/BaseLayout.tsx @@ -30,13 +30,19 @@ export default function BaseLayout({ children, mode = 'default' }: IBaseLayout)
-
-
-
{children}
-
- +
+
+ +
+ background
+
+
{children}
+
diff --git a/src/pages/dashboard/index.tsx b/src/pages/dashboard/index.tsx index 5cfde0d..09c3567 100644 --- a/src/pages/dashboard/index.tsx +++ b/src/pages/dashboard/index.tsx @@ -27,7 +27,7 @@ function StatsCard({ title, value, icon }: { title: string; value: number; icon: function ProjectRecommendations({ projects }: { projects: Project[] }) { return ( - +