agent: Set unique titles and meta descriptions per page

This commit is contained in:
platform-mcp
2026-06-19 08:57:40 +05:30
parent 23acac5c4d
commit e697750e22
21 changed files with 60 additions and 28 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ export const prerender = false;
---
<BaseLayout
title="Page Not Found"
description="The page you're looking for doesn't exist. Return to WorkRoot IT Solutions homepage."
title="Page Not Found — Let's Get You Back on Track"
description="The page you're looking for doesn't exist or has moved. Head back to the WorkRoot IT Solutions homepage, or explore our services, portfolio, and blog instead."
noIndex={true}
>
<section class="min-h-[70vh] flex items-center justify-center py-20 px-4">
+2 -2
View File
@@ -114,8 +114,8 @@ const howWeWork = [
---
<BaseLayout
title="About Us — Our Story & Team"
description="WorkRoot IT Solutions LLP: founded 2022, senior in-house engineering team with 8+ years average experience, 20+ projects delivered. Meet the technologists behind your digital transformation. Innovation, integrity, excellence."
title="About Our Software Engineering Team & Story"
description="Meet WorkRoot IT Solutions: founded 2022, a senior in-house engineering team averaging 8+ years' experience across 20+ web, mobile, ERP, and govtech projects."
>
<SEO
slot="head"
+10 -4
View File
@@ -32,21 +32,27 @@ function formatDate(date: Date): string {
}
const readingTime = getReadingTime(post.body);
// SEO meta: prefer per-post overrides so the <title>/description land in the
// 5060 / 150160 character ranges, while the on-page heading below keeps the
// full, descriptive post title. `seoTitle` gets the " | WorkRoot" suffix from
// BaseLayout, so it should be the text before that suffix.
const metaTitle = post.data.seoTitle ?? post.data.title;
const metaDescription = post.data.seoDescription ?? post.data.description;
const shareUrl = encodeURIComponent(Astro.url.href);
const shareTitle = encodeURIComponent(post.data.title);
const shareDescription = encodeURIComponent(post.data.description);
---
<BaseLayout
title={post.data.title}
description={post.data.description}
title={metaTitle}
description={metaDescription}
ogImage={post.data.heroImage}
>
<SEO
slot="head"
type="BlogPosting"
title={post.data.title}
description={post.data.description}
title={metaTitle}
description={metaDescription}
breadcrumbs={[
{ name: 'Home', url: '/' },
{ name: 'Blog', url: '/blog' },
+2 -2
View File
@@ -24,8 +24,8 @@ function formatDate(date: Date): string {
---
<BaseLayout
title="Blog"
description="Insights and articles on web development, AI, cloud computing, and digital transformation from the WorkRoot team."
title="Software Development & Technology Insights"
description="Insights on web development, ERP, cloud migration, AI, and government IT from the WorkRoot engineering team — field notes from real, large-scale deployments."
>
<SEO
slot="head"
+2 -2
View File
@@ -100,8 +100,8 @@ const budgetOptions = ['< ₹1L', '₹1L ₹5L', '₹5L ₹15L', '₹15L
---
<BaseLayout
title="Contact Us — Get a Free Quote"
description="Start your project with WorkRoot IT Solutions LLP. 20+ projects delivered, 100% client satisfaction, response within 24 hours. Reach us at admin@workroot.in or call +91 9561417403."
title="Contact Us — Get a Free Project Quote Today"
description="Start your web, mobile, ERP, or government IT project with WorkRoot. 20+ projects delivered, replies within 1 business day. Email admin@workroot.in to begin."
>
<SEO
slot="head"
+2 -2
View File
@@ -8,8 +8,8 @@ const lastUpdated = 'March 20, 2026';
---
<BaseLayout
title="Cookie Policy"
description="WorkRoot IT Solutions Cookie Policy - Learn how we use cookies and similar tracking technologies on our website."
title="Cookie Policy — How We Use Cookies & Tracking"
description="Learn how WorkRoot IT Solutions uses cookies and similar tracking technologies, what each cookie does, and how to manage or disable them in your browser."
noIndex={true}
>
<!-- Hero Section -->
+1 -1
View File
@@ -175,7 +175,7 @@ const techStack = [
<BaseLayout
title="Home"
description="WorkRoot IT Solutions LLP builds production-grade web, mobile, ERP, and government IT systems for enterprises and growing teams. Free consultation, reply within 1 business day."
description="WorkRoot IT Solutions builds production-grade web, mobile, ERP, and government IT systems. 20+ projects delivered across 11 districts with 99.9% uptime."
>
<SEO
slot="head"
+2 -2
View File
@@ -3,8 +3,8 @@ import BaseLayout from '../layouts/BaseLayout.astro';
---
<BaseLayout
title="You're Offline"
description="It looks like you're offline. Please check your internet connection."
title="You're Offline — Reconnect to Keep Browsing"
description="You appear to be offline. Check your internet connection and try again — many WorkRoot IT Solutions pages stay available once you have visited them before."
noIndex={true}
>
<section class="min-h-[60vh] flex items-center justify-center px-4">
+2 -2
View File
@@ -173,8 +173,8 @@ const featuredProjects = projects.filter(p => p.featured);
---
<BaseLayout
title="Portfolio Case Studies & Projects"
description="Explore WorkRoot IT Solutions' portfolio: 20+ successful projects across web, mobile, ERP & government IT. From PLNR Financing to Bihar Government systems. Real results: 100% client satisfaction, 99.9% uptime."
title="Software Project Portfolio & Case Studies"
description="Explore WorkRoot's portfolio of 20+ web, mobile, ERP, and government IT projects — from PLNR Financing to Bihar police systems, with 99.9% uptime delivered."
>
<SEO
slot="head"
+2 -2
View File
@@ -8,8 +8,8 @@ const lastUpdated = 'March 20, 2026';
---
<BaseLayout
title="Privacy Policy"
description="WorkRoot IT Solutions Privacy Policy - Learn how we collect, use, and protect your personal information."
title="Privacy Policy — How We Protect Your Data"
description="Read the WorkRoot IT Solutions privacy policy to learn what personal data we collect, how we use and store it, and the choices and rights you have over it."
noIndex={true}
>
<!-- Hero Section -->
+2 -2
View File
@@ -276,8 +276,8 @@ const processSteps = [
---
<BaseLayout
title="IT Services & Solutions"
description="Expert web development, mobile apps, ERP systems, government IT solutions & UI/UX design from WorkRoot IT Solutions LLP. 10+ projects delivered, 8+ happy clients. From ₹1,00,000 — get a free quote today."
title="ERP, Web & Mobile App Development Services"
description="Custom web development, mobile apps, ERP platforms, and government IT solutions from WorkRoot. 20+ projects delivered across 11 districts — get a free quote."
>
<SEO
slot="head"
+2 -2
View File
@@ -78,8 +78,8 @@ const icons: Record<string, string> = {
---
<BaseLayout
title="Sitemap"
description="WorkRoot IT Solutions Sitemap - Navigate to all pages and resources on our website."
title="Sitemap — Browse All Pages and Resources"
description="Browse every page on WorkRoot IT Solutions in one place — services, portfolio, blog, about, contact, and our web, mobile, ERP, and government IT resources."
>
<!-- Hero Section -->
<section class="relative bg-gradient-to-br from-secondary-900 via-secondary-800 to-secondary-900 py-16 lg:py-20">
+2 -2
View File
@@ -8,8 +8,8 @@ const lastUpdated = 'March 20, 2026';
---
<BaseLayout
title="Terms of Service"
description="WorkRoot IT Solutions Terms of Service - Read our terms and conditions for using our website and services."
title="Terms of Service — Website & Project Terms"
description="Read the WorkRoot IT Solutions terms of service covering acceptable use of our website, project engagements, intellectual property, liability, and warranties."
noIndex={true}
>
<!-- Hero Section -->