diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 8d9f031..d1f17aa 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -12,8 +12,8 @@ export default function Layout() { "href": "/" }, { - "name": "Banyo Dolabı", - "href": "#products" + "name": "Modeller", + "href": "#catalog" }, { "name": "Projeler", @@ -26,14 +26,6 @@ export default function Layout() { { "name": "İletişim", "href": "#contact" - }, - { - "name": "Hero", - "href": "#hero" - }, - { - "name": "Metrics", - "href": "#metrics" } ]; @@ -42,9 +34,9 @@ export default function Layout() { diff --git a/src/index.css b/src/index.css index 5b911dc..ced9b99 100644 --- a/src/index.css +++ b/src/index.css @@ -5,15 +5,15 @@ :root { /* @colorThemes/lightTheme/grayNavyBlue */ - --background: #0B0B0B; - --card: #171717; - --foreground: #F8F6F2; - --primary-cta: #D4A64F; - --primary-cta-text: #0B0B0B; - --secondary-cta: #171717; - --secondary-cta-text: #D4A64F; - --accent: #D4A64F; - --background-accent: #171717; + --background: #F7F9FC; + --card: #FFFFFF; + --foreground: #1A1A1A; + --primary-cta: #0F2744; + --primary-cta-text: #FFFFFF; + --secondary-cta: #FFFFFF; + --secondary-cta-text: #0F2744; + --accent: #3B82F6; + --background-accent: #2D5B8A; /* @layout/border-radius/rounded */ --radius: 1.5rem; diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index e385393..cfe715b 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,265 +1,41 @@ -import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; -import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroBrand from '@/components/sections/hero/HeroBrand'; -import MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; -import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -import { Award, Building2, ShieldCheck, Sparkles } from "lucide-react"; -import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; +// AUTO-GENERATED shell by per-section-migrate. +// Section bodies live in .//sections/.tsx. Edit the section +// files directly. Non-block content (wrappers, non-inlinable sections) is +// preserved inline; extracted section blocks become refs. -export default function HomePage() { +import React from 'react'; +import HeroSection from './HomePage/sections/Hero'; +import MetricsSection from './HomePage/sections/Metrics'; +import ProductsSection from './HomePage/sections/Products'; +import AboutSection from './HomePage/sections/About'; +import BeforeAfterSection from './HomePage/sections/BeforeAfter'; +import ProjectsSection from './HomePage/sections/Projects'; +import TestimonialsSection from './HomePage/sections/Testimonials'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import CatalogSection from './HomePage/sections/Catalog';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..5337906 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,19 @@ +// 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 AboutTextSplit from '@/components/sections/about/AboutTextSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function AboutSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/BeforeAfter.tsx b/src/pages/HomePage/sections/BeforeAfter.tsx new file mode 100644 index 0000000..307200b --- /dev/null +++ b/src/pages/HomePage/sections/BeforeAfter.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "before-after" section. + +import React from 'react'; +import FeaturesArrowCards from '@/components/sections/features/FeaturesArrowCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function BeforeAfterSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Catalog.tsx b/src/pages/HomePage/sections/Catalog.tsx new file mode 100644 index 0000000..535aa73 --- /dev/null +++ b/src/pages/HomePage/sections/Catalog.tsx @@ -0,0 +1,55 @@ +import { motion } from "motion/react" +import Button from "@/components/ui/Button" +import Card from "@/components/ui/Card" +import ScrollReveal from "@/components/ui/ScrollReveal" + +export default function CatalogSection() { + return ( +
+
+ +
+ Katalog +

Lüks Modellerimiz

+

+ Her banyoya uygun, özel tasarım ve yüksek kaliteli malzemelerle üretilmiş model seçeneklerimiz. +

+
+
+ +
+ {[ + "NOVA LINE", "PANORAMA", "TIRTIKLI", "INCI", "MONVERA", "TREVIA", "VIRELLO", "VERION", + "VALENC", "SAVERO", "VENSA", "SELVO", "LORYA", "CORVINO", "MOVENTO", "LIRO", + "RIVO", "VEXO", "ORVO", "ZARO", "NEXO", "TAVO", "ELORIA", "VARELLO", + "LIVANO", "CORVATO", "CERVON", "VELTRIX", "NOVENTIS", "MARVELLO", "ELVANE", "LARO", + "SENO", "VANO", "NEXORA", "VALTERO", "AVORIA", "LUXSIRA", "VANTIO", "ORVION" + ].map((model, index) => ( + + +
+ {`${model} +
+
+
+
KOD: {model.replace(/\s+/g, '')}-24
+

{model}

+
+ + + ))} +
+
+
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Contact.tsx b/src/pages/HomePage/sections/Contact.tsx new file mode 100644 index 0000000..1cc39fb --- /dev/null +++ b/src/pages/HomePage/sections/Contact.tsx @@ -0,0 +1,21 @@ +// 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/Faq.tsx b/src/pages/HomePage/sections/Faq.tsx new file mode 100644 index 0000000..0f94ada --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,22 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "faq" section. + +import React from 'react'; +import FaqSplitMedia from '@/components/sections/faq/FaqSplitMedia'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): 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..86d5cf1 --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,22 @@ +// 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 HeroBrand from '@/components/sections/hero/HeroBrand'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): 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..3b8ce73 --- /dev/null +++ b/src/pages/HomePage/sections/Metrics.tsx @@ -0,0 +1,22 @@ +// 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 MetricsIconCards from '@/components/sections/metrics/MetricsIconCards'; +import { Award, Building2, ShieldCheck, Sparkles } from "lucide-react"; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MetricsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Products.tsx b/src/pages/HomePage/sections/Products.tsx new file mode 100644 index 0000000..4148d4f --- /dev/null +++ b/src/pages/HomePage/sections/Products.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "products" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProductsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Projects.tsx b/src/pages/HomePage/sections/Projects.tsx new file mode 100644 index 0000000..feb5162 --- /dev/null +++ b/src/pages/HomePage/sections/Projects.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "projects" section. + +import React from 'react'; +import SocialProofMarquee from '@/components/sections/social-proof/SocialProofMarquee'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProjectsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Testimonials.tsx b/src/pages/HomePage/sections/Testimonials.tsx new file mode 100644 index 0000000..1cbebf0 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonials.tsx @@ -0,0 +1,52 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "testimonials" section. + +import React from 'react'; +import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialsSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}