Switch to version 1: remove src/app/policy/page.tsx
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
"use client";
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay';
|
||||
import LegalSection from '@/components/legal/LegalSection';
|
||||
import FooterSimple from '@/components/sections/footer/FooterSimple';
|
||||
|
||||
export default function PolicyPage() {
|
||||
const navItems = [{ name: "Home", id: "/" }, { name: "About", id: "/about" }, { name: "Contact", id: "/contact" }, { name: "Shop", id: "/shop" }];
|
||||
return (
|
||||
<ThemeProvider defaultButtonVariant="text-stagger" defaultTextAnimation="entrance-slide" borderRadius="rounded" contentWidth="medium" sizing="medium" background="circleGradient" cardStyle="glass-elevated" primaryButtonStyle="gradient" secondaryButtonStyle="glass" headingFontWeight="normal">
|
||||
<div id="nav" data-section="nav"><NavbarLayoutFloatingOverlay navItems={navItems} /></div>
|
||||
<LegalSection
|
||||
layout="page"
|
||||
title="Terms & Policy"
|
||||
sections={[{ heading: "Policies", content: { type: 'paragraph', text: "Standard hardware store policies apply." } }]}
|
||||
/>
|
||||
<FooterSimple
|
||||
columns={[{ title: "Links", items: [{ label: "Home", href: "/" }] }]}
|
||||
bottomLeftText="© 2024 Tradesman Hardware"
|
||||
bottomRightText="All rights reserved."
|
||||
/>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user