From d97d9d50b6b0f9001bf5b1265dfa01b4601475d9 Mon Sep 17 00:00:00 2001 From: kudinDmitriyUp Date: Sun, 14 Jun 2026 19:48:11 +0000 Subject: [PATCH 1/2] Bob AI: fix build error in src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index d625d7e..d4c01a6 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,5 +1,9 @@ import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import BlogArticle from '@/components/sections/blog/BlogArticle'; +import _BlogArticle from '@/components/sections/blog/BlogArticle'; + +const BlogArticle = (props: { category: string; title: string; content: string; imageSrc: string; authorName: string; date: string; }) => ( + <_BlogArticle {...props} authorImageSrc="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=150&h=150&fit=crop&crop=faces" /> +); import ContactCta from '@/components/sections/contact/ContactCta'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroBrand from '@/components/sections/hero/HeroBrand'; -- 2.49.1 From ab270d113fdd94d6a60981d941a9febe5dce1867 Mon Sep 17 00:00:00 2001 From: bender Date: Sun, 14 Jun 2026 19:48:17 +0000 Subject: [PATCH 2/2] Update src/pages/HomePage.tsx --- src/pages/HomePage.tsx | 63 ++++++++++-------------------------------- 1 file changed, 14 insertions(+), 49 deletions(-) diff --git a/src/pages/HomePage.tsx b/src/pages/HomePage.tsx index d4c01a6..ffcf5bf 100644 --- a/src/pages/HomePage.tsx +++ b/src/pages/HomePage.tsx @@ -1,9 +1,5 @@ import AboutTextSplit from '@/components/sections/about/AboutTextSplit'; -import _BlogArticle from '@/components/sections/blog/BlogArticle'; - -const BlogArticle = (props: { category: string; title: string; content: string; imageSrc: string; authorName: string; date: string; }) => ( - <_BlogArticle {...props} authorImageSrc="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?w=150&h=150&fit=crop&crop=faces" /> -); +import BlogArticle from '@/components/sections/blog/BlogArticle'; import ContactCta from '@/components/sections/contact/ContactCta'; import FeaturesImageBento from '@/components/sections/features/FeaturesImageBento'; import HeroBrand from '@/components/sections/hero/HeroBrand'; @@ -18,13 +14,9 @@ export default function HomePage() { brand="ROST CHICKENS&BURGERS" description="Lezzetin doruk noktası! Taze malzemelerle hazırlanan en iyi burgerler ve çıtır tavuklar sizi bekliyor." primaryButton={{ - text: "Menüyü Gör", - href: "#menu", - }} + text: "Menüyü Gör", href: "#menu"}} secondaryButton={{ - text: "Sipariş Ver", - href: "#contact", - }} + text: "Sipariş Ver", href: "#contact"}} imageSrc="http://img.b2bpic.net/free-photo/close-up-delicious-cheeseburger_23-2148374905.jpg" /> @@ -35,10 +27,7 @@ export default function HomePage() { @@ -51,40 +40,19 @@ export default function HomePage() { description="En sevilen lezzetlerimizi keşfedin." items={[ { - title: "Classic Burger", - description: "Özel soslu dana köfte", - imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-corn-dogs-arrangement_23-2149455098.jpg", - }, + title: "Classic Burger", description: "Özel soslu dana köfte", imageSrc: "http://img.b2bpic.net/free-photo/top-view-delicious-corn-dogs-arrangement_23-2149455098.jpg"}, { - title: "Crispy Chicken", - description: "Çıtır dış yüzey, sulu iç", - imageSrc: "http://img.b2bpic.net/free-photo/young-woman-enjoying-some-street-food_23-2149009618.jpg", - }, + title: "Crispy Chicken", description: "Çıtır dış yüzey, sulu iç", imageSrc: "http://img.b2bpic.net/free-photo/young-woman-enjoying-some-street-food_23-2149009618.jpg"}, { - title: "Cheeseburger", - description: "Bol peynirli efsane", - imageSrc: "http://img.b2bpic.net/free-photo/front-view-hamburger-tasty-with-green-salad-other-ingredients-inside-round-plate-dark-surface_140725-11626.jpg", - }, + title: "Cheeseburger", description: "Bol peynirli efsane", imageSrc: "http://img.b2bpic.net/free-photo/front-view-hamburger-tasty-with-green-salad-other-ingredients-inside-round-plate-dark-surface_140725-11626.jpg"}, { - title: "Spicy Wings", - description: "Acı sevenlere özel", - imageSrc: "http://img.b2bpic.net/free-photo/black-cheeseburger-topped-with-sesame-seeds_140725-3709.jpg", - }, + title: "Spicy Wings", description: "Acı sevenlere özel", imageSrc: "http://img.b2bpic.net/free-photo/black-cheeseburger-topped-with-sesame-seeds_140725-3709.jpg"}, { - title: "Onion Rings", - description: "Mükemmel kıvamda", - imageSrc: "http://img.b2bpic.net/free-photo/side-view-chicken-nuggets-with-french-fries-ketchup-board_141793-4842.jpg", - }, + title: "Onion Rings", description: "Mükemmel kıvamda", imageSrc: "http://img.b2bpic.net/free-photo/side-view-chicken-nuggets-with-french-fries-ketchup-board_141793-4842.jpg"}, { - title: "French Fries", - description: "Altın sarısı çıtırlar", - imageSrc: "http://img.b2bpic.net/free-photo/burger-closeup-fast-food-cheat-meal-concept-junk-food_169016-67425.jpg", - }, + title: "French Fries", description: "Altın sarısı çıtırlar", imageSrc: "http://img.b2bpic.net/free-photo/burger-closeup-fast-food-cheat-meal-concept-junk-food_169016-67425.jpg"}, { - title: "Milkshake", - description: "Tatlı bir kapanış", - imageSrc: "http://img.b2bpic.net/free-photo/cheeseburger-with-melted-cheese-french-fries-wooden-board_84443-94868.jpg", - }, + title: "Milkshake", description: "Tatlı bir kapanış", imageSrc: "http://img.b2bpic.net/free-photo/cheeseburger-with-melted-cheese-french-fries-wooden-board_84443-94868.jpg"}, ]} /> @@ -98,6 +66,7 @@ export default function HomePage() { content="Sizlerden gelen yoğun istek üzerine yeni burger çeşitlerimizi ve özel soslu çıtır tavuklarımızı menümüze ekledik. Denemek için hemen şubemize bekliyoruz!" imageSrc="http://img.b2bpic.net/free-photo/grilled-cheeseburger-fries-refreshment-lunch-generated-by-ai_188544-16106.jpg" authorName="Admin" + authorImageSrc="http://img.b2bpic.net/free-photo/beef-burger-served-with-french-fries-mayonnaise-ketchup_140725-536.jpg" date="2024-05-20" /> @@ -109,13 +78,9 @@ export default function HomePage() { tag="İletişim" text="Sipariş vermek veya rezervasyon için bize ulaşın." primaryButton={{ - text: "Bizi Arayın", - href: "tel:+905550000000", - }} + text: "Bizi Arayın", href: "tel:+905550000000"}} secondaryButton={{ - text: "Konum Alın", - href: "#", - }} + text: "Konum Alın", href: "#"}} /> -- 2.49.1