diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 9f9ffc7..454da76 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -57,28 +57,28 @@ export default function Layout() { brand="Restoran Barrel" columns={[ { - title: "Navigation", + title: "Navigacija", items: [ { - label: "About", + label: "O nama", href: "#about", }, { - label: "Menu", + label: "Jelovnik", href: "#menu", }, { - label: "Contact", + label: "Kontakt", href: "#contact", }, ], }, { - title: "Socials", + title: "Društvene mreže", items: [ { label: "Instagram", - href: "#", + href: "https://www.instagram.com/restoran_barrel/", }, { label: "Facebook", @@ -87,27 +87,27 @@ export default function Layout() { ], }, { - title: "Legal", + title: "Kontakt", items: [ { - label: "Privacy Policy", - href: "#", + label: "info@restoran-barrel.hr", + href: "mailto:info@restoran-barrel.hr", }, { - label: "Terms of Use", - href: "#", + label: "+385 1 2043 419", + href: "tel:+38512043419", }, ], }, ]} - copyright="© 2024 Restoran Barrel. All rights reserved." + copyright="© 2024 Restoran Barrel. Sva prava pridržana." links={[ { - label: "Privacy Policy", + label: "Politika privatnosti", href: "#", }, { - label: "Terms", + label: "Uvjeti korištenja", href: "#", }, ]} diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index 15d77ae..a01f88a 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,217 +1,35 @@ -import AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; -import ContactCta from '@/components/sections/contact/ContactCta'; -import FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; -import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; -import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; -import HeroSplit from '@/components/sections/hero/HeroSplit'; -import TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; -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 AboutSection from './HomePage/sections/About'; +import FeaturesSection from './HomePage/sections/Features'; +import MenuSection from './HomePage/sections/Menu'; +import TestimonialSection from './HomePage/sections/Testimonial'; +import FaqSection from './HomePage/sections/Faq'; +import ContactSection from './HomePage/sections/Contact'; + + +import GallerySection from './HomePage/sections/Gallery';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..d2a9aa7 --- /dev/null +++ b/src/pages/HomePage/sections/About.tsx @@ -0,0 +1,21 @@ +// 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 AboutMediaOverlay from '@/components/sections/about/AboutMediaOverlay'; +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..2041ed0 --- /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..623d477 --- /dev/null +++ b/src/pages/HomePage/sections/Faq.tsx @@ -0,0 +1,38 @@ +// 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 FaqTwoColumn from '@/components/sections/faq/FaqTwoColumn'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FaqSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Features.tsx b/src/pages/HomePage/sections/Features.tsx new file mode 100644 index 0000000..5eb56d1 --- /dev/null +++ b/src/pages/HomePage/sections/Features.tsx @@ -0,0 +1,49 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "features" section. + +import React from 'react'; +import FeaturesDetailedCards from '@/components/sections/features/FeaturesDetailedCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function FeaturesSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Gallery.tsx b/src/pages/HomePage/sections/Gallery.tsx new file mode 100644 index 0000000..9a332b3 --- /dev/null +++ b/src/pages/HomePage/sections/Gallery.tsx @@ -0,0 +1,78 @@ +import { motion } from "motion/react" +import TextAnimation from "@/components/ui/TextAnimation" +import ScrollReveal from "@/components/ui/ScrollReveal" +import ImageOrVideo from "@/components/ui/ImageOrVideo" +import Tag from "@/components/ui/Tag" +import Button from "@/components/ui/Button" + +export default function GallerySection() { + const items = [ + { + title: "Odrezak", + description: "Naš prepoznatljivi odrezak, savršeno pečen.", + imageSrc: "https://images.unsplash.com/photo-1544025162-d76694265947?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" + }, + { + title: "Salata", + description: "Svježa i ukusna salata s lokalnim sastojcima.", + imageSrc: "https://images.unsplash.com/photo-1512621776951-a57141f2eefd?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" + }, + { + title: "Ambijent", + description: "Naš ugodan i topao interijer.", + imageSrc: "https://images.unsplash.com/photo-1517248135467-4c7edcad34c4?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" + }, + { + title: "Terasa", + description: "Uživajte u obroku na našoj prostranoj terasi.", + imageSrc: "https://images.unsplash.com/photo-1555396273-367ea4eb4db5?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80" + } + ]; + + return ( + + ); +} \ No newline at end of file diff --git a/src/pages/HomePage/sections/Hero.tsx b/src/pages/HomePage/sections/Hero.tsx new file mode 100644 index 0000000..d59f21e --- /dev/null +++ b/src/pages/HomePage/sections/Hero.tsx @@ -0,0 +1,23 @@ +// 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 HeroSplit from '@/components/sections/hero/HeroSplit'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function HeroSection(): React.JSX.Element { + return ( +
+ + + +
+ ); +} diff --git a/src/pages/HomePage/sections/Menu.tsx b/src/pages/HomePage/sections/Menu.tsx new file mode 100644 index 0000000..83b81ab --- /dev/null +++ b/src/pages/HomePage/sections/Menu.tsx @@ -0,0 +1,57 @@ +// AUTO-GENERATED by per-section-migrate. Edit freely — Bob will treat this +// file as the canonical source for the "menu" section. + +import React from 'react'; +import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function MenuSection(): 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..5fc52c0 --- /dev/null +++ b/src/pages/HomePage/sections/Testimonial.tsx @@ -0,0 +1,52 @@ +// 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 TestimonialMarqueeCards from '@/components/sections/testimonial/TestimonialMarqueeCards'; +import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; + +export default function TestimonialSection(): React.JSX.Element { + return ( +
+ + +
+ ); +}