Switch to version 1: remove src/app/policy/page.tsx

This commit is contained in:
2026-04-09 11:40:53 +00:00
parent ed8c6d55c0
commit 0dfb178d79

View File

@@ -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>
);
}