Compare commits

...

3 Commits

Author SHA1 Message Date
Flatlogic Bot
6a632c21ab Version 1.3 (start your search button works) 2025-11-07 21:51:51 +00:00
Flatlogic Bot
e2ccddf4a3 Version 1.2 2025-10-02 19:29:18 +00:00
Flatlogic Bot
b55a3e4e01 Version 1 2025-10-02 18:34:11 +00:00
8 changed files with 63 additions and 10 deletions

5
.gitignore vendored
View File

@ -1,3 +1,8 @@
node_modules/
*/node_modules/
*/build/
**/node_modules/
**/build/
.DS_Store
.env

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
{}

View File

@ -1,5 +1,6 @@
/// <reference types="next" />
/// <reference types="next/image-types/global" />
/// <reference path="./build/types/routes.d.ts" />
// NOTE: This file should not be edited
// see https://nextjs.org/docs/pages/api-reference/config/typescript for more information.

View File

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

View File

@ -20,12 +20,20 @@ const HeroImageBg = ({
{mainText}
</h1>
<p className={`text-sm mb-8`}>{subTitle}</p>
<div className="flex justify-center space-x-4">
<BaseButton
href='/login'
href="/search-wizard"
label={`${buttonText}`}
color='info'
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 className='absolute bottom-2 text-[8px] text-white w-full flex justify-center'>
<a href={imageHero[0]?.photographer_url} target='_blank' rel='noreferrer'>

View File

@ -20,6 +20,7 @@ import FeaturesSection from '../components/WebPageComponents/FeaturesComponent';
import AboutUsSection from '../components/WebPageComponents/AboutUsComponent';
import ContactFormSection from '../components/WebPageComponents/ContactFormComponent';
import BaseButton from '../components/BaseButton';
export default function WebSite() {
const cardsStyle = useAppSelector((state) => state.style.cardsStyle);

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>
);
}