Minor tweaks to design
This commit is contained in:
parent
09ddb05efe
commit
cbb799f879
@ -8,7 +8,6 @@ import {
|
|||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs";
|
||||||
import { Header } from "@/components/layout/header";
|
import { Header } from "@/components/layout/header";
|
||||||
import { Main } from "@/components/layout/main";
|
import { Main } from "@/components/layout/main";
|
||||||
import { TopNav } from "@/components/layout/top-nav";
|
|
||||||
import { ProfileDropdown } from "@/components/profile-dropdown";
|
import { ProfileDropdown } from "@/components/profile-dropdown";
|
||||||
import { Search } from "@/components/search";
|
import { Search } from "@/components/search";
|
||||||
import { ThemeSwitch } from "@/components/theme-switch";
|
import { ThemeSwitch } from "@/components/theme-switch";
|
||||||
@ -22,7 +21,6 @@ export default function Dashboard() {
|
|||||||
<Header>
|
<Header>
|
||||||
<Search />
|
<Search />
|
||||||
<div className="ml-auto flex items-center space-x-4">
|
<div className="ml-auto flex items-center space-x-4">
|
||||||
<Search />
|
|
||||||
<ThemeSwitch />
|
<ThemeSwitch />
|
||||||
<ProfileDropdown />
|
<ProfileDropdown />
|
||||||
</div>
|
</div>
|
||||||
@ -178,30 +176,3 @@ 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
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
@ -121,7 +121,9 @@ export function ShopAboutForm() {
|
|||||||
<CardHeader>
|
<CardHeader>
|
||||||
<CardTitle className="text-xl">Contact Information</CardTitle>
|
<CardTitle className="text-xl">Contact Information</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="space-y-4">
|
<CardContent>
|
||||||
|
<div className="grid grid-cols-2 gap-4">
|
||||||
|
|
||||||
<FormField
|
<FormField
|
||||||
control={form.control}
|
control={form.control}
|
||||||
name="contact_email"
|
name="contact_email"
|
||||||
@ -152,6 +154,8 @@ export function ShopAboutForm() {
|
|||||||
</FormItem>
|
</FormItem>
|
||||||
)}
|
)}
|
||||||
/>
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|
||||||
|
@ -1,13 +1,5 @@
|
|||||||
import {
|
|
||||||
Card,
|
|
||||||
CardContent,
|
|
||||||
CardDescription,
|
|
||||||
CardHeader,
|
|
||||||
CardTitle
|
|
||||||
} from "@/components/ui/card";
|
|
||||||
import { Header } from "@/components/layout/header";
|
import { Header } from "@/components/layout/header";
|
||||||
import { Main } from "@/components/layout/main";
|
import { Main } from "@/components/layout/main";
|
||||||
import { TopNav } from "@/components/layout/top-nav";
|
|
||||||
import { ProfileDropdown } from "@/components/profile-dropdown";
|
import { ProfileDropdown } from "@/components/profile-dropdown";
|
||||||
import { ThemeSwitch } from "@/components/theme-switch";
|
import { ThemeSwitch } from "@/components/theme-switch";
|
||||||
import { ShopAboutForm } from "./components/shop-about-form";
|
import { ShopAboutForm } from "./components/shop-about-form";
|
||||||
@ -30,7 +22,7 @@ export default function AboutPage() {
|
|||||||
|
|
||||||
{/* ===== Main ===== */}
|
{/* ===== Main ===== */}
|
||||||
<Main>
|
<Main>
|
||||||
<div className="my-4">
|
<div className="mb-4">
|
||||||
<h1 className="text-2xl font-bold tracking-tight">About Your Shop</h1>
|
<h1 className="text-2xl font-bold tracking-tight">About Your Shop</h1>
|
||||||
<p className="text-muted-foreground">
|
<p className="text-muted-foreground">
|
||||||
Here's an overview info about your shop
|
Here's an overview info about your shop
|
||||||
|
Loading…
x
Reference in New Issue
Block a user