diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 1530d06..95b0a72 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -8,25 +8,19 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ { - "name": "Home", "href": "/" + "name": "Ana Sayfa", "href": "/" }, { - "name": "Collections", "href": "/collections" + "name": "Koleksiyonlar", "href": "/collections" }, { - "name": "About", "href": "/about" + "name": "Hakkımızda", "href": "/about" }, { - "name": "Gallery", "href": "/gallery" + "name": "Galeri", "href": "/gallery" }, { - "name": "Contact", "href": "#contact" - }, - { - "name": "Hero", "href": "#hero" - }, - { - "name": "Metrics", "href": "#metrics" + "name": "İletişim", "href": "#contact" } ]; @@ -38,7 +32,7 @@ export default function Layout() { logo="Luxe Bridal Atelier" logoImageSrc="http://img.b2bpic.net/free-vector/hand-drawn-wedding-logo-design_23-2150233585.jpg" ctaButton={{ - text: "Book Appointment", href: "/booking"}} + text: "Randevu Al", href: "/booking"}} navItems={navItems} /> @@ -52,17 +46,17 @@ export default function Layout() { { items: [ { - label: "About", href: "/about"}, + label: "Hakkımızda", href: "/about"}, { - label: "Collections", href: "/collections"}, + label: "Koleksiyonlar", href: "/collections"}, ], }, { items: [ { - label: "Appointments", href: "/booking"}, + label: "Randevular", href: "/booking"}, { - label: "Contact", href: "/contact"}, + label: "İletişim", href: "/contact"}, ], }, ]} diff --git a/src/pages/CollectionsPage.tsx b/src/pages/CollectionsPage.tsx index 8a5f1df..4916821 100644 --- a/src/pages/CollectionsPage.tsx +++ b/src/pages/CollectionsPage.tsx @@ -1,110 +1,18 @@ -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; -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 CollectionsPage() { +import React from 'react'; +import CollectionsGridSection from './CollectionsPage/sections/CollectionsGrid'; +import ProductSection from './CollectionsPage/sections/Product'; + +export default function CollectionsPage(): React.JSX.Element { return ( - <> -
- - - -
+<> + -
- - - -
+ ); } diff --git a/src/pages/CollectionsPage/sections/CollectionsGrid.tsx b/src/pages/CollectionsPage/sections/CollectionsGrid.tsx new file mode 100644 index 0000000..52266c5 --- /dev/null +++ b/src/pages/CollectionsPage/sections/CollectionsGrid.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "collections-grid" section. + +import React from 'react'; +import FeaturesRevealCardsBento from '@/components/sections/features/FeaturesRevealCardsBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function CollectionsGridSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/CollectionsPage/sections/Product.tsx b/src/pages/CollectionsPage/sections/Product.tsx new file mode 100644 index 0000000..6c1e1ff --- /dev/null +++ b/src/pages/CollectionsPage/sections/Product.tsx @@ -0,0 +1,21 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "product" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function ProductSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +}