Compare commits
6 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 438dcfa085 | |||
| 9bb9aa7191 | |||
| 2ee76834ca | |||
| 5c4983a6bd | |||
| 0ea7edc7f4 | |||
| 609b1ebe7c |
1414
src/app/layout.tsx
1414
src/app/layout.tsx
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,7 @@
|
|||||||
"use client";
|
"use client";
|
||||||
|
|
||||||
import { Award, Heart, Sparkles, UtensilsCrossed } from "lucide-react";
|
import { Award, Heart, Sparkles, UtensilsCrossed } from "lucide-react";
|
||||||
|
import { useRouter } from "next/navigation";
|
||||||
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
|
import NavbarStyleCentered from "@/components/navbar/NavbarStyleCentered/NavbarStyleCentered";
|
||||||
import HeroSplitTestimonial from "@/components/sections/hero/HeroSplitTestimonial";
|
import HeroSplitTestimonial from "@/components/sections/hero/HeroSplitTestimonial";
|
||||||
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
|
import InlineImageSplitTextAbout from "@/components/sections/about/InlineImageSplitTextAbout";
|
||||||
@@ -12,6 +13,12 @@ import FooterBase from "@/components/sections/footer/FooterBase";
|
|||||||
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider";
|
||||||
|
|
||||||
export default function LandingPage() {
|
export default function LandingPage() {
|
||||||
|
const router = useRouter();
|
||||||
|
|
||||||
|
const handleProductClick = (productId: string, productName: string) => {
|
||||||
|
router.push(`/menu/${productId}?name=${encodeURIComponent(productName)}`);
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="bounce-effect"
|
defaultButtonVariant="bounce-effect"
|
||||||
@@ -53,13 +60,16 @@ export default function LandingPage() {
|
|||||||
testimonials={[
|
testimonials={[
|
||||||
{
|
{
|
||||||
name: "Aylin Kaya", handle: "Food Enthusiast", testimonial: "The most authentic Uzbek cuisine I've experienced! Every dish tells a story.", rating: 5,
|
name: "Aylin Kaya", handle: "Food Enthusiast", testimonial: "The most authentic Uzbek cuisine I've experienced! Every dish tells a story.", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/adult-going-date_23-2150168971.jpg?_wi=1"},
|
imageSrc: "http://img.b2bpic.net/free-photo/adult-going-date_23-2150168971.jpg?_wi=1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Mehmet Demir", handle: "Travel Blogger", testimonial: "A culinary journey through Central Asia without leaving Istanbul.", rating: 5,
|
name: "Mehmet Demir", handle: "Travel Blogger", testimonial: "A culinary journey through Central Asia without leaving Istanbul.", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-beautiful-woman-years-old-wearing-corporate-clothing-looking-happy_1258-194086.jpg?_wi=1"},
|
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-beautiful-woman-years-old-wearing-corporate-clothing-looking-happy_1258-194086.jpg?_wi=1"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
name: "Fatima Özkan", handle: "Restaurant Critic", testimonial: "Payitaht sets the standard for traditional Uzbek hospitality.", rating: 5,
|
name: "Fatima Özkan", handle: "Restaurant Critic", testimonial: "Payitaht sets the standard for traditional Uzbek hospitality.", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-showing-thumbs-up_176474-95524.jpg?_wi=1"},
|
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-showing-thumbs-up_176474-95524.jpg?_wi=1"
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Reserve Your Table", href: "contact" },
|
{ text: "Reserve Your Table", href: "contact" },
|
||||||
@@ -76,7 +86,8 @@ export default function LandingPage() {
|
|||||||
heading={[
|
heading={[
|
||||||
{ type: "text", content: "Rooted in Silk Road" },
|
{ type: "text", content: "Rooted in Silk Road" },
|
||||||
{
|
{
|
||||||
type: "image", src: "http://img.b2bpic.net/free-photo/clay-pots-market-morocco_23-2148129915.jpg", alt: "Uzbek Cultural Heritage"},
|
type: "image", src: "http://img.b2bpic.net/free-photo/clay-pots-market-morocco_23-2148129915.jpg", alt: "Uzbek Cultural Heritage"
|
||||||
|
},
|
||||||
{ type: "text", content: "Traditions" },
|
{ type: "text", content: "Traditions" },
|
||||||
]}
|
]}
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
@@ -100,11 +111,14 @@ export default function LandingPage() {
|
|||||||
gridVariant="three-columns-all-equal-width"
|
gridVariant="three-columns-all-equal-width"
|
||||||
products={[
|
products={[
|
||||||
{
|
{
|
||||||
id: "1", name: "Lagman", price: "₺145", imageSrc: "http://img.b2bpic.net/free-photo/woman-taking-green-salad-with-herbs-vegetables_114579-2166.jpg", imageAlt: "Lagman - Hand-pulled noodle soup"},
|
id: "1", name: "Lagman", price: "₺145", imageSrc: "http://img.b2bpic.net/free-photo/woman-taking-green-salad-with-herbs-vegetables_114579-2166.jpg", imageAlt: "Lagman - Hand-pulled noodle soup", onProductClick: () => handleProductClick("1", "Lagman")
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "2", name: "Samsa", price: "₺85", imageSrc: "http://img.b2bpic.net/free-photo/indian-food-assortment-with-copy-space_23-2148747634.jpg", imageAlt: "Samsa - Crispy meat pastry"},
|
id: "2", name: "Samsa", price: "₺85", imageSrc: "http://img.b2bpic.net/free-photo/indian-food-assortment-with-copy-space_23-2148747634.jpg", imageAlt: "Samsa - Crispy meat pastry", onProductClick: () => handleProductClick("2", "Samsa")
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "3", name: "Shashlik", price: "₺165", imageSrc: "http://img.b2bpic.net/free-photo/man-eating-caesar-salad-with-mixed-ingredients_114579-2040.jpg", imageAlt: "Shashlik - Grilled meat skewers"},
|
id: "3", name: "Shashlik", price: "₺165", imageSrc: "http://img.b2bpic.net/free-photo/man-eating-caesar-salad-with-mixed-ingredients_114579-2040.jpg", imageAlt: "Shashlik - Grilled meat skewers", onProductClick: () => handleProductClick("3", "Shashlik")
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
@@ -121,16 +135,20 @@ export default function LandingPage() {
|
|||||||
testimonials={[
|
testimonials={[
|
||||||
{
|
{
|
||||||
id: "1", name: "Aylin Kaya", role: "Food Enthusiast", company: "Istanbul", rating: 5,
|
id: "1", name: "Aylin Kaya", role: "Food Enthusiast", company: "Istanbul", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/adult-going-date_23-2150168971.jpg?_wi=2"},
|
imageSrc: "http://img.b2bpic.net/free-photo/adult-going-date_23-2150168971.jpg?_wi=2"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "2", name: "Mehmet Demir", role: "Travel Writer", company: "Turkey", rating: 5,
|
id: "2", name: "Mehmet Demir", role: "Travel Writer", company: "Turkey", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-beautiful-woman-years-old-wearing-corporate-clothing-looking-happy_1258-194086.jpg?_wi=2"},
|
imageSrc: "http://img.b2bpic.net/free-photo/close-up-portrait-smiling-beautiful-woman-years-old-wearing-corporate-clothing-looking-happy_1258-194086.jpg?_wi=2"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "3", name: "Fatima Özkan", role: "Restaurant Critic", company: "Food Magazine", rating: 5,
|
id: "3", name: "Fatima Özkan", role: "Restaurant Critic", company: "Food Magazine", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-showing-thumbs-up_176474-95524.jpg?_wi=2"},
|
imageSrc: "http://img.b2bpic.net/free-photo/young-woman-showing-thumbs-up_176474-95524.jpg?_wi=2"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
id: "4", name: "Kerem Arslan", role: "Business Owner", company: "Ankara", rating: 5,
|
id: "4", name: "Kerem Arslan", role: "Business Owner", company: "Ankara", rating: 5,
|
||||||
imageSrc: "http://img.b2bpic.net/free-photo/glad-wet-guy-with-shining-perfect-smile-has-walk-rainy-weather-enjoys-favourite-track-earphones_273609-8617.jpg"},
|
imageSrc: "http://img.b2bpic.net/free-photo/glad-wet-guy-with-shining-perfect-smile-has-walk-rainy-weather-enjoys-favourite-track-earphones_273609-8617.jpg"
|
||||||
|
},
|
||||||
]}
|
]}
|
||||||
kpiItems={[
|
kpiItems={[
|
||||||
{ value: "12+", label: "Years of Excellence" },
|
{ value: "12+", label: "Years of Excellence" },
|
||||||
@@ -149,7 +167,8 @@ export default function LandingPage() {
|
|||||||
textboxLayout="default"
|
textboxLayout="default"
|
||||||
useInvertedBackground={false}
|
useInvertedBackground={false}
|
||||||
names={[
|
names={[
|
||||||
"Turkish Culinary Association", "Istanbul Tourism Board", "Heritage Restaurant Alliance", "Central Asian Cultural Center", "Food Excellence Awards", "Authentic Cuisine Initiative", "Istanbul Business Circle"]}
|
"Turkish Culinary Association", "Istanbul Tourism Board", "Heritage Restaurant Alliance", "Central Asian Cultural Center", "Food Excellence Awards", "Authentic Cuisine Initiative", "Istanbul Business Circle"
|
||||||
|
]}
|
||||||
speed={40}
|
speed={40}
|
||||||
showCard={true}
|
showCard={true}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user