From cbb799f87986cbcadcb90277d2ce8edc09dcd86d Mon Sep 17 00:00:00 2001 From: Thastertyn Date: Tue, 18 Mar 2025 22:26:36 +0100 Subject: [PATCH] Minor tweaks to design --- frontend/src/pages/dashboard/index.tsx | 31 +------------------ .../pages/shop/components/shop-about-form.tsx | 6 +++- frontend/src/pages/shop/index.tsx | 10 +----- 3 files changed, 7 insertions(+), 40 deletions(-) diff --git a/frontend/src/pages/dashboard/index.tsx b/frontend/src/pages/dashboard/index.tsx index 5965d7a..a07c695 100644 --- a/frontend/src/pages/dashboard/index.tsx +++ b/frontend/src/pages/dashboard/index.tsx @@ -8,7 +8,6 @@ import { import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { Header } from "@/components/layout/header"; import { Main } from "@/components/layout/main"; -import { TopNav } from "@/components/layout/top-nav"; import { ProfileDropdown } from "@/components/profile-dropdown"; import { Search } from "@/components/search"; import { ThemeSwitch } from "@/components/theme-switch"; @@ -22,7 +21,6 @@ export default function Dashboard() {
-
@@ -177,31 +175,4 @@ export default function Dashboard() { ); -} - -const topNav = [ - { - title: "Overview", - href: "dashboard/overview", - isActive: true, - disabled: false - }, - { - title: "Customers", - href: "dashboard/customers", - isActive: false, - disabled: true - }, - { - title: "Products", - href: "dashboard/products", - isActive: false, - disabled: true - }, - { - title: "Settings", - href: "dashboard/settings", - isActive: false, - disabled: true - } -]; +} \ No newline at end of file diff --git a/frontend/src/pages/shop/components/shop-about-form.tsx b/frontend/src/pages/shop/components/shop-about-form.tsx index eb5ccdf..42d2564 100644 --- a/frontend/src/pages/shop/components/shop-about-form.tsx +++ b/frontend/src/pages/shop/components/shop-about-form.tsx @@ -121,7 +121,9 @@ export function ShopAboutForm() { Contact Information - + +
+ )} /> +
+
diff --git a/frontend/src/pages/shop/index.tsx b/frontend/src/pages/shop/index.tsx index 6744def..79a9bfb 100644 --- a/frontend/src/pages/shop/index.tsx +++ b/frontend/src/pages/shop/index.tsx @@ -1,13 +1,5 @@ -import { - Card, - CardContent, - CardDescription, - CardHeader, - CardTitle -} from "@/components/ui/card"; import { Header } from "@/components/layout/header"; import { Main } from "@/components/layout/main"; -import { TopNav } from "@/components/layout/top-nav"; import { ProfileDropdown } from "@/components/profile-dropdown"; import { ThemeSwitch } from "@/components/theme-switch"; import { ShopAboutForm } from "./components/shop-about-form"; @@ -30,7 +22,7 @@ export default function AboutPage() { {/* ===== Main ===== */}
-
+

About Your Shop

Here's an overview info about your shop