Version 1.3 (start your search button works)

This commit is contained in:
Flatlogic Bot 2025-11-07 21:51:51 +00:00
parent e2ccddf4a3
commit 6a632c21ab
3 changed files with 32 additions and 5 deletions

File diff suppressed because one or more lines are too long

View File

@ -29,6 +29,7 @@ const nextConfig = {
async rewrites() {
return [
{ source: '/', destination: '/web_pages/home' },
{
source: '/home',
destination: '/web_pages/home',
@ -48,10 +49,6 @@ const nextConfig = {
source: '/add-listing-wizard',
destination: '/listings/listings-new',
},
{
source: '/search-wizard',
destination: '/search',
}
];
},

View File

@ -0,0 +1,29 @@
import React from 'react';
import Head from 'next/head';
import LayoutGuest from '../layouts/Guest';
import WebSiteHeader from '../components/WebPageComponents/Header';
import WebSiteFooter from '../components/WebPageComponents/Footer';
import Link from 'next/link';
export default function SearchWizardPage() {
return (
<LayoutGuest>
<Head>
<title>Start Your Search | RentWhiz</title>
</Head>
<WebSiteHeader />
<main className="flex-grow container mx-auto py-10 text-center">
<h1 className="text-4xl font-bold mb-8">Start Your Search</h1>
<div className="flex justify-center space-x-4">
<Link href="/search?mode=place" className="px-8 py-4 bg-blue-600 text-white rounded-lg hover:bg-blue-700">
I&apos;m Looking for a Place
</Link>
<Link href="/search?mode=roommate" className="px-8 py-4 bg-green-600 text-white rounded-lg hover:bg-green-700">
I&apos;m Looking for a Roommate
</Link>
</div>
</main>
<WebSiteFooter />
</LayoutGuest>
);
}