Update src/app/page.tsx
This commit is contained in:
242
src/app/page.tsx
242
src/app/page.tsx
@@ -2,6 +2,7 @@
|
||||
|
||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||
import ReactLenis from "lenis/react";
|
||||
import { Zap, Shield, Star, CreditCard } from "lucide-react";
|
||||
import ContactText from '@/components/sections/contact/ContactText';
|
||||
import FaqDouble from '@/components/sections/faq/FaqDouble';
|
||||
import FeatureCardTwentySix from '@/components/sections/feature/FeatureCardTwentySix';
|
||||
@@ -30,17 +31,11 @@ export default function LandingPage() {
|
||||
<NavbarLayoutFloatingOverlay
|
||||
navItems={[
|
||||
{
|
||||
name: "Bosh Sahifa",
|
||||
id: "#hero",
|
||||
},
|
||||
name: "Bosh Sahifa", id: "#hero"},
|
||||
{
|
||||
name: "Menyu",
|
||||
id: "#menu",
|
||||
},
|
||||
name: "Menyu", id: "#menu"},
|
||||
{
|
||||
name: "Kontakt",
|
||||
id: "#contact",
|
||||
},
|
||||
name: "Kontakt", id: "#contact"},
|
||||
]}
|
||||
brandName="Anaza Mazza"
|
||||
/>
|
||||
@@ -52,75 +47,38 @@ export default function LandingPage() {
|
||||
description="Eng mazali va sifatli fast-food taomlari yetkazib berish xizmati."
|
||||
testimonials={[
|
||||
{
|
||||
name: "Ali Valiyev",
|
||||
handle: "@ali",
|
||||
testimonial: "Eng mazali burgerlar shu yerda!",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=likaqt&_wi=1",
|
||||
imageAlt: "dark green restaurant texture",
|
||||
},
|
||||
name: "Ali Valiyev", handle: "@ali", testimonial: "Eng mazali burgerlar shu yerda!", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=likaqt", imageAlt: "dark green restaurant texture"},
|
||||
{
|
||||
name: "Vali Aliyev",
|
||||
handle: "@vali",
|
||||
testimonial: "Yetkazib berish juda tez.",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tyzztl&_wi=1",
|
||||
imageAlt: "dark green restaurant texture",
|
||||
},
|
||||
name: "Vali Aliyev", handle: "@vali", testimonial: "Yetkazib berish juda tez.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tyzztl", imageAlt: "dark green restaurant texture"},
|
||||
{
|
||||
name: "Guli Karimova",
|
||||
handle: "@guli",
|
||||
testimonial: "Lavashlari juda yangi va mazali.",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38u02w&_wi=1",
|
||||
imageAlt: "dark green restaurant texture",
|
||||
},
|
||||
name: "Guli Karimova", handle: "@guli", testimonial: "Lavashlari juda yangi va mazali.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38u02w", imageAlt: "dark green restaurant texture"},
|
||||
{
|
||||
name: "Sardor Ahmedov",
|
||||
handle: "@sardor",
|
||||
testimonial: "Narxlar juda hamyonbop.",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5zo8ww&_wi=1",
|
||||
imageAlt: "dark green restaurant texture",
|
||||
},
|
||||
name: "Sardor Ahmedov", handle: "@sardor", testimonial: "Narxlar juda hamyonbop.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5zo8ww", imageAlt: "dark green restaurant texture"},
|
||||
{
|
||||
name: "Zuhra Sobirova",
|
||||
handle: "@zuhra",
|
||||
testimonial: "Ajoyib xizmat ko'rsatish.",
|
||||
rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gdn4sl&_wi=1",
|
||||
imageAlt: "dark green restaurant texture",
|
||||
},
|
||||
name: "Zuhra Sobirova", handle: "@zuhra", testimonial: "Ajoyib xizmat ko'rsatish.", rating: 5,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gdn4sl", imageAlt: "dark green restaurant texture"},
|
||||
]}
|
||||
buttons={[
|
||||
{
|
||||
text: "Menyuni ko'rish",
|
||||
href: "#menu",
|
||||
},
|
||||
text: "Menyuni ko'rish", href: "#menu"},
|
||||
]}
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=likaqt&_wi=2"
|
||||
imageSrc="https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=likaqt"
|
||||
imageAlt="dark green restaurant texture"
|
||||
avatars={[
|
||||
{
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5sozqc",
|
||||
alt: "happy customer portrait",
|
||||
},
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5sozqc", alt: "happy customer portrait"},
|
||||
{
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ym6aoy",
|
||||
alt: "happy young man",
|
||||
},
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ym6aoy", alt: "happy young man"},
|
||||
{
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1t33k",
|
||||
alt: "smiling girl",
|
||||
},
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1t33k", alt: "smiling girl"},
|
||||
{
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=58dp9a",
|
||||
alt: "man professional portrait",
|
||||
},
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=58dp9a", alt: "man professional portrait"},
|
||||
{
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0a16nn",
|
||||
alt: "happy teenager",
|
||||
},
|
||||
src: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0a16nn", alt: "happy teenager"},
|
||||
]}
|
||||
avatarText="1000+ baxtli mijozlar"
|
||||
/>
|
||||
@@ -134,47 +92,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
products={[
|
||||
{
|
||||
id: "p1",
|
||||
name: "Burger Standart",
|
||||
price: "30,000 so'm",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tyzztl&_wi=2",
|
||||
imageAlt: "burger studio shot",
|
||||
},
|
||||
id: "p1", name: "Burger Standart", price: "30,000 so'm", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tyzztl", imageAlt: "burger studio shot"},
|
||||
{
|
||||
id: "p2",
|
||||
name: "Lavash Katta",
|
||||
price: "37,000 so'm",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38u02w&_wi=2",
|
||||
imageAlt: "lavash wrap food",
|
||||
},
|
||||
id: "p2", name: "Lavash Katta", price: "37,000 so'm", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38u02w", imageAlt: "lavash wrap food"},
|
||||
{
|
||||
id: "p3",
|
||||
name: "Cola 1L",
|
||||
price: "10,000 so'm",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5zo8ww&_wi=2",
|
||||
imageAlt: "cola bottle photography",
|
||||
},
|
||||
id: "p3", name: "Cola 1L", price: "10,000 so'm", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5zo8ww", imageAlt: "cola bottle photography"},
|
||||
{
|
||||
id: "p4",
|
||||
name: "Anaza SteakBurger",
|
||||
price: "50,000 so'm",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gdn4sl&_wi=2",
|
||||
imageAlt: "gourmet burger",
|
||||
},
|
||||
id: "p4", name: "Anaza SteakBurger", price: "50,000 so'm", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=gdn4sl", imageAlt: "gourmet burger"},
|
||||
{
|
||||
id: "p5",
|
||||
name: "Chicken Lavash",
|
||||
price: "37,000 so'm",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=48iszs",
|
||||
imageAlt: "chicken wrap",
|
||||
},
|
||||
id: "p5", name: "Chicken Lavash", price: "37,000 so'm", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=48iszs", imageAlt: "chicken wrap"},
|
||||
{
|
||||
id: "p6",
|
||||
name: "Lavash Sirli",
|
||||
price: "40,000 so'm",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=r3j8n8",
|
||||
imageAlt: "cheese wrap food",
|
||||
},
|
||||
id: "p6", name: "Lavash Sirli", price: "40,000 so'm", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=r3j8n8", imageAlt: "cheese wrap food"},
|
||||
]}
|
||||
title="Bizning Menyularimiz"
|
||||
description="Har bir taom o'ziga xos ta'mga ega."
|
||||
@@ -187,33 +115,17 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
features={[
|
||||
{
|
||||
title: "Tez yetkazib berish",
|
||||
description: "Buyurtmangiz 30 daqiqada yetib boradi.",
|
||||
buttonIcon: "Zap",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tyzztl&_wi=3",
|
||||
imageAlt: "burger studio shot",
|
||||
},
|
||||
title: "Tez yetkazib berish", description: "Buyurtmangiz 30 daqiqada yetib boradi.", buttonIcon: Zap,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=tyzztl", imageAlt: "burger studio shot"},
|
||||
{
|
||||
title: "Sifatli mahsulotlar",
|
||||
description: "Faqat yangi va halol mahsulotlar.",
|
||||
buttonIcon: "Shield",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=likaqt&_wi=3",
|
||||
imageAlt: "burger studio shot",
|
||||
},
|
||||
title: "Sifatli mahsulotlar", description: "Faqat yangi va halol mahsulotlar.", buttonIcon: Shield,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=likaqt", imageAlt: "burger studio shot"},
|
||||
{
|
||||
title: "Doimiy chegirmalar",
|
||||
description: "Sodiq mijozlarimiz uchun maxsus takliflar.",
|
||||
buttonIcon: "Star",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38u02w&_wi=3",
|
||||
imageAlt: "burger studio shot",
|
||||
},
|
||||
title: "Doimiy chegirmalar", description: "Sodiq mijozlarimiz uchun maxsus takliflar.", buttonIcon: Star,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=38u02w", imageAlt: "burger studio shot"},
|
||||
{
|
||||
title: "Xavfsiz to'lov",
|
||||
description: "Onlayn yoki naqd to'lov imkoniyati.",
|
||||
buttonIcon: "CreditCard",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5zo8ww&_wi=3",
|
||||
imageAlt: "burger studio shot",
|
||||
},
|
||||
title: "Xavfsiz to'lov", description: "Onlayn yoki naqd to'lov imkoniyati.", buttonIcon: CreditCard,
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5zo8ww", imageAlt: "burger studio shot"},
|
||||
]}
|
||||
title="Nega aynan biz?"
|
||||
description="Siz uchun eng yaxshisini taqdim etamiz."
|
||||
@@ -227,45 +139,15 @@ export default function LandingPage() {
|
||||
useInvertedBackground={false}
|
||||
testimonials={[
|
||||
{
|
||||
id: "t1",
|
||||
name: "Ali",
|
||||
role: "Mijoz",
|
||||
testimonial: "Juda mazali!",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5sozqc",
|
||||
imageAlt: "happy customer portrait",
|
||||
},
|
||||
id: "t1", name: "Ali", role: "Mijoz", testimonial: "Juda mazali!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=5sozqc", imageAlt: "happy customer portrait"},
|
||||
{
|
||||
id: "t2",
|
||||
name: "Vali",
|
||||
role: "Mijoz",
|
||||
testimonial: "Tez va sifatli.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ym6aoy",
|
||||
imageAlt: "happy young man",
|
||||
},
|
||||
id: "t2", name: "Vali", role: "Mijoz", testimonial: "Tez va sifatli.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=ym6aoy", imageAlt: "happy young man"},
|
||||
{
|
||||
id: "t3",
|
||||
name: "Guli",
|
||||
role: "Mijoz",
|
||||
testimonial: "Narxlar a'lo.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1t33k",
|
||||
imageAlt: "smiling girl",
|
||||
},
|
||||
id: "t3", name: "Guli", role: "Mijoz", testimonial: "Narxlar a'lo.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=y1t33k", imageAlt: "smiling girl"},
|
||||
{
|
||||
id: "t4",
|
||||
name: "Sardor",
|
||||
role: "Mijoz",
|
||||
testimonial: "Yana buyurtma beraman.",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=58dp9a",
|
||||
imageAlt: "man professional portrait",
|
||||
},
|
||||
id: "t4", name: "Sardor", role: "Mijoz", testimonial: "Yana buyurtma beraman.", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=58dp9a", imageAlt: "man professional portrait"},
|
||||
{
|
||||
id: "t5",
|
||||
name: "Zuhra",
|
||||
role: "Mijoz",
|
||||
testimonial: "Eng yaxshisi!",
|
||||
imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0a16nn",
|
||||
imageAlt: "happy teenager",
|
||||
},
|
||||
id: "t5", name: "Zuhra", role: "Mijoz", testimonial: "Eng yaxshisi!", imageSrc: "https://webuild-dev.s3.eu-north-1.amazonaws.com/default/no-image.jpg?id=0a16nn", imageAlt: "happy teenager"},
|
||||
]}
|
||||
title="Mijozlarimiz fikri"
|
||||
description="Bizning xizmatimiz haqida nimalar deyishadi?"
|
||||
@@ -278,20 +160,11 @@ export default function LandingPage() {
|
||||
useInvertedBackground={true}
|
||||
faqs={[
|
||||
{
|
||||
id: "f1",
|
||||
title: "Yetkazib berish narxi qancha?",
|
||||
content: "Yetkazib berish hududga bog'liq.",
|
||||
},
|
||||
id: "f1", title: "Yetkazib berish narxi qancha?", content: "Yetkazib berish hududga bog'liq."},
|
||||
{
|
||||
id: "f2",
|
||||
title: "Ish vaqti qanaqa?",
|
||||
content: "Biz har kuni 10:00 dan 23:00 gacha ishlaymiz.",
|
||||
},
|
||||
id: "f2", title: "Ish vaqti qanaqa?", content: "Biz har kuni 10:00 dan 23:00 gacha ishlaymiz."},
|
||||
{
|
||||
id: "f3",
|
||||
title: "To'lov turlari?",
|
||||
content: "Naqd va Click/Payme orqali to'lov qabul qilamiz.",
|
||||
},
|
||||
id: "f3", title: "To'lov turlari?", content: "Naqd va Click/Payme orqali to'lov qabul qilamiz."},
|
||||
]}
|
||||
title="Tez-tez beriladigan savollar"
|
||||
description="Sizni qiziqtirgan savollarga javoblar."
|
||||
@@ -303,14 +176,11 @@ export default function LandingPage() {
|
||||
<ContactText
|
||||
useInvertedBackground={false}
|
||||
background={{
|
||||
variant: "canvas-reveal",
|
||||
}}
|
||||
variant: "canvas-reveal"}}
|
||||
text="Biz bilan bog'laning va buyurtma bering!"
|
||||
buttons={[
|
||||
{
|
||||
text: "Telegram orqali yozish",
|
||||
href: "https://t.me/anaza_mazza",
|
||||
},
|
||||
text: "Telegram orqali yozish", href: "https://t.me/anaza_mazza"},
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -320,29 +190,19 @@ export default function LandingPage() {
|
||||
logoText="Anaza Mazza"
|
||||
columns={[
|
||||
{
|
||||
title: "Asosiy",
|
||||
items: [
|
||||
title: "Asosiy", items: [
|
||||
{
|
||||
label: "Bosh Sahifa",
|
||||
href: "#hero",
|
||||
},
|
||||
label: "Bosh Sahifa", href: "#hero"},
|
||||
{
|
||||
label: "Menyu",
|
||||
href: "#menu",
|
||||
},
|
||||
label: "Menyu", href: "#menu"},
|
||||
],
|
||||
},
|
||||
{
|
||||
title: "Yordam",
|
||||
items: [
|
||||
title: "Yordam", items: [
|
||||
{
|
||||
label: "Savol-Javob",
|
||||
href: "#faq",
|
||||
},
|
||||
label: "Savol-Javob", href: "#faq"},
|
||||
{
|
||||
label: "Kontakt",
|
||||
href: "#contact",
|
||||
},
|
||||
label: "Kontakt", href: "#contact"},
|
||||
],
|
||||
},
|
||||
]}
|
||||
|
||||
Reference in New Issue
Block a user