Update src/app/admin/page.tsx
This commit is contained in:
@@ -6,25 +6,39 @@ import FooterMedia from '@/components/sections/footer/FooterMedia';
|
||||
import InlineImageSplitTextAbout from '@/components/sections/about/InlineImageSplitTextAbout';
|
||||
import FaqBase from '@/components/sections/faq/FaqBase';
|
||||
|
||||
const allNavItems = [
|
||||
{ name: "Home", id: "/" },
|
||||
{ name: "Account", id: "/account" },
|
||||
{ name: "Admin", id: "/admin" },
|
||||
{ name: "Cart", id: "/cart" },
|
||||
{ name: "Checkout", id: "/checkout" },
|
||||
{ name: "Product", id: "/product" },
|
||||
{ name: "Return Policy", id: "/return-policy" },
|
||||
{ name: "Shipping Policy", id: "/shipping-policy" },
|
||||
{ name: "Terms & Conditions", id: "/terms-conditions" }
|
||||
];
|
||||
|
||||
const allFooterColumns = [
|
||||
{
|
||||
title: "Site Navigation", items: [
|
||||
{ label: "Home", href: "/" },
|
||||
{ label: "Account", href: "/account" },
|
||||
{ label: "Admin", href: "/admin" },
|
||||
{ label: "Cart", href: "/cart" },
|
||||
{ label: "Checkout", href: "/checkout" },
|
||||
{ label: "Product", href: "/product" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Policies", items: [
|
||||
{ label: "Return Policy", href: "/return-policy" },
|
||||
{ label: "Shipping Policy", href: "/shipping-policy" },
|
||||
{ label: "Terms & Conditions", href: "/terms-conditions" }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
export default function AdminPage() {
|
||||
const navItems = [
|
||||
{ name: "Return Policy", id: "/return-policy" },
|
||||
{ name: "Admin", id: "/admin" }
|
||||
];
|
||||
|
||||
const footerColumns = [
|
||||
{
|
||||
title: "Support", items: [
|
||||
{ label: "Return Policy", href: "/return-policy" }
|
||||
]
|
||||
},
|
||||
{
|
||||
title: "Legal", items: [
|
||||
{ label: "Return Policy", href: "/return-policy" }
|
||||
]
|
||||
}
|
||||
];
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="shift-hover"
|
||||
@@ -41,7 +55,7 @@ export default function AdminPage() {
|
||||
<div id="nav" data-section="nav">
|
||||
<NavbarStyleFullscreen
|
||||
brandName="OLIVA"
|
||||
navItems={navItems}
|
||||
navItems={allNavItems}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -90,7 +104,7 @@ export default function AdminPage() {
|
||||
logoText="OLIVA"
|
||||
imageSrc="http://img.b2bpic.net/free-photo/surrealist-portrait-fashionable-woman_23-2149224680.jpg?_wi=9"
|
||||
imageAlt="OLIVA fashion brand elegant minimal"
|
||||
columns={footerColumns}
|
||||
columns={allFooterColumns}
|
||||
copyrightText="© 2024 OLIVA | All Rights Reserved."
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user