diff --git a/src/app/coming-soon/page.tsx b/src/app/coming-soon/page.tsx new file mode 100644 index 0000000..5978bf5 --- /dev/null +++ b/src/app/coming-soon/page.tsx @@ -0,0 +1,37 @@ +'use client'; + +import Link from 'next/link'; +import { CommonHeader } from '@/components/layout/CommonHeader'; +import { Footer } from '@/components/layout/Footer'; + +export default function ComingSoonPage() { + return ( +
+
+ +
+ +
+
+
+ 🚧 +
+

+ Coming Soon +

+

+ This page is under development. Stay tuned for updates. +

+ + Go Back Home + +
+
+ +
+ ); +} diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index f725844..f9f34d4 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -14,11 +14,11 @@ const footerLinks = { resources: { title: 'Resources', links: [ - { label: "Buyer's Guide", href: '#' }, - { label: "Seller's Guide", href: '#' }, + { label: "Buyer's Guide", href: '/coming-soon' }, + { label: "Seller's Guide", href: '/coming-soon' }, { label: 'FAQs', href: '/faq' }, { label: 'Education', href: '/education' }, - { label: 'MyAgentNavigator', href: '#' }, + { label: 'MyAgentNavigator', href: '/coming-soon' }, ], }, aboutContact: { diff --git a/src/middleware.ts b/src/middleware.ts index cce59b5..5e136fe 100644 --- a/src/middleware.ts +++ b/src/middleware.ts @@ -5,7 +5,7 @@ import { NextResponse } from "next/server"; const authRoutes = ["/login", "/signup", "/forgot-password", "/reset-password", "/verify-email"]; // Public routes - accessible to everyone (logged in or not) -const publicRoutes = ["/", "/contact", "/about", "/faq", "/education", "/logout", "/user/dashboard", "/user/profiles", "/user/profile"]; +const publicRoutes = ["/", "/contact", "/about", "/faq", "/education", "/coming-soon", "/privacy-policy", "/terms-of-service", "/logout", "/user/dashboard", "/user/profiles", "/user/profile"]; // Routes that should NEVER be redirected away from (even if logged in) const noRedirectRoutes = ["/logout"];