menus corrected
This commit is contained in:
commit
bc244b1a74
@ -50,7 +50,7 @@ export default function AboutContent() {
|
||||
<div className="inner-column">
|
||||
{/* Sec Title */}
|
||||
<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>
|
||||
|
||||
<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 it’s 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>
|
||||
|
||||
@ -13,6 +13,18 @@ export async function generateStaticParams() {
|
||||
export async function generateMetadata({ params }) {
|
||||
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 }) {
|
||||
|
||||
@ -4,8 +4,8 @@ import Layout from "@/components/layout/Layout";
|
||||
import Blogs from "@/utils/constant.utils";
|
||||
|
||||
export const metadata = {
|
||||
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.",
|
||||
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.",
|
||||
};
|
||||
|
||||
const truncateWords = (text, limit) => {
|
||||
@ -15,7 +15,7 @@ const truncateWords = (text, limit) => {
|
||||
|
||||
const stripHtml = (html) => {
|
||||
if (!html) return "";
|
||||
return html.replace(/<[^>]*>/g, "");
|
||||
return html.replace(/<[^>]*>/g, "");
|
||||
};
|
||||
|
||||
const truncateTitle = (text, limit) => {
|
||||
@ -33,6 +33,12 @@ export default function Blog() {
|
||||
>
|
||||
<div className="sidebar-page-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">
|
||||
{Blogs.map((blog) => (
|
||||
<div
|
||||
|
||||
@ -23,7 +23,7 @@ export default function Contact() {
|
||||
<div className="title-column col-lg-5 col-md-12 col-sm-12">
|
||||
<div className="inner-column">
|
||||
<div className="sec-title">
|
||||
<div className="title">Reach us</div>
|
||||
<div className="title custome-style">Reach us</div>
|
||||
<h2>Contact</h2>
|
||||
<div className="separate"></div>
|
||||
<div className="text">
|
||||
|
||||
@ -7644,3 +7644,13 @@
|
||||
font-weight: 700;
|
||||
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
6
public/robots.txt
Normal file
@ -0,0 +1,6 @@
|
||||
# Allow all search engines to crawl all pages
|
||||
User-agent: *
|
||||
Disallow:
|
||||
|
||||
# Sitemap
|
||||
Sitemap: https://sixty5street.com/sitemap.xml
|
||||
@ -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>
|
||||
@ -15,13 +15,13 @@ const shouldAddSlash = (url) => {
|
||||
|
||||
// Format URL to ensure proper slashes and handle anchors
|
||||
const formatUrl = (url) => {
|
||||
// Split path and hash
|
||||
// Split path and hash
|
||||
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(/^\/+/, "");
|
||||
|
||||
// Add or remove trailing slash for pathPart
|
||||
// Add or remove trailing slash for pathPart
|
||||
if (addTrailingSlash && shouldAddSlash(pathPart) && !pathPart.endsWith("/")) {
|
||||
pathPart += "/";
|
||||
}
|
||||
@ -29,21 +29,40 @@ const formatUrl = (url) => {
|
||||
pathPart = pathPart.slice(0, -1);
|
||||
}
|
||||
|
||||
// Recombine with hash if it exists
|
||||
// Recombine with hash if it exists
|
||||
return hashPart ? pathPart + "#" + hashPart : pathPart;
|
||||
};
|
||||
|
||||
// List of URLs to include in sitemap
|
||||
const sectionLinks = [
|
||||
{ url: "/", changefreq: "daily", priority: 1.0 },
|
||||
{ url: "/#about", changefreq: "weekly", priority: 0.8 },
|
||||
{ url: "/#popular-dishes", changefreq: "monthly", priority: 0.7 },
|
||||
{ url: "/#sixty5-street-specials", changefreq: "weekly", priority: 0.8 },
|
||||
{ url: "/#menu", changefreq: "weekly", priority: 0.7 },
|
||||
{ url: "/about", changefreq: "weekly", priority: 0.8 },
|
||||
{ url: "/gallery", changefreq: "monthly", priority: 0.7 },
|
||||
{ url: "/menu", changefreq: "weekly", priority: 0.8 },
|
||||
{ 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
|
||||
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,
|
||||
url: formatUrl(link.url),
|
||||
}));
|
||||
|
||||
@ -157,6 +157,8 @@ const Blogs = [
|
||||
id: 1,
|
||||
slug: "how-sixty5-streets-fusion-of-shawarma-wings-and-dosa-is-changing-indian-street-food-in-the-gta",
|
||||
title: "How Sixty5 Street’s Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA",
|
||||
metatitle: "How Sixty5 Street’s Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA",
|
||||
metadesc: "How Sixty5 Street’s Fusion of Shawarma, Wings & Dosa Is Changing Indian Street-Food in the GTA",
|
||||
category: "Guides",
|
||||
date: "NOV 10, 2025",
|
||||
comments: "3 Comments",
|
||||
@ -263,6 +265,8 @@ const Blogs = [
|
||||
id: 2,
|
||||
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",
|
||||
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",
|
||||
date: "NOV 8, 2025",
|
||||
comments: "3 Comments",
|
||||
@ -350,6 +354,8 @@ const Blogs = [
|
||||
id: 3,
|
||||
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 Street’s Fast-Casual Kitchen and Why It Works in Ontario",
|
||||
metatitle: "Behind the Counter: The Story of Sixty5 Street’s Fast-Casual Kitchen and Why It Works in Ontario",
|
||||
metadesc: "Behind the Counter: The Story of Sixty5 Street’s Fast-Casual Kitchen and Why It Works in Ontario",
|
||||
category: "Insights",
|
||||
date: "NOV 8, 2025",
|
||||
comments: "5 Comments",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user