diff --git a/src/app/blog/page.tsx b/src/app/blog/page.tsx index de22470..d1033a7 100644 --- a/src/app/blog/page.tsx +++ b/src/app/blog/page.tsx @@ -6,6 +6,7 @@ import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatin import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; import BlogCardTwo from '@/components/sections/blog/BlogCardTwo'; import { useBlogPosts } from "@/hooks/useBlogPosts"; +import Link from 'next/link'; export default function BlogPage() { const { posts, isLoading } = useBlogPosts(); @@ -33,8 +34,6 @@ export default function BlogPage() { { name: "Меню", id: "/#menu" }, { name: "Банкети", id: "/#banquets" }, { name: "Доставка", id: "/#delivery" }, - { name: "Блог", id: "/blog" }, - { name: "Магазин", id: "/shop" }, { name: "Контакти", id: "/#contacts" } ]} button={{ text: "Забронювати Столик", href: "/#contacts" }} @@ -52,7 +51,7 @@ export default function BlogPage() { ) : (
({...post, onBlogClick: () => window.location.href = `/blog/${post.id}`}))} title="Останні Статті" description="Огляди та новини від нашої команди" textboxLayout="default" diff --git a/src/app/page.tsx b/src/app/page.tsx index 0061d23..52b0427 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -9,6 +9,7 @@ import ProductCardTwo from '@/components/sections/product/ProductCardTwo'; import ContactCTA from '@/components/sections/contact/ContactCTA'; import FooterLogoEmphasis from '@/components/sections/footer/FooterLogoEmphasis'; import { Mail } from 'lucide-react'; +import Link from 'next/link'; export default function LandingPage() { return ( @@ -33,8 +34,6 @@ export default function LandingPage() { { name: "Меню", id: "/#menu" }, { name: "Банкети", id: "/#banquets" }, { name: "Доставка", id: "/#delivery" }, - { name: "Блог", id: "/blog" }, - { name: "Магазин", id: "/shop" }, { name: "Контакти", id: "/#contacts" } ]} button={{ text: "Забронювати Столик", href: "/#contacts" }} diff --git a/src/app/shop/[id]/page.tsx b/src/app/shop/[id]/page.tsx index 9e3bab0..4be86c8 100644 --- a/src/app/shop/[id]/page.tsx +++ b/src/app/shop/[id]/page.tsx @@ -11,6 +11,7 @@ import ProductCart from "@/components/ecommerce/cart/ProductCart"; import { useProductDetail } from "@/hooks/useProductDetail"; import { useCart } from "@/hooks/useCart"; import { useCheckout } from "@/hooks/useCheckout"; +import Link from 'next/link'; interface ProductPageProps { params: Promise<{ id: string }>; @@ -74,8 +75,6 @@ export default function ProductPage({ params }: ProductPageProps) { { name: "Меню", id: "/#menu" }, { name: "Банкети", id: "/#banquets" }, { name: "Доставка", id: "/#delivery" }, - { name: "Блог", id: "/blog" }, - { name: "Магазин", id: "/shop" }, { name: "Контакти", id: "/#contacts" } ], button: { text: "Кошик", onClick: () => setCartOpen(true) }, @@ -110,7 +109,7 @@ export default function ProductPage({ params }: ProductPageProps) { headingFontWeight="bold" > -