Compare commits
3 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6a632c21ab | ||
|
|
e2ccddf4a3 | ||
|
|
b55a3e4e01 |
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,3 +1,8 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
*/node_modules/
|
*/node_modules/
|
||||||
*/build/
|
*/build/
|
||||||
|
|
||||||
|
**/node_modules/
|
||||||
|
**/build/
|
||||||
|
.DS_Store
|
||||||
|
.env
|
||||||
File diff suppressed because one or more lines are too long
1
frontend/json/runtimeError.json
Normal file
1
frontend/json/runtimeError.json
Normal file
@ -0,0 +1 @@
|
|||||||
|
{}
|
||||||
1
frontend/next-env.d.ts
vendored
1
frontend/next-env.d.ts
vendored
@ -1,5 +1,6 @@
|
|||||||
/// <reference types="next" />
|
/// <reference types="next" />
|
||||||
/// <reference types="next/image-types/global" />
|
/// <reference types="next/image-types/global" />
|
||||||
|
/// <reference path="./build/types/routes.d.ts" />
|
||||||
|
|
||||||
// NOTE: This file should not be edited
|
// NOTE: This file should not be edited
|
||||||
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
|
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.
|
||||||
|
|||||||
@ -29,6 +29,7 @@ const nextConfig = {
|
|||||||
|
|
||||||
async rewrites() {
|
async rewrites() {
|
||||||
return [
|
return [
|
||||||
|
{ source: '/', destination: '/web_pages/home' },
|
||||||
{
|
{
|
||||||
source: '/home',
|
source: '/home',
|
||||||
destination: '/web_pages/home',
|
destination: '/web_pages/home',
|
||||||
@ -43,6 +44,12 @@ const nextConfig = {
|
|||||||
source: '/blog',
|
source: '/blog',
|
||||||
destination: '/web_pages/blog',
|
destination: '/web_pages/blog',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
{
|
||||||
|
source: '/add-listing-wizard',
|
||||||
|
destination: '/listings/listings-new',
|
||||||
|
},
|
||||||
|
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -20,12 +20,20 @@ const HeroImageBg = ({
|
|||||||
{mainText}
|
{mainText}
|
||||||
</h1>
|
</h1>
|
||||||
<p className={`text-sm mb-8`}>{subTitle}</p>
|
<p className={`text-sm mb-8`}>{subTitle}</p>
|
||||||
<BaseButton
|
<div className="flex justify-center space-x-4">
|
||||||
href='/login'
|
<BaseButton
|
||||||
label={`${buttonText}`}
|
href="/search-wizard"
|
||||||
color='info'
|
label={`${buttonText}`}
|
||||||
className='px-4 sm:px-6 py-2 '
|
color="info"
|
||||||
/>
|
className="px-4 sm:px-6 py-2"
|
||||||
|
/>
|
||||||
|
<BaseButton
|
||||||
|
href="/add-listing-wizard"
|
||||||
|
label="Add Your Listing"
|
||||||
|
color="info"
|
||||||
|
className="px-4 sm:px-6 py-2"
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='absolute bottom-2 text-[8px] text-white w-full flex justify-center'>
|
<div className='absolute bottom-2 text-[8px] text-white w-full flex justify-center'>
|
||||||
<a href={imageHero[0]?.photographer_url} target='_blank' rel='noreferrer'>
|
<a href={imageHero[0]?.photographer_url} target='_blank' rel='noreferrer'>
|
||||||
|
|||||||
@ -20,6 +20,7 @@ import FeaturesSection from '../components/WebPageComponents/FeaturesComponent';
|
|||||||
import AboutUsSection from '../components/WebPageComponents/AboutUsComponent';
|
import AboutUsSection from '../components/WebPageComponents/AboutUsComponent';
|
||||||
|
|
||||||
import ContactFormSection from '../components/WebPageComponents/ContactFormComponent';
|
import ContactFormSection from '../components/WebPageComponents/ContactFormComponent';
|
||||||
|
import BaseButton from '../components/BaseButton';
|
||||||
|
|
||||||
export default function WebSite() {
|
export default function WebSite() {
|
||||||
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);
|
||||||
|
|||||||
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