menus corrected

This commit is contained in:
Selvi 2025-11-10 23:42:50 +05:30
commit bc244b1a74
9 changed files with 74 additions and 15 deletions

View File

@ -50,7 +50,7 @@ export default function AboutContent() {
<div className="inner-column"> <div className="inner-column">
{/* Sec Title */} {/* Sec Title */}
<div className="sec-title about-sec"> <div className="sec-title about-sec">
<div className="title">About Us</div> <div className="title custome-style">About Us</div>
<h2>Street Fresh. <span className="theme_color"> Full of Flavour.</span></h2> <h2>Street Fresh. <span className="theme_color"> Full of Flavour.</span></h2>
<div className="text">At Sixty5 Street, we believe great food starts with freshness and ends with bold, memorable flavour. Our menu is inspired by the vibrant energy of street-style eats, where every dish and every blend is crafted to feel lively, colourful, and satisfying. Whether its one of our refreshing fruit mixes or a flavour-packed bowl, everything we serve is designed to bring you real taste made from real ingredients.</div> <div className="text">At Sixty5 Street, we believe great food starts with freshness and ends with bold, memorable flavour. Our menu is inspired by the vibrant energy of street-style eats, where every dish and every blend is crafted to feel lively, colourful, and satisfying. Whether its one of our refreshing fruit mixes or a flavour-packed bowl, everything we serve is designed to bring you real taste made from real ingredients.</div>

View File

@ -13,6 +13,18 @@ export async function generateStaticParams() {
export async function generateMetadata({ params }) { export async function generateMetadata({ params }) {
const blog = Blogs.find((item) => item.slug === params.slug); const blog = Blogs.find((item) => item.slug === params.slug);
if (!blog) {
return {
title: "Blog Not Found",
description: "The blog you are looking for does not exist.",
};
}
return {
title: blog.metatitle,
description: blog.metadesc,
};
} }
export default function BlogDetails({ params }) { export default function BlogDetails({ params }) {

View File

@ -4,8 +4,8 @@ import Layout from "@/components/layout/Layout";
import Blogs from "@/utils/constant.utils"; import Blogs from "@/utils/constant.utils";
export const metadata = { export const metadata = {
title: "Street-Food Stories from Sixty5 Street", title: "Street-Food Stories from Sixty5 Street",
description: "Dive into the Sixty5 Street blog for behind-the-scenes stories, flavor experiments, new dish launches and street-food culture updates.", description: "Dive into the Sixty5 Street blog for behind-the-scenes stories, flavor experiments, new dish launches and street-food culture updates.",
}; };
const truncateWords = (text, limit) => { const truncateWords = (text, limit) => {
@ -15,7 +15,7 @@ const truncateWords = (text, limit) => {
const stripHtml = (html) => { const stripHtml = (html) => {
if (!html) return ""; if (!html) return "";
return html.replace(/<[^>]*>/g, ""); return html.replace(/<[^>]*>/g, "");
}; };
const truncateTitle = (text, limit) => { const truncateTitle = (text, limit) => {
@ -33,6 +33,12 @@ export default function Blog() {
> >
<div className="sidebar-page-container"> <div className="sidebar-page-container">
<div className="auto-container"> <div className="auto-container">
<div className="sec-title mb-4 centered">
<div className="title">Our Blogs</div>
<h2>Explore Our Delicious Dishes</h2>
<div className="separate"></div>
</div>
<div className="row clearfix"> <div className="row clearfix">
{Blogs.map((blog) => ( {Blogs.map((blog) => (
<div <div

View File

@ -23,7 +23,7 @@ export default function Contact() {
<div className="title-column col-lg-5 col-md-12 col-sm-12"> <div className="title-column col-lg-5 col-md-12 col-sm-12">
<div className="inner-column"> <div className="inner-column">
<div className="sec-title"> <div className="sec-title">
<div className="title">Reach us</div> <div className="title custome-style">Reach us</div>
<h2>Contact</h2> <h2>Contact</h2>
<div className="separate"></div> <div className="separate"></div>
<div className="text"> <div className="text">

View File

@ -7644,3 +7644,13 @@
font-weight: 700; font-weight: 700;
margin-top: 8px; margin-top: 8px;
} }
@media only screen and (max-width: 768px) and (min-width:200px) {
.custome-style{
text-align: center !important;
}
}

6
public/robots.txt Normal file
View File

@ -0,0 +1,6 @@
# Allow all search engines to crawl all pages
User-agent: *
Disallow:
# Sitemap
Sitemap: https://sixty5street.com/sitemap.xml

View File

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://sixty5street.com/</loc><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://sixty5street.com/#about</loc><changefreq>weekly</changefreq><priority>0.8</priority></url><url><loc>https://sixty5street.com/#popular-dishes</loc><changefreq>monthly</changefreq><priority>0.7</priority></url><url><loc>https://sixty5street.com/#sixty5-street-specials</loc><changefreq>weekly</changefreq><priority>0.8</priority></url><url><loc>https://sixty5street.com/#menu</loc><changefreq>weekly</changefreq><priority>0.7</priority></url></urlset> <?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"><url><loc>https://sixty5street.com/</loc><changefreq>daily</changefreq><priority>1.0</priority></url><url><loc>https://sixty5street.com/about/</loc><changefreq>weekly</changefreq><priority>0.8</priority></url><url><loc>https://sixty5street.com/gallery/</loc><changefreq>monthly</changefreq><priority>0.7</priority></url><url><loc>https://sixty5street.com/menu/</loc><changefreq>weekly</changefreq><priority>0.8</priority></url><url><loc>https://sixty5street.com/blog/</loc><changefreq>weekly</changefreq><priority>0.7</priority></url><url><loc>https://sixty5street.com/contact/</loc><changefreq>weekly</changefreq><priority>0.7</priority></url><url><loc>https://sixty5street.com/blog/how-sixty5-streets-fusion-of-shawarma-wings-and-dosa-is-changing-indian-street-food-in-the-gta/</loc><changefreq>weekly</changefreq><priority>0.6</priority></url><url><loc>https://sixty5street.com/blog/from-dosa-to-biryani-5-must-try-menu-items-at-sixty5-street-for-your-next-takeout/</loc><changefreq>weekly</changefreq><priority>0.6</priority></url><url><loc>https://sixty5street.com/blog/behind-the-counter-the-story-of-sixty5-streets-fast-casual-kitchen-and-why-it-works-in-ontario/</loc><changefreq>weekly</changefreq><priority>0.6</priority></url></urlset>

View File

@ -15,13 +15,13 @@ const shouldAddSlash = (url) => {
// Format URL to ensure proper slashes and handle anchors // Format URL to ensure proper slashes and handle anchors
const formatUrl = (url) => { const formatUrl = (url) => {
// Split path and hash // Split path and hash
let [pathPart, hashPart] = url.split("#"); let [pathPart, hashPart] = url.split("#");
// Remove extra leading slashes and ensure single starting slash // Remove extra leading slashes and ensure single starting slash
pathPart = "/" + pathPart.replace(/^\/+/, ""); pathPart = "/" + pathPart.replace(/^\/+/, "");
// Add or remove trailing slash for pathPart // Add or remove trailing slash for pathPart
if (addTrailingSlash && shouldAddSlash(pathPart) && !pathPart.endsWith("/")) { if (addTrailingSlash && shouldAddSlash(pathPart) && !pathPart.endsWith("/")) {
pathPart += "/"; pathPart += "/";
} }
@ -29,21 +29,40 @@ const formatUrl = (url) => {
pathPart = pathPart.slice(0, -1); pathPart = pathPart.slice(0, -1);
} }
// Recombine with hash if it exists // Recombine with hash if it exists
return hashPart ? pathPart + "#" + hashPart : pathPart; return hashPart ? pathPart + "#" + hashPart : pathPart;
}; };
// List of URLs to include in sitemap // List of URLs to include in sitemap
const sectionLinks = [ const sectionLinks = [
{ url: "/", changefreq: "daily", priority: 1.0 }, { url: "/", changefreq: "daily", priority: 1.0 },
{ url: "/#about", changefreq: "weekly", priority: 0.8 }, { url: "/about", changefreq: "weekly", priority: 0.8 },
{ url: "/#popular-dishes", changefreq: "monthly", priority: 0.7 }, { url: "/gallery", changefreq: "monthly", priority: 0.7 },
{ url: "/#sixty5-street-specials", changefreq: "weekly", priority: 0.8 }, { url: "/menu", changefreq: "weekly", priority: 0.8 },
{ url: "/#menu", changefreq: "weekly", priority: 0.7 }, { url: "/blog", changefreq: "weekly", priority: 0.7 },
{ url: "/contact", changefreq: "weekly", priority: 0.7 },
];
const blogPosts = [
{
slug: "/blog/how-sixty5-streets-fusion-of-shawarma-wings-and-dosa-is-changing-indian-street-food-in-the-gta/",
},
{
slug: "/blog/from-dosa-to-biryani-5-must-try-menu-items-at-sixty5-street-for-your-next-takeout/",
},
{
slug: "/blog/behind-the-counter-the-story-of-sixty5-streets-fast-casual-kitchen-and-why-it-works-in-ontario/",
},
]; ];
// Format all URLs // Format all URLs
const allLinks = sectionLinks.map((link) => ({ const blogLinks = blogPosts.map((post) => ({
url: formatUrl(post.slug),
changefreq: "weekly",
priority: 0.6,
}));
const allLinks = [...sectionLinks, ...blogLinks].map((link) => ({
...link, ...link,
url: formatUrl(link.url), url: formatUrl(link.url),
})); }));

View File

@ -157,6 +157,8 @@ const Blogs = [
id: 1, id: 1,
slug: "how-sixty5-streets-fusion-of-shawarma-wings-and-dosa-is-changing-indian-street-food-in-the-gta", slug: "how-sixty5-streets-fusion-of-shawarma-wings-and-dosa-is-changing-indian-street-food-in-the-gta",
title: "How Sixty5 Streets Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA", title: "How Sixty5 Streets Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA",
metatitle: "How Sixty5 Streets Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA",
metadesc: "How Sixty5 Streets Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA",
category: "Guides", category: "Guides",
date: "NOV 10, 2025", date: "NOV 10, 2025",
comments: "3 Comments", comments: "3 Comments",
@ -263,6 +265,8 @@ const Blogs = [
id: 2, id: 2,
slug: "from-dosa-to-biryani-5-must-try-menu-items-at-sixty5-street-for-your-next-takeout", slug: "from-dosa-to-biryani-5-must-try-menu-items-at-sixty5-street-for-your-next-takeout",
title: "From Dosa to Biryani: 5 Must-Try Menu Items at Sixty5 Street for Your Next Takeout", title: "From Dosa to Biryani: 5 Must-Try Menu Items at Sixty5 Street for Your Next Takeout",
metatitle: "From Dosa to Biryani: 5 Must-Try Menu Items at Sixty5 Street for Your Next Takeout",
metadesc: "From Dosa to Biryani: 5 Must-Try Menu Items at Sixty5 Street for Your Next Takeout",
category: "Guides", category: "Guides",
date: "NOV 8, 2025", date: "NOV 8, 2025",
comments: "3 Comments", comments: "3 Comments",
@ -350,6 +354,8 @@ const Blogs = [
id: 3, id: 3,
slug: "behind-the-counter-the-story-of-sixty5-streets-fast-casual-kitchen-and-why-it-works-in-ontario", slug: "behind-the-counter-the-story-of-sixty5-streets-fast-casual-kitchen-and-why-it-works-in-ontario",
title: "Behind the Counter: The Story of Sixty5 Streets Fast-Casual Kitchen and Why It Works in Ontario", title: "Behind the Counter: The Story of Sixty5 Streets Fast-Casual Kitchen and Why It Works in Ontario",
metatitle: "Behind the Counter: The Story of Sixty5 Streets Fast-Casual Kitchen and Why It Works in Ontario",
metadesc: "Behind the Counter: The Story of Sixty5 Streets Fast-Casual Kitchen and Why It Works in Ontario",
category: "Insights", category: "Insights",
date: "NOV 8, 2025", date: "NOV 8, 2025",
comments: "5 Comments", comments: "5 Comments",