diff --git a/apps/web/next.config.js b/apps/web/next.config.js index f1a2f1c8..ffb7fe84 100644 --- a/apps/web/next.config.js +++ b/apps/web/next.config.js @@ -1,5 +1,7 @@ /** @type {import('next').NextConfig} */ const nextConfig = { + // Disable SWC compilation + swcMinify: false, reactStrictMode: true, transpilePackages: ['@stellar-rent/ui'], webpack: (config) => { diff --git a/apps/web/package.json b/apps/web/package.json index 9cb2fcb2..b649ca78 100644 --- a/apps/web/package.json +++ b/apps/web/package.json @@ -14,11 +14,13 @@ "@radix-ui/react-dropdown-menu": "^2.1.12", "@radix-ui/react-form": "^0.1.6", "@radix-ui/react-label": "^2.1.4", + "@radix-ui/react-popover": "^1.1.14", "@radix-ui/react-slot": "^1.2.0", "@simplewebauthn/browser": "^13.1.0", "@stellar/stellar-sdk": "^13.3.0", "base64url": "^3.0.1", "bigint-conversion": "^2.4.3", + "cbor-x": "^1.6.0", "class-variance-authority": "^0.7.1", "clsx": "^2.1.1", @@ -31,6 +33,7 @@ "react-dom": "^18.2.0", "react-hook-form": "^7.51.0", "react-hot-toast": "^2.5.2", + "react-intersection-observer": "^9.16.0", "sodium-universal": "^5.0.1", "stellar-sdk": "^13.3.0", "tailwind-merge": "^3.2.0", diff --git a/apps/web/public/images/avatar-1.jpg b/apps/web/public/images/avatar-1.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/avatar-2.jpg b/apps/web/public/images/avatar-2.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/avatar-3.jpg b/apps/web/public/images/avatar-3.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/house.jpg b/apps/web/public/images/house.jpg new file mode 100644 index 00000000..6603ad28 Binary files /dev/null and b/apps/web/public/images/house.jpg differ diff --git a/apps/web/public/images/house1.jpg b/apps/web/public/images/house1.jpg new file mode 100644 index 00000000..14c5658e Binary files /dev/null and b/apps/web/public/images/house1.jpg differ diff --git a/apps/web/public/images/house2.jpg b/apps/web/public/images/house2.jpg new file mode 100644 index 00000000..82265f6c Binary files /dev/null and b/apps/web/public/images/house2.jpg differ diff --git a/apps/web/public/images/house3.jpg b/apps/web/public/images/house3.jpg new file mode 100644 index 00000000..b604c973 Binary files /dev/null and b/apps/web/public/images/house3.jpg differ diff --git a/apps/web/public/images/house4.jpg b/apps/web/public/images/house4.jpg new file mode 100644 index 00000000..a93ed282 Binary files /dev/null and b/apps/web/public/images/house4.jpg differ diff --git a/apps/web/public/images/house5.jpg b/apps/web/public/images/house5.jpg new file mode 100644 index 00000000..959f00e9 Binary files /dev/null and b/apps/web/public/images/house5.jpg differ diff --git a/apps/web/public/images/property-1.jpg b/apps/web/public/images/property-1.jpg new file mode 100644 index 00000000..8b137891 --- /dev/null +++ b/apps/web/public/images/property-1.jpg @@ -0,0 +1 @@ + diff --git a/apps/web/public/images/property-2.jpg b/apps/web/public/images/property-2.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/property-3.jpg b/apps/web/public/images/property-3.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/property-4.jpg b/apps/web/public/images/property-4.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/property-5.jpg b/apps/web/public/images/property-5.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/public/images/property-6.jpg b/apps/web/public/images/property-6.jpg new file mode 100644 index 00000000..e69de29b diff --git a/apps/web/src/app/layout.tsx b/apps/web/src/app/layout.tsx index ea96bd29..c664303d 100644 --- a/apps/web/src/app/layout.tsx +++ b/apps/web/src/app/layout.tsx @@ -28,7 +28,7 @@ export default function RootLayout({
-
{children}
+
{children}
diff --git a/apps/web/src/app/page.tsx b/apps/web/src/app/page.tsx index 893d6642..99c5da3a 100644 --- a/apps/web/src/app/page.tsx +++ b/apps/web/src/app/page.tsx @@ -1,13 +1,39 @@ -import Image from 'next/image'; +import { FeaturedProperties } from '@/components/features/properties/FeaturedProperties'; +import { SearchBar } from '@/components/features/search/SearchBar'; +import { HowItWorks } from '@/components/shared/HowItWorks'; +import { Testimonials } from '@/components/shared/Testimonials'; +import { Footer } from '@/components/shared/layout/Footer'; +import { HeroSection } from '@/components/shared/layout/HeroSection'; +import { Suspense } from 'react'; export default function Home() { - const mensaje = 'Hola Mundo'; - const fecha = new Date().toLocaleDateString(); - return ( -
-

{mensaje}

-

Fecha: {fecha}

+
+ {/* Hero Section */} +
+ +
+ +
+
+ + {/* Featured Properties Section */} + Loading properties...
}> + + + + {/* How It Works Section */} +
+ +
+ + {/* Testimonials Section */} +
+ +
+ + {/* Footer */} +