diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx new file mode 100644 index 0000000..b5d3628 --- /dev/null +++ b/src/app/menu/page.tsx @@ -0,0 +1,81 @@ +"use client"; + +import React, { useState } from "react"; +import ReactLenis from "lenis/react"; +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import NavbarLayoutFloatingInline from "@/components/navbar/NavbarLayoutFloatingInline"; +import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; +import ProductCardThree from "@/components/sections/product/ProductCardThree"; + +const ALL_PASTA = [ + { id: "p1", category: "Klasyki", name: "Tagliatelle al Tartufo", price: "48 zł", imageSrc: "http://img.b2bpic.net/free-photo/low-angle-pasta-with-vegetables_23-2148584799.jpg" }, + { id: "p2", category: "Klasyki", name: "Spaghetti Carbonara", price: "42 zł", imageSrc: "http://img.b2bpic.net/free-photo/pasta-carbonara_23-2148496734.jpg" }, + { id: "p3", category: "Wegańskie", name: "Ravioli Ricotta e Spinaci", price: "45 zł", imageSrc: "http://img.b2bpic.net/free-photo/making-pasta_23-2147985276.jpg" }, + { id: "p4", category: "Wegańskie", name: "Penne Arrabbiata", price: "38 zł", imageSrc: "http://img.b2bpic.net/free-photo/penne-arrabbiata_23-2148584824.jpg" }, + { id: "p5", category: "Owoce Morza", name: "Linguine ai Frutti di Mare", price: "58 zł", imageSrc: "http://img.b2bpic.net/free-photo/seafood-pasta_23-2148584796.jpg" } +]; + +const CATEGORIES = ["Wszystkie", "Klasyki", "Wegańskie", "Owoce Morza"]; + +export default function MenuPage() { + const [activeCategory, setActiveCategory] = useState("Wszystkie"); + + const filteredProducts = activeCategory === "Wszystkie" + ? ALL_PASTA + : ALL_PASTA.filter(p => p.category === activeCategory); + + return ( + + + + +
+

Nasze Menu

+ +
+ {CATEGORIES.map((cat) => ( + + ))} +
+ + +
+ + +
+
+ ); +} \ No newline at end of file diff --git a/src/app/page.tsx b/src/app/page.tsx index e314fa8..bed4b63 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -11,7 +11,7 @@ import TestimonialCardTen from "@/components/sections/testimonial/TestimonialCar import FeatureCardSixteen from "@/components/sections/feature/FeatureCardSixteen"; import ContactText from "@/components/sections/contact/ContactText"; import FooterLogoReveal from "@/components/sections/footer/FooterLogoReveal"; -import { Phone, MessageCircle, Sparkles } from "lucide-react"; +import { Sparkles } from "lucide-react"; export default function ItalianRestaurantPage() { return ( @@ -51,7 +51,7 @@ export default function ItalianRestaurantPage() { tag="Pasta Fresca Kraków" tagIcon={Sparkles} imageSrc="http://img.b2bpic.net/free-photo/chicken-caesar-salad-with-rose-wine_140725-412.jpg" - imageAlt="Piękny talerz świeżej pasty z koktajlem w tle" + imageAlt="Świeża pasta fresca w najlepszej włoskiej restauracji w Krakowie" buttons={[ { text: "Zobacz menu", href: "#menu" }, { text: "Rezerwuj stolik", href: "#contact" } @@ -71,7 +71,7 @@ export default function ItalianRestaurantPage() {