Compare commits
No commits in common. "ai-dev" and "master" have entirely different histories.
5
.gitignore
vendored
5
.gitignore
vendored
@ -1,8 +1,3 @@
|
|||||||
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 +0,0 @@
|
|||||||
{}
|
|
||||||
1
frontend/next-env.d.ts
vendored
1
frontend/next-env.d.ts
vendored
@ -1,6 +1,5 @@
|
|||||||
/// <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,7 +29,6 @@ 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',
|
||||||
@ -44,12 +43,6 @@ const nextConfig = {
|
|||||||
source: '/blog',
|
source: '/blog',
|
||||||
destination: '/web_pages/blog',
|
destination: '/web_pages/blog',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
source: '/add-listing-wizard',
|
|
||||||
destination: '/listings/listings-new',
|
|
||||||
},
|
|
||||||
|
|
||||||
];
|
];
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|||||||
@ -20,20 +20,12 @@ const HeroImageBg = ({
|
|||||||
{mainText}
|
{mainText}
|
||||||
</h1>
|
</h1>
|
||||||
<p className={`text-sm mb-8`}>{subTitle}</p>
|
<p className={`text-sm mb-8`}>{subTitle}</p>
|
||||||
<div className="flex justify-center space-x-4">
|
<BaseButton
|
||||||
<BaseButton
|
href='/login'
|
||||||
href="/search-wizard"
|
label={`${buttonText}`}
|
||||||
label={`${buttonText}`}
|
color='info'
|
||||||
color="info"
|
className='px-4 sm:px-6 py-2 '
|
||||||
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,7 +20,6 @@ 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);
|
||||||
|
|||||||
@ -1,29 +0,0 @@
|
|||||||
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