diff --git a/src/app/about/page.tsx b/src/app/about/page.tsx index 90b28e7..66bf36c 100644 --- a/src/app/about/page.tsx +++ b/src/app/about/page.tsx @@ -6,10 +6,9 @@ import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven'; import FaqSplitText from '@/components/sections/faq/FaqSplitText'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; -import Link from 'next/link'; export default function AboutPage() { - const navItems = [{"name":"Menu","id":"/menu"},{"name":"About","id":"/about"}]; + const navItems = [{ name: "Home", id: "/" }, { name: "Menu", id: "/menu" }, { name: "About", id: "/about" }]; return ( - {/* NAVBAR: Using NavbarStyleApple as required */} - + - {/* POSTS LOGIC: Preserved exactly as is */} {isLoading ? (

Loading posts...

) : ( - /* BLOG SECTION: Using BlogCardOne with generated props, except for 'posts' */ - +
+ +
)} - {/* FOOTER: Using FooterLogoReveal as required */} - +
); diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 90dfd3b..abff7c7 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -4,40 +4,26 @@ import { Inter } from "next/font/google"; import "./globals.css"; const lora = Lora({ - variable: "--font-lora", - subsets: ["latin"], + variable: "--font-lora", subsets: ["latin"], }); const inter = Inter({ - variable: "--font-inter", - subsets: ["latin"], + variable: "--font-inter", subsets: ["latin"], }); export const metadata: Metadata = { - title: "Moys Chinese Restaurant - Authentic Cantonese Cuisine", - description: "Experience authentic Cantonese comfort at Moys Chinese Restaurant near OSU. Famous for Peking Duck dinners and handmade egg rolls, we offer a cozy atmosphere and warm hospitality. Reserve your table or explore our menu.", - robots: { + title: "Moys Chinese Restaurant - Authentic Cantonese Cuisine", description: "Experience authentic Cantonese comfort at Moys Chinese Restaurant near OSU. Famous for Peking Duck dinners and handmade egg rolls, we offer a cozy atmosphere and warm hospitality. Reserve your table or explore our menu.", robots: { index: true, follow: true, }, openGraph: { - title: "Moys Chinese Restaurant - Authentic Cantonese Cuisine", - description: "Experience authentic Cantonese comfort at Moys Chinese Restaurant near OSU. Famous for Peking Duck dinners and handmade egg rolls, we offer a cozy atmosphere and warm hospitality. Reserve your table or explore our menu.", - url: "/", - siteName: "Moys Chinese Restaurant", - images: [ + title: "Moys Chinese Restaurant - Authentic Cantonese Cuisine", description: "Experience authentic Cantonese comfort at Moys Chinese Restaurant near OSU. Famous for Peking Duck dinners and handmade egg rolls, we offer a cozy atmosphere and warm hospitality. Reserve your table or explore our menu.", url: "/", siteName: "Moys Chinese Restaurant", images: [ { - url: "https://img.b2bpic.net/free-photo/view-delicious-dish-food_23-2150777691.jpg", - alt: "Lacquered Peking duck being sliced with warm steam", - }, + url: "https://img.b2bpic.net/free-photo/view-delicious-dish-food_23-2150777691.jpg", alt: "Lacquered Peking duck being sliced with warm steam"}, ], - type: "website", - }, + type: "website"}, twitter: { - card: "summary_large_image", - title: "Moys Chinese Restaurant - Authentic Cantonese Cuisine", - description: "Experience authentic Cantonese comfort at Moys Chinese Restaurant near OSU. Famous for Peking Duck dinners and handmade egg rolls, we offer a cozy atmosphere and warm hospitality. Reserve your table or explore our menu.", - images: ["https://img.b2bpic.net/free-photo/view-delicious-dish-food_23-2150777691.jpg"], + card: "summary_large_image", title: "Moys Chinese Restaurant - Authentic Cantonese Cuisine", description: "Experience authentic Cantonese comfort at Moys Chinese Restaurant near OSU. Famous for Peking Duck dinners and handmade egg rolls, we offer a cozy atmosphere and warm hospitality. Reserve your table or explore our menu.", images: ["https://img.b2bpic.net/free-photo/view-delicious-dish-food_23-2150777691.jpg"], }, }; diff --git a/src/app/menu/page.tsx b/src/app/menu/page.tsx index 9c160e4..577fbef 100644 --- a/src/app/menu/page.tsx +++ b/src/app/menu/page.tsx @@ -6,10 +6,9 @@ import ProductCardOne from '@/components/sections/product/ProductCardOne'; import TestimonialCardSixteen from '@/components/sections/testimonial/TestimonialCardSixteen'; import FeatureCardSeven from '@/components/sections/feature/FeatureCardSeven'; import FooterLogoReveal from '@/components/sections/footer/FooterLogoReveal'; -import Link from 'next/link'; export default function MenuPage() { - const navItems = [{"name":"Menu","id":"/menu"},{"name":"About","id":"/about"}]; + const navItems = [{ name: "Home", id: "/" }, { name: "Menu", id: "/menu" }, { name: "About", id: "/about" }]; return ( -