Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
192 changes: 116 additions & 76 deletions apps/web/public/mock-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 2500,
images: [
'/images/house1.jpg',
'/images/house2.jpg',
'/images/house3.jpg',
'/images/house4.jpg',
'/images/house1.webp',
'/images/house2.webp',
'/images/house3.webp',
'/images/house4.webp',
],
rating: 4.1,
maxGuests: 4,
Expand All @@ -35,10 +35,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Mendoza, Argentina',
price: 6000,
images: [
'/images/house2.jpg',
'/images/house3.jpg',
'/images/house4.jpg',
'/images/house5.jpg',
'/images/house2.webp',
'/images/house3.webp',
'/images/house4.webp',
'/images/house5.webp',
],
rating: 4.8,
maxGuests: 8,
Expand All @@ -51,7 +51,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Cozy Bedroom Suite',
location: 'Rosario, Santa Fe',
price: 4500,
images: ['/images/house3.jpg', '/images/house1.jpg', '/images/house4.jpg', '/images/house.jpg'],
images: [
'/images/house3.webp',
'/images/house1.webp',
'/images/house4.webp',
'/images/house.webp',
],
rating: 3.9,
maxGuests: 7,
bedrooms: 4,
Expand All @@ -64,10 +69,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 5600,
images: [
'/images/house4.jpg',
'/images/house1.jpg',
'/images/house2.jpg',
'/images/house3.jpg',
'/images/house4.webp',
'/images/house1.webp',
'/images/house2.webp',
'/images/house3.webp',
],
rating: 4.5,
maxGuests: 10,
Expand All @@ -81,10 +86,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 2100,
images: [
'/images/house5.jpg',
'/images/house1.jpg',
'/images/house2.jpg',
'/images/house3.jpg',
'/images/house5.webp',
'/images/house1.webp',
'/images/house2.webp',
'/images/house3.webp',
],
rating: 4.2,
maxGuests: 14,
Expand All @@ -97,7 +102,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Modern Architectural House',
location: 'Córdoba, Argentina',
price: 6500,
images: ['/images/house.jpg', '/images/house1.jpg', '/images/house2.jpg', '/images/house3.jpg'],
images: [
'/images/house.webp',
'/images/house1.webp',
'/images/house2.webp',
'/images/house3.webp',
],
rating: 4.7,
maxGuests: 2,
bedrooms: 1,
Expand All @@ -109,7 +119,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Cozy kitchen home with garden view',
location: 'San Isidro, Buenos Aires',
price: 2500,
images: ['/images/house.jpg', '/images/house2.jpg', '/images/house3.jpg', '/images/house4.jpg'],
images: [
'/images/house.webp',
'/images/house2.webp',
'/images/house3.webp',
'/images/house4.webp',
],
rating: 4.1,
maxGuests: 6,
bedrooms: 2,
Expand All @@ -121,7 +136,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Rustic Country Bungalow',
location: 'Palermo, Buenos Aires',
price: 3100,
images: ['/images/house1.jpg', '/images/house4.jpg', '/images/house2.jpg', '/images/house.jpg'],
images: [
'/images/house1.webp',
'/images/house4.webp',
'/images/house2.webp',
'/images/house.webp',
],
rating: 4.3,
maxGuests: 10,
bedrooms: 5,
Expand All @@ -134,10 +154,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 3900,
images: [
'/images/house2.jpg',
'/images/house3.jpg',
'/images/property-1.jpg',
'/images/house1.jpg',
'/images/house2.webp',
'/images/house3.webp',
'/images/house5.webp',
'/images/house1.webp',
],
rating: 4.0,
maxGuests: 12,
Expand All @@ -151,10 +171,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Rosario, Santa Fe',
price: 7000,
images: [
'/images/house5.jpg',
'/images/house1.jpg',
'/images/house4.jpg',
'/images/house2.jpg',
'/images/house5.webp',
'/images/house1.webp',
'/images/house4.webp',
'/images/house2.webp',
],
rating: 4.9,
maxGuests: 6,
Expand All @@ -167,7 +187,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Downtown Artist’s Loft',
location: 'Mendoza, Argentina',
price: 3300,
images: ['/images/house3.jpg', '/images/house.jpg', '/images/house2.jpg', '/images/house5.jpg'],
images: [
'/images/house3.webp',
'/images/house.webp',
'/images/house2.webp',
'/images/house5.webp',
],
rating: 3.8,
maxGuests: 13,
bedrooms: 8,
Expand All @@ -180,10 +205,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Rosario, Santa Fe',
price: 4200,
images: [
'/images/house4.jpg',
'/images/property-1.jpg',
'/images/house1.jpg',
'/images/house2.jpg',
'/images/house4.webp',
'/images/house5.webp',
'/images/house1.webp',
'/images/house2.webp',
],
rating: 4.4,
maxGuests: 4,
Expand All @@ -196,7 +221,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Smart Home with Modern Tech',
location: 'Córdoba, Argentina',
price: 4800,
images: ['/images/house.jpg', '/images/house2.jpg', '/images/house3.jpg', '/images/house4.jpg'],
images: [
'/images/house.webp',
'/images/house2.webp',
'/images/house3.webp',
'/images/house4.webp',
],
rating: 4.6,
maxGuests: 3,
bedrooms: 3,
Expand All @@ -209,10 +239,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'San Isidro, Buenos Aires',
price: 1900,
images: [
'/images/house5.jpg',
'/images/house1.jpg',
'/images/house4.jpg',
'/images/house3.jpg',
'/images/house5.webp',
'/images/house1.webp',
'/images/house4.webp',
'/images/house3.webp',
],
rating: 3.5,
maxGuests: 2,
Expand All @@ -226,10 +256,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 5300,
images: [
'/images/house2.jpg',
'/images/house.jpg',
'/images/property-1.jpg',
'/images/house4.jpg',
'/images/house2.webp',
'/images/house.webp',
'/images/house5.webp',
'/images/house4.webp',
],
rating: 4.7,
maxGuests: 3,
Expand All @@ -243,10 +273,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Córdoba, Argentina',
price: 2750,
images: [
'/images/house3.jpg',
'/images/house4.jpg',
'/images/house5.jpg',
'/images/house1.jpg',
'/images/house3.webp',
'/images/house4.webp',
'/images/house5.webp',
'/images/house1.webp',
],
rating: 4.1,
maxGuests: 9,
Expand All @@ -260,10 +290,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 2300,
images: [
'/images/house1.jpg',
'/images/house5.jpg',
'/images/house3.jpg',
'/images/house2.jpg',
'/images/house1.webp',
'/images/house5.webp',
'/images/house3.webp',
'/images/house2.webp',
],
rating: 3.9,
maxGuests: 6,
Expand All @@ -276,7 +306,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Stylish Loft with Workspace',
location: 'San Isidro, Buenos Aires',
price: 3700,
images: ['/images/house2.jpg', '/images/house3.jpg', '/images/house4.jpg', '/images/house.jpg'],
images: [
'/images/house2.webp',
'/images/house3.webp',
'/images/house4.webp',
'/images/house.webp',
],
rating: 4.2,
maxGuests: 7,
bedrooms: 4,
Expand All @@ -288,7 +323,12 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
title: 'Luxury Farm House',
location: 'Mendoza, Argentina',
price: 7200,
images: ['/images/house.jpg', '/images/house5.jpg', '/images/house2.jpg', '/images/house3.jpg'],
images: [
'/images/house.webp',
'/images/house5.webp',
'/images/house2.webp',
'/images/house3.webp',
],
rating: 4.9,
maxGuests: 1,
bedrooms: 1,
Expand All @@ -301,10 +341,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Palermo, Buenos Aires',
price: 3200,
images: [
'/images/house4.jpg',
'/images/property-1.jpg',
'/images/house1.jpg',
'/images/house5.jpg',
'/images/house4.webp',
'/images/house5.webp',
'/images/house1.webp',
'/images/house5.webp',
],
rating: 4.3,
maxGuests: 2,
Expand All @@ -318,10 +358,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 3100,
images: [
'/images/house1.jpg',
'/images/house2.jpg',
'/images/house3.jpg',
'/images/house4.jpg',
'/images/house1.webp',
'/images/house2.webp',
'/images/house3.webp',
'/images/house4.webp',
],
rating: 4.0,
maxGuests: 2,
Expand All @@ -335,10 +375,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Córdoba, Argentina',
price: 4100,
images: [
'/images/house5.jpg',
'/images/house2.jpg',
'/images/house4.jpg',
'/images/house3.jpg',
'/images/house5.webp',
'/images/house2.webp',
'/images/house4.webp',
'/images/house3.webp',
],
rating: 4.2,
maxGuests: 5,
Expand All @@ -352,10 +392,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Mendoza, Argentina',
price: 2990,
images: [
'/images/house3.jpg',
'/images/house2.jpg',
'/images/house1.jpg',
'/images/house5.jpg',
'/images/house3.webp',
'/images/house2.webp',
'/images/house1.webp',
'/images/house5.webp',
],
rating: 3.7,
maxGuests: 3,
Expand All @@ -369,10 +409,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Rosario, Santa Fe',
price: 5200,
images: [
'/images/house.jpg',
'/images/house2.jpg',
'/images/house4.jpg',
'/images/property-1.jpg',
'/images/house.webp',
'/images/house2.webp',
'/images/house4.webp',
'/images/house5.webp',
],
rating: 4.6,
maxGuests: 8,
Expand All @@ -386,10 +426,10 @@ export const MOCK_PROPERTIES: FullPropertyProps[] = [
location: 'Luján, Buenos Aires',
price: 5800,
images: [
'/images/house1.jpg',
'/images/house5.jpg',
'/images/house4.jpg',
'/images/house3.jpg',
'/images/house1.webp',
'/images/house5.webp',
'/images/house4.webp',
'/images/house3.webp',
],
rating: 4.5,
maxGuests: 3,
Expand Down
4 changes: 2 additions & 2 deletions apps/web/src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { SearchBar } from '@/components/features/search/SearchBar';
import { RightSidebar } from '@/components/layout/RightSidebar';
import { PropertyGrid } from '@/components/search/PropertyGrid';
import PropertyGrid from '@/components/search/PropertyGrid';
import { House } from 'lucide-react';
import Image from 'next/image';
import { Suspense } from 'react';
Expand All @@ -9,7 +9,7 @@ export default function Home() {
return (
<div className="flex w-full min-h-screen">
<main className="flex flex-1 flex-col w-full min-h-screen px-5 pr-16">
<header className="flex items-center justify-between p-4 border-b border-gray-800"></header>
<header className="flex items-center justify-between p-4 border-b border-gray-800" />

<section className="p-4">
<SearchBar />
Expand Down
Loading