From f3f4cc0dc5d43941c6245f547a1cd2cfe12fda07 Mon Sep 17 00:00:00 2001 From: Jerry Musico Date: Thu, 5 Feb 2026 08:23:44 +0800 Subject: [PATCH 1/2] fix site map footer --- app/sitemap/page.tsx | 120 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 app/sitemap/page.tsx diff --git a/app/sitemap/page.tsx b/app/sitemap/page.tsx new file mode 100644 index 0000000..18a40aa --- /dev/null +++ b/app/sitemap/page.tsx @@ -0,0 +1,120 @@ +'use client'; + +import Link from 'next/link'; +import { MapPin } from 'lucide-react'; + +const SitemapPage = () => { + const siteStructure = [ + { + category: 'Main Pages', + links: [ + { href: '/', label: 'Home' }, + { href: '/rooms', label: 'Browse Havens' }, + { href: '/about', label: 'About Us' }, + { href: '/location', label: 'Our Locations' }, + { href: '/contacts', label: 'Contact Us' }, + ], + }, + { + category: 'User Account', + links: [ + { href: '/login', label: 'Login' }, + { href: '/profile', label: 'My Profile' }, + { href: '/my-bookings', label: 'My Bookings' }, + { href: '/my-wishlist', label: 'My Wishlist' }, + { href: '/messages', label: 'Messages' }, + ], + }, + { + category: 'Policies & Information', + links: [ + { href: '/booking-policy', label: 'Booking Policy' }, + { href: '/cancellation-policy', label: 'Cancellation Policy' }, + { href: '/payment-options', label: 'Payment Options' }, + { href: '/house-rules', label: 'House Rules' }, + { href: '/terms-of-service', label: 'Terms of Service' }, + { href: '/privacy-policy', label: 'Privacy Policy' }, + { href: '/cookie-policy', label: 'Cookie Policy' }, + { href: '/data-protection', label: 'Data Protection' }, + ], + }, + { + category: 'Support & Help', + links: [ + { href: '/help-center', label: 'Help Center' }, + { href: '/faqs', label: 'Frequently Asked Questions' }, + { href: '/accessibility', label: 'Accessibility' }, + ], + }, + { + category: 'Administrative', + links: [ + { href: '/admin/login', label: 'Admin Login' }, + ], + }, + ]; + + return ( +
+
+ {/* Header */} +
+
+ +

+ Site Map +

+
+

+ Navigate through all pages and sections of Staycation Haven +

+
+ + {/* Sitemap Grid */} +
+ {siteStructure.map((section) => ( +
+

+ {section.category} +

+
    + {section.links.map((link) => ( +
  • + + + {link.label} + +
  • + ))} +
+
+ ))} +
+ + {/* Additional Info */} +
+

+ Looking for something specific? +

+

+ Use our search function or browse through the sections above to find what you need. +

+ + Visit Help Center + +
+
+
+ ); +}; + +export default SitemapPage; From c2aac795e868c59412e6970f45ce78a9b2deec35 Mon Sep 17 00:00:00 2001 From: Jerry Musico Date: Thu, 5 Feb 2026 08:39:18 +0800 Subject: [PATCH 2/2] adding the footer in site map --- app/sitemap/page.tsx | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/app/sitemap/page.tsx b/app/sitemap/page.tsx index 18a40aa..e7b2ec8 100644 --- a/app/sitemap/page.tsx +++ b/app/sitemap/page.tsx @@ -2,6 +2,7 @@ import Link from 'next/link'; import { MapPin } from 'lucide-react'; +import SidebarLayout from '@/Components/SidebarLayout'; const SitemapPage = () => { const siteStructure = [ @@ -55,7 +56,8 @@ const SitemapPage = () => { ]; return ( -
+ +
{/* Header */}
@@ -113,7 +115,8 @@ const SitemapPage = () => {
-
+
+ ); };