Version 1.3 (start your search button works)
This commit is contained in:
parent
e2ccddf4a3
commit
6a632c21ab
File diff suppressed because one or more lines are too long
@ -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',
|
||||
}
|
||||
|
||||
];
|
||||
},
|
||||
|
||||
29
frontend/src/pages/search-wizard.tsx
Normal file
29
frontend/src/pages/search-wizard.tsx
Normal 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'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'm Looking for a Roommate
|
||||
</Link>
|
||||
</div>
|
||||
</main>
|
||||
<WebSiteFooter />
|
||||
</LayoutGuest>
|
||||
);
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user