diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index d6cdeff..59af375 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,177 +1,37 @@ -import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; -import BlogArticle from '@/components/sections/blog/BlogArticle'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -import HeroSplitVerticalMarqueeTall from '@/components/sections/hero/HeroSplitVerticalMarqueeTall'; -import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; -import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in the sibling sections/ folder (one file per section). +// Edit those section files directly. Non-block content (wrappers, +// non-inlinable sections) is preserved inline; extracted section blocks +// become component refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import MetricsSection from './HomePage/sections/Metrics'; +import AboutSection from './HomePage/sections/About'; +import UnitSection from './HomePage/sections/Unit'; +import InsightSection from './HomePage/sections/Insight'; +import RegionSection from './HomePage/sections/Region'; +import TestimonialSection from './HomePage/sections/Testimonial'; +import ContactSection from './HomePage/sections/Contact'; + +export default function HomePage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ -
- - - -
+ ); } diff --git a/src/pages/HomePage/sections/About.tsx b/src/pages/HomePage/sections/About.tsx new file mode 100644 index 0000000..759b4cf --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,23 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "about" section. + +import React from 'react'; +import AboutTestimonial from '@/components/sections/about/AboutTestimonial'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..99d5ecb --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,24 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "contact" section. + +import React from 'react'; +import ContactCta from '@/components/sections/contact/ContactCta'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ContactSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..1de1d8c --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,37 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "hero" section. + +import React from 'react'; +import HeroSplitVerticalMarqueeTall from '@/components/sections/hero/HeroSplitVerticalMarqueeTall'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Insight.tsx b/src/pages/HomePage/sections/Insight.tsx new file mode 100644 index 0000000..0251705 --- /dev/null +++ b/src/pages/HomePage/sections/Insight.tsx @@ -0,0 +1,25 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "insight" section. + +import React from 'react'; +import BlogArticle from '@/components/sections/blog/BlogArticle'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function InsightSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Metrics.tsx b/src/pages/HomePage/sections/Metrics.tsx new file mode 100644 index 0000000..292b8f1 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "metrics" section. + +import React from 'react'; +import MetricsSimpleCards from '@/components/sections/metrics/MetricsSimpleCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Region.tsx b/src/pages/HomePage/sections/Region.tsx new file mode 100644 index 0000000..a726d1a --- /dev/null +++ b/src/pages/HomePage/sections/Region.tsx @@ -0,0 +1,29 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "region" section. + +import React from 'react'; +import FeaturesMediaCarousel from '@/components/sections/features/FeaturesMediaCarousel'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function RegionSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonial.tsx b/src/pages/HomePage/sections/Testimonial.tsx new file mode 100644 index 0000000..91811e3 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonial.tsx @@ -0,0 +1,38 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonial" section. + +import React from 'react'; +import TestimonialOverlayCards from '@/components/sections/testimonial/TestimonialOverlayCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Unit.tsx b/src/pages/HomePage/sections/Unit.tsx new file mode 100644 index 0000000..ae46eae --- /dev/null +++ b/src/pages/HomePage/sections/Unit.tsx @@ -0,0 +1,163 @@ +/* eslint-disable */ +// @ts-nocheck — generated by catalog-eject; runtime-correct but TS strict-mode false-positives on inlined catalog body +import Button from "@/components/ui/Button"; +import TextAnimation from "@/components/ui/TextAnimation"; +import ImageOrVideo from "@/components/ui/ImageOrVideo"; +import ScrollReveal from "@/components/ui/ScrollReveal"; +import { cls } from "@/lib/utils"; + +const items = [ + { + title: "Golf Island Luxury Land View Sea and Golf", + description: "Yield 8% / Tahun", + href: "#", + imageSrc: "https://storage.googleapis.com/webild/users/user_3FvUPWGNNPPM6YThQS6Bj8ckkfW/uploaded-1783068149447-if6m1jur.jpg" + }, + { + title: "Golf Island Luxury Land View Sea and Golf", + description: "Yield 7.5% / Tahun", + href: "#", + imageSrc: "https://storage.googleapis.com/webild/users/user_3FvUPWGNNPPM6YThQS6Bj8ckkfW/uploaded-1783068149448-7yddeln2.jpg" + }, + { + title: "Golf Island Luxury Land View Sea and Golf", + description: "Prime Location", + href: "#", + imageSrc: "https://storage.googleapis.com/webild/users/user_3FvUPWGNNPPM6YThQS6Bj8ckkfW/uploaded-1783068149449-yjivk24i.jpg" + }, + { + title: "Apartemen PIK 2", + description: "Rental Yield 9%", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/white-business-center-with-beautiful-textures-unique-design-with-interior-staircases_181624-5365.jpg" + }, + { + title: "Waterfront Luxury Home", + description: "Yield 8.2% / Tahun", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/coral-color-grunge-texture-with-copyspace_24972-244.jpg" + }, + { + title: "PIK 2 Ruko Strategis", + description: "High ROI Potential", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/low-angle-architectural-structure-city_23-2148798659.jpg" + }, + { + title: "Premium Golf Estate", + description: "Limited Listing", + href: "#", + imageSrc: "http://img.b2bpic.net/free-photo/facade-window-colonial-style-bangkok-thailand_1150-10807.jpg" + } +]; + +type FeatureItem = { + title: string; + description: string; + href: string; +} & ({ imageSrc: string; videoSrc?: never } | { videoSrc: string; imageSrc?: never }); + +interface FeaturesRevealCardsBentoProps { + tag: string; + title: string; + description: string; + primaryButton?: { text: string; href: string }; + secondaryButton?: { text: string; href: string }; + items: [FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem, FeatureItem]; + textAnimation: "slide-up" | "fade-blur" | "fade"; +} + +const UnitInline = () => { + const gridClasses = [ + "md:col-span-2", + "md:col-span-4", + "md:col-span-3", + "md:col-span-3", + "md:col-span-2", + "md:col-span-2", + "md:col-span-2", + ]; + + const staggerDelays = [ + 0, + 0.1, + 0, + 0.1, + 0, + 0.1, + 0.2, + ]; + + return ( +
+
+
+
+

{"Listing Unggulan"}

+
+ + + + + + {(undefined || undefined) && ( +
+ {undefined &&
+ )} +
+ +
+ {items.map((item, index) => ( + + +
+ +
+
+
+ ); +}; + +export default function UnitSection() { + return ( +
+ +
+ ); +}