From c2e232758310744ac0023d3c833e2133d859b977 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 21 Jun 2026 12:49:38 +0000 Subject: [PATCH 1/3] Bob AI: fix build error in src/components/Layout.tsx --- src/components/Layout.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index c3acf72..bfed278 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -57,7 +57,7 @@ export default function Layout() { brand="CARIBIC" columns={[ { - title: "Meni", + heading: "Meni", items: [ { label: "Meni", @@ -74,7 +74,7 @@ export default function Layout() { ], }, { - title: "Kompanija", + heading: "Kompanija", items: [ { label: "O nama", @@ -91,7 +91,7 @@ export default function Layout() { ], }, { - title: "Podrška", + heading: "Podrška", items: [ { label: "Kontakt", -- 2.49.1 From 4d783bf9c2a9cffa182a765250df6ab15adc9d30 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 12:49:47 +0000 Subject: [PATCH 2/3] Update src/components/Layout.tsx --- src/components/Layout.tsx | 118 +++++++++++--------------------------- 1 file changed, 33 insertions(+), 85 deletions(-) diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index bfed278..08d64fe 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -7,108 +7,56 @@ import { StyleProvider } from "@/components/ui/StyleProvider"; export default function Layout() { const navItems = [ - { - "name": "Home", - "href": "#hero" - }, - { - "name": "Meni", - "href": "#products" - }, - { - "name": "Lokacije", - "href": "#locations" - }, - { - "name": "Kontakt", - "href": "#contact" - }, - { - "name": "Features", - "href": "#features" - }, - { - "name": "Metrics", - "href": "#metrics" - }, - { - "name": "Testimonials", - "href": "#testimonials" - } -]; + { name: "Home", href: "#hero" }, + { name: "Meni", href: "#products" }, + { name: "Lokacije", href: "#locations" }, + { name: "Kontakt", href: "#contact" }, + { name: "Features", href: "#features" }, + { name: "Metrics", href: "#metrics" }, + { name: "Testimonials", href: "#testimonials" } + ]; return ( + logo="CARIBIC" + ctaButton={{ + text: "Naruči odmah", href: "#order"}} + navItems={navItems} + />
+ items: [ + { label: "Kontakt", href: "#" }, + { label: "Moj nalog", href: "#" }, + { label: "Korpa", href: "#" } + ] + } + ]} + />
); -- 2.49.1 From daa2f55c19761e5840ded7310d6b0fb0ab65e449 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 21 Jun 2026 12:49:48 +0000 Subject: [PATCH 3/3] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 321 +++++++++++++---------------------------- 1 file changed, 103 insertions(+), 218 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index c339fa6..e11b9c6 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -11,239 +11,124 @@ import SectionErrorBoundary from "@/components/ui/SectionErrorBoundary"; export default function HomePage() { return ( <> -
- +
+ - -
+ brand="GLAD NE ČEKA." + description="Najomiljenija pizza, burgeri i palačinke u gradu. Ni mi." + primaryButton={{ + text: "Naruči odmah", href: "#order"}} + secondaryButton={{ + text: "Pogledaj meni", href: "#products"}} + videoSrc="http://img.b2bpic.net/free-photo/view-somorrostro-beach-barcelona_1398-4869.jpg" + /> +
+
-
- +
+ - -
+ tag="Kad si gladan" + title="Znaš gde ideš" + description="Od omiljenih klasika do novih ukusa, Caribic je tvoja sigurna luka." + features={[ + { title: "Pizza", description: "Od Kaprićoze do Mexico pice, uvek sveže.", imageSrc: "http://img.b2bpic.net/free-photo/medium-shot-people-traveling-by-car_23-2149204043.jpg" }, + { title: "Burgeri", description: "Sočni, veliki, pravi. Spremljeni za tebe.", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-tasty-hamburger-wooden-plate-restaurant_181624-50415.jpg" }, + { title: "Palačinke", description: "Slatki razlog zbog kog se uvek vraćaš.", imageSrc: "http://img.b2bpic.net/free-photo/plate-homemade-crepes-with-chocolate-topping-glass-coffee_114579-90910.jpg" }, + { title: "Iznenađenje", description: "Uvek tu kada ti najviše treba.", imageSrc: "http://img.b2bpic.net/free-photo/elevated-view-pizza-with-bacon-arugula-leaves-near-sliced-yellow-bell-pepper-garlic-bulb-tomato-wooden-spoon_23-2148076092.jpg" } + ]} + /> +
+
-
- +
+ - -
+ tag="Tradicija" + title="Hiljade porudžbina. Isti ukus." + description="Preko 20 godina poverenja nas čini prvim izborom grada." + metrics={[ + { icon: "Star", title: "Google recenzije", value: "1790+" }, + { icon: "Award", title: "Prosečna ocena", value: "4.1" }, + { icon: "Smile", title: "Zadovoljnih kupaca", value: "100k+" } + ]} + /> +
+
-
- +
+ - -
+ tag="Šta kažu ljudi" + title="Omiljeni ukus grada" + description="Više od dve decenije grad raste zajedno sa nama." + testimonials={[ + { name: "Dani A.", role: "Verni kupac", company: "Beograd", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-hand-holding-sauce-bottle_23-2148773532.jpg" }, + { name: "Miloš Z.", role: "Entuzijasta", company: "Novi Sad", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-fresh-bacon-burgers_23-2148784482.jpg" }, + { name: "Jana K.", role: "Redovna mušterija", company: "Niš", rating: 5, imageSrc: "http://img.b2bpic.net/top-view-delicious-pancakes-with-nuts-dark-blue-surface_179666-44490.jpg" }, + { name: "Marko P.", role: "Student", company: "Beograd", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/close-up-delivery-guy-holding-pizza-box_23-2148247854.jpg" }, + { name: "Sara B.", role: "Kupac", company: "Novi Sad", rating: 5, imageSrc: "http://img.b2bpic.net/free-photo/male-s-hands-holding-delicious-double-cheeseburger_181624-56398.jpg" } + ]} + /> +
+
-
- +
+ - -
+ tag="Najprodavanije" + title="Ono što grad voli" + description="Premium ukusi koji su postali gradska navika." + items={[ + { title: "Kaprićoza", description: "Klasik koji se ne menja.", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-pizza-arrangement_23-2150134255.jpg" }, + { title: "Mexico", description: "Za one koji traže jači ukus.", imageSrc: "http://img.b2bpic.net/free-photo/italian-lasagne-garnished-with-tomato-sauce-grated-parmesan-served-with-red-wine_141793-1907.jpg" }, + { title: "Kulen", description: "Pikantno i hrskavo.", imageSrc: "http://img.b2bpic.net/free-photo/picturesque-view-girona-with-river-sunny-day_1398-4357.jpg" }, + { title: "Veggie", description: "Sveže povrće iz peći.", imageSrc: "http://img.b2bpic.net/free-photo/freshly-baked-pizza-wooden-surface_181624-5783.jpg" }, + { title: "Cheeseburger", description: "Sočna klasika.", imageSrc: "http://img.b2bpic.net/free-photo/delicious-vegan-burger-presentation_23-2151910909.jpg" }, + { title: "Nutela Palačinka", description: "Najdraži slatkiš.", imageSrc: "http://img.b2bpic.net/free-photo/pancakes-with-chocolade-table_140725-8744.jpg" }, + { title: "Ice Cream", description: "Savršen kraj obroka.", imageSrc: "http://img.b2bpic.net/free-photo/chicken-wrap-toppped-with-sweet-chili_140725-3378.jpg" } + ]} + /> +
+
-
- +
+ - -
+ tag="Mobilna aplikacija" + title="Caribic u džepu" + description="Naruči svoj omiljeni obrok sa bilo kog mesta. Jedan klik do zadovoljstva." + items={[ + { icon: "Smartphone", title: "Brza narudžbina", description: "Sistem pamti tvoju omiljenu kombinaciju." }, + { icon: "Clock", title: "Prati dostavu", description: "Znaš tačno kada hrana stiže do tebe." }, + { icon: "Gift", title: "Ekskluzivne akcije", description: "Samo za korisnike naše aplikacije." } + ]} + imageSrc="http://img.b2bpic.net/free-photo/elegant-man-with-smartphone_1134-541.jpg" + /> +
+
-
- +
+ - -
+ tag="Gde smo" + text="Caribic je tu u svakom delu grada. Pronađi najbližu lokaciju." + primaryButton={{ text: "Pronađi lokaciju", href: "#" }} + secondaryButton={{ text: "Pregledaj sve", href: "#" }} + /> +
+
-
- +
+ - -
+ tag="Večera je rešena" + text="Naruči za manje od 30 sekundi." + primaryButton={{ text: "Naruči odmah", href: "#" }} + secondaryButton={{ text: "Pozovi nas", href: "tel:021000000" }} + /> +
+
); } -- 2.49.1