diff --git a/Pottery-website/App.tsx b/Pottery-website/App.tsx index b7e8941..1ec7a52 100644 --- a/Pottery-website/App.tsx +++ b/Pottery-website/App.tsx @@ -21,6 +21,12 @@ const Checkout = lazy(() => import('./pages/Checkout')); const MockPayment = lazy(() => import('./pages/MockPayment')); const Success = lazy(() => import('./pages/Success')); const Admin = lazy(() => import('./pages/Admin')); +const FAQ = lazy(() => import('./pages/FAQ')); +const Shipping = lazy(() => import('./pages/Shipping')); +const Returns = lazy(() => import('./pages/Returns')); +const Contact = lazy(() => import('./pages/Contact')); +const Privacy = lazy(() => import('./pages/Privacy')); +const Cookies = lazy(() => import('./pages/Cookies')); function App() { return ( @@ -42,6 +48,12 @@ function App() { } /> } /> } /> + } /> + } /> + } /> + } /> + } /> + } /> diff --git a/Pottery-website/components/Footer.tsx b/Pottery-website/components/Footer.tsx index 93ec833..bec4ad1 100644 --- a/Pottery-website/components/Footer.tsx +++ b/Pottery-website/components/Footer.tsx @@ -1,4 +1,5 @@ import React from 'react'; +import { Link } from 'react-router-dom'; import { FOOTER_LINKS } from '../constants'; const Footer: React.FC = () => { @@ -42,9 +43,9 @@ const Footer: React.FC = () => { @@ -54,9 +55,9 @@ const Footer: React.FC = () => { @@ -66,9 +67,9 @@ const Footer: React.FC = () => { @@ -78,12 +79,12 @@ const Footer: React.FC = () => { {/* Bottom Bar */}
-

Β© 2024 HOTSCHPOTSH Ceramics. All rights reserved.

+

Β© 2025 HOTSCHPOTSH Ceramics. All rights reserved.

- Privacy - Terms - Cookies - Admin + Privacy + Terms + Cookies + Admin
diff --git a/Pottery-website/constants.ts b/Pottery-website/constants.ts index 59f7c5a..42d1c50 100644 --- a/Pottery-website/constants.ts +++ b/Pottery-website/constants.ts @@ -139,10 +139,10 @@ export const FOOTER_LINKS: FooterSection[] = [ { title: 'Support', links: [ - { label: 'FAQ', href: '#' }, - { label: 'Shipping', href: '#' }, - { label: 'Returns', href: '#' }, - { label: 'Contact', href: '#' }, + { label: 'FAQ', href: '/faq' }, + { label: 'Shipping', href: '/shipping' }, + { label: 'Returns', href: '/returns' }, + { label: 'Contact', href: '/contact' }, ], }, ]; \ No newline at end of file diff --git a/Pottery-website/pages/Contact.tsx b/Pottery-website/pages/Contact.tsx new file mode 100644 index 0000000..590d6ef --- /dev/null +++ b/Pottery-website/pages/Contact.tsx @@ -0,0 +1,218 @@ +import React, { useState } from 'react'; +import { motion } from 'framer-motion'; + +const Contact: React.FC = () => { + const [formData, setFormData] = useState({ + name: '', + email: '', + subject: '', + message: '' + }); + + const handleSubmit = (e: React.FormEvent) => { + e.preventDefault(); + // Handle form submission + console.log('Form submitted:', formData); + alert('Thank you for your message! We\'ll get back to you within 1-2 business days.'); + setFormData({ name: '', email: '', subject: '', message: '' }); + }; + + const handleChange = (e: React.ChangeEvent) => { + setFormData({ + ...formData, + [e.target.name]: e.target.value + }); + }; + + const contactInfo = [ + { + icon: "πŸ“§", + title: "Email", + detail: "support@hotchpotshceramics.com", + description: "Best for order inquiries or detailed questions" + }, + { + icon: "πŸ“ž", + title: "Phone", + detail: "(361) 555-1234", + description: "Mon–Fri, 9am–5pm CST" + }, + { + icon: "πŸ“", + title: "Workshop", + detail: "123 Artisan Lane, Corpus Christi, TX 78401", + description: "Please note: this is our workshop, not a retail store" + } + ]; + + return ( +
+
+ {/* Header */} +
+ + Get in Touch + + + Contact
Us +
+ + We're happy to help with any questions, custom requests, or feedback. We usually reply to emails within 1–2 business days. + +
+ +
+ {/* Contact Form */} + +

+ Send us a message +

+
+
+ + +
+
+ + +
+
+ + +
+
+ +