Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| ebd25f9642 |
207
src/app/page.tsx
207
src/app/page.tsx
@@ -31,21 +31,13 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "О нас",
|
||||
id: "#about",
|
||||
},
|
||||
name: "О нас", id: "#about"},
|
||||
{
|
||||
name: "Меню",
|
||||
id: "#products",
|
||||
},
|
||||
name: "Меню", id: "#products"},
|
||||
{
|
||||
name: "Отзывы",
|
||||
id: "#testimonials",
|
||||
},
|
||||
name: "Отзывы", id: "#testimonials"},
|
||||
{
|
||||
name: "Контакты",
|
||||
id: "#contact",
|
||||
},
|
||||
name: "Контакты", id: "#contact"},
|
||||
]}
|
||||
brandName="Братья Караваевы"
|
||||
/>
|
||||
@@ -57,35 +49,21 @@ export default function LandingPage() {
|
||||
description="Свежесть, традиции и уют в каждом кусочке. Откройте для себя наш ассортимент домашней кулинарии."
|
||||
buttons={[
|
||||
{
|
||||
text: "Смотреть меню",
|
||||
href: "#products",
|
||||
},
|
||||
text: "Смотреть меню", href: "#products"},
|
||||
]}
|
||||
slides={[
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/served-bavarian-grilled-sausages-with-veggies_23-2148167626.jpg",
|
||||
imageAlt: "fresh artisanal bread bakery",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/served-bavarian-grilled-sausages-with-veggies_23-2148167626.jpg", imageAlt: "fresh artisanal bread bakery"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/nuts-wooden-board_23-2147690220.jpg",
|
||||
imageAlt: "fresh artisanal bread bakery",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/nuts-wooden-board_23-2147690220.jpg", imageAlt: "fresh artisanal bread bakery"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/christmas-wreath-fir-tree-branches-vases-cups-all-around-modern-kitchen-modern-kitchen-with-black-fridge-decorated-christmas-new-year_132075-11267.jpg",
|
||||
imageAlt: "fresh artisanal bread bakery",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/christmas-wreath-fir-tree-branches-vases-cups-all-around-modern-kitchen-modern-kitchen-with-black-fridge-decorated-christmas-new-year_132075-11267.jpg", imageAlt: "fresh artisanal bread bakery"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cute-eco-toys-kids-indoors_23-2149884399.jpg",
|
||||
imageAlt: "fresh artisanal bread bakery",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/cute-eco-toys-kids-indoors_23-2149884399.jpg", imageAlt: "fresh artisanal bread bakery"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/grapes-garlic-variety-cheeses-jute-textile-wooden-plank_23-2148101764.jpg",
|
||||
imageAlt: "fresh artisanal bread bakery",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/grapes-garlic-variety-cheeses-jute-textile-wooden-plank_23-2148101764.jpg", imageAlt: "fresh artisanal bread bakery"},
|
||||
{
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-baker-s-hand-holding-round-rustics-bread_23-2147975067.jpg",
|
||||
imageAlt: "fresh artisanal bread bakery",
|
||||
},
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-baker-s-hand-holding-round-rustics-bread_23-2147975067.jpg", imageAlt: "fresh artisanal bread bakery"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -98,17 +76,11 @@ export default function LandingPage() {
|
||||
description="Мы верим в простые продукты и честный труд. Каждый день мы готовим с любовью, чтобы вы могли насладиться домашним вкусом в городской суете."
|
||||
bulletPoints={[
|
||||
{
|
||||
title: "Натуральные ингредиенты",
|
||||
description: "Используем только фермерские продукты без добавок.",
|
||||
},
|
||||
title: "Натуральные ингредиенты", description: "Используем только фермерские продукты без добавок."},
|
||||
{
|
||||
title: "Свежая выпечка",
|
||||
description: "Печем хлеб несколько раз в день.",
|
||||
},
|
||||
title: "Свежая выпечка", description: "Печем хлеб несколько раз в день."},
|
||||
{
|
||||
title: "Уютная атмосфера",
|
||||
description: "Место, где каждый гость становится другом.",
|
||||
},
|
||||
title: "Уютная атмосфера", description: "Место, где каждый гость становится другом."},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/yogurt-pot-tomatoes-herbs-olive-bottle-wooden-table_114579-4584.jpg"
|
||||
mediaAnimation="slide-up"
|
||||
@@ -119,52 +91,27 @@ export default function LandingPage() {
|
||||
<div id="products" data-section="products">
|
||||
<ProductCardOne
|
||||
animationType="slide-up"
|
||||
textboxLayout="default"
|
||||
textboxLayout="split-actions"
|
||||
buttons={[
|
||||
{
|
||||
text: "Перейти в полное меню", href: "/menu"
|
||||
}
|
||||
]}
|
||||
gridVariant="uniform-all-items-equal"
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Свежий хлеб",
|
||||
price: "150 ₽",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-hot-dogs-chopping-board-with-fig-almonds-white-marble-counter_23-2147956748.jpg",
|
||||
imageAlt: "fresh sourdough bread loaf",
|
||||
},
|
||||
id: "p1", name: "Свежий хлеб", price: "150 ₽", imageSrc: "http://img.b2bpic.net/free-photo/tasty-hot-dogs-chopping-board-with-fig-almonds-white-marble-counter_23-2147956748.jpg", imageAlt: "fresh sourdough bread loaf"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Круассан классический",
|
||||
price: "120 ₽",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/tasty-beautiful-croissants-wooden-board-traditional-continental-breakfast-granola-with-fruits-honey-background_1220-1315.jpg",
|
||||
imageAlt: "fresh croissant morning bakery",
|
||||
},
|
||||
id: "p2", name: "Круассан классический", price: "120 ₽", imageSrc: "http://img.b2bpic.net/free-photo/tasty-beautiful-croissants-wooden-board-traditional-continental-breakfast-granola-with-fruits-honey-background_1220-1315.jpg", imageAlt: "fresh croissant morning bakery"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Пирог с ягодами",
|
||||
price: "250 ₽",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/delicious-unhealthy-pastry-copy-space_23-2148516577.jpg",
|
||||
imageAlt: "fresh berry cake slice",
|
||||
},
|
||||
id: "p3", name: "Пирог с ягодами", price: "250 ₽", imageSrc: "http://img.b2bpic.net/free-photo/delicious-unhealthy-pastry-copy-space_23-2148516577.jpg", imageAlt: "fresh berry cake slice"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Сэндвич с ветчиной",
|
||||
price: "320 ₽",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-delicious-carrot-pastries-with-cream-nuts_181624-57423.jpg",
|
||||
imageAlt: "assorted healthy wraps",
|
||||
},
|
||||
id: "p4", name: "Сэндвич с ветчиной", price: "320 ₽", imageSrc: "http://img.b2bpic.net/free-photo/vertical-shot-delicious-carrot-pastries-with-cream-nuts_181624-57423.jpg", imageAlt: "assorted healthy wraps"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Салат Цезарь",
|
||||
price: "380 ₽",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/homemade-delicious-rustic-summer-berry-tartles_114579-10238.jpg",
|
||||
imageAlt: "gourmet sandwich fresh produce",
|
||||
},
|
||||
id: "p5", name: "Салат Цезарь", price: "380 ₽", imageSrc: "http://img.b2bpic.net/free-photo/homemade-delicious-rustic-summer-berry-tartles_114579-10238.jpg", imageAlt: "gourmet sandwich fresh produce"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Суп дня",
|
||||
price: "280 ₽",
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/view-vegan-pizza-done-with-vegetables-by-bakery_23-2150195159.jpg",
|
||||
imageAlt: "savory artisan quiche",
|
||||
},
|
||||
id: "p6", name: "Суп дня", price: "280 ₽", imageSrc: "http://img.b2bpic.net/free-photo/view-vegan-pizza-done-with-vegetables-by-bakery_23-2150195159.jpg", imageAlt: "savory artisan quiche"},
|
||||
]}
|
||||
title="Наш ассортимент"
|
||||
description="Попробуйте наши фирменные блюда, приготовленные по классическим рецептам."
|
||||
@@ -178,50 +125,20 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "1",
|
||||
name: "Анна С.",
|
||||
handle: "@anna",
|
||||
testimonial: "Всегда свежая выпечка и отличный кофе!",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-holding-doughnuts_23-2148495469.jpg",
|
||||
imageAlt: "happy customer eating pastry",
|
||||
},
|
||||
id: "1", name: "Анна С.", handle: "@anna", testimonial: "Всегда свежая выпечка и отличный кофе!", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-young-woman-holding-doughnuts_23-2148495469.jpg", imageAlt: "happy customer eating pastry"},
|
||||
{
|
||||
id: "2",
|
||||
name: "Дмитрий В.",
|
||||
handle: "@dim",
|
||||
testimonial: "Лучшее место для быстрого обеда в городе.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiley-mother-daughter-side-view_23-2149854624.jpg",
|
||||
imageAlt: "satisfied lunch guest",
|
||||
},
|
||||
id: "2", name: "Дмитрий В.", handle: "@dim", testimonial: "Лучшее место для быстрого обеда в городе.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/smiley-mother-daughter-side-view_23-2149854624.jpg", imageAlt: "satisfied lunch guest"},
|
||||
{
|
||||
id: "3",
|
||||
name: "Ольга П.",
|
||||
handle: "@olga",
|
||||
testimonial: "Очень атмосферно, как дома.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/person-drinking-coffee-spacious-cafeteria_23-2150424026.jpg",
|
||||
imageAlt: "smiling coffee shop visitor",
|
||||
},
|
||||
id: "3", name: "Ольга П.", handle: "@olga", testimonial: "Очень атмосферно, как дома.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/person-drinking-coffee-spacious-cafeteria_23-2150424026.jpg", imageAlt: "smiling coffee shop visitor"},
|
||||
{
|
||||
id: "4",
|
||||
name: "Иван М.",
|
||||
handle: "@ivan",
|
||||
testimonial: "Качество продуктов чувствуется сразу.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-showing-eclairs-bakery-counter_23-2148189123.jpg",
|
||||
imageAlt: "satisfied customer bakery",
|
||||
},
|
||||
id: "4", name: "Иван М.", handle: "@ivan", testimonial: "Качество продуктов чувствуется сразу.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/portrait-smiling-young-woman-showing-eclairs-bakery-counter_23-2148189123.jpg", imageAlt: "satisfied customer bakery"},
|
||||
{
|
||||
id: "5",
|
||||
name: "Елена К.",
|
||||
handle: "@elena",
|
||||
testimonial: "Люблю ваши пироги, постоянно захожу.",
|
||||
rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-pizza-side-view_23-2149872410.jpg",
|
||||
imageAlt: "customer enjoyment food cafe",
|
||||
},
|
||||
id: "5", name: "Елена К.", handle: "@elena", testimonial: "Люблю ваши пироги, постоянно захожу.", rating: 5,
|
||||
imageSrc: "http://img.b2bpic.net/free-photo/friends-eating-pizza-side-view_23-2149872410.jpg", imageAlt: "customer enjoyment food cafe"},
|
||||
]}
|
||||
showRating={true}
|
||||
title="Отзывы наших гостей"
|
||||
@@ -236,31 +153,16 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
metrics={[
|
||||
{
|
||||
id: "m1",
|
||||
value: "10",
|
||||
title: "Лет работы",
|
||||
items: [
|
||||
"Стабильно",
|
||||
"Надежно",
|
||||
],
|
||||
id: "m1", value: "10", title: "Лет работы", items: [
|
||||
"Стабильно", "Надежно"],
|
||||
},
|
||||
{
|
||||
id: "m2",
|
||||
value: "500+",
|
||||
title: "Рецептов",
|
||||
items: [
|
||||
"Разнообразие",
|
||||
"Вкус",
|
||||
],
|
||||
id: "m2", value: "500+", title: "Рецептов", items: [
|
||||
"Разнообразие", "Вкус"],
|
||||
},
|
||||
{
|
||||
id: "m3",
|
||||
value: "10000+",
|
||||
title: "Гостей",
|
||||
items: [
|
||||
"Любовь",
|
||||
"Качество",
|
||||
],
|
||||
id: "m3", value: "10000+", title: "Гостей", items: [
|
||||
"Любовь", "Качество"],
|
||||
},
|
||||
]}
|
||||
title="Мы в цифрах"
|
||||
@@ -273,20 +175,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Принимаете ли вы заказы онлайн?",
|
||||
content: "Да, через наш сайт и приложение.",
|
||||
},
|
||||
id: "f1", title: "Принимаете ли вы заказы онлайн?", content: "Да, через наш сайт и приложение."},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Работаете ли вы в выходные?",
|
||||
content: "Работаем ежедневно с 8:00 до 22:00.",
|
||||
},
|
||||
id: "f2", title: "Работаете ли вы в выходные?", content: "Работаем ежедневно с 8:00 до 22:00."},
|
||||
{
|
||||
id: "f3",
|
||||
title: "Есть ли доставка?",
|
||||
content: "Да, доставляем еду по всему району.",
|
||||
},
|
||||
id: "f3", title: "Есть ли доставка?", content: "Да, доставляем еду по всему району."},
|
||||
]}
|
||||
sideTitle="Частые вопросы"
|
||||
sideDescription="Узнайте больше о нашей лавке."
|
||||
@@ -301,16 +194,10 @@ export default function LandingPage() {
|
||||
description="Остались вопросы или хотите сделать спецзаказ? Пишите нам."
|
||||
inputs={[
|
||||
{
|
||||
name: "name",
|
||||
type: "text",
|
||||
placeholder: "Ваше имя",
|
||||
required: true,
|
||||
name: "name", type: "text", placeholder: "Ваше имя", required: true,
|
||||
},
|
||||
{
|
||||
name: "email",
|
||||
type: "email",
|
||||
placeholder: "Email",
|
||||
required: true,
|
||||
name: "email", type: "email", placeholder: "Email", required: true,
|
||||
},
|
||||
]}
|
||||
imageSrc="http://img.b2bpic.net/free-photo/close-up-chef-seasoning-salad_23-2148471932.jpg"
|
||||
|
||||
Reference in New Issue
Block a user