feat(seo): fix titles, canonicals, share tags and soft 404s
- Titles carried the brand twice (page title plus layout template) and Pudu items read "Pudu PUDU". Pages now go through pageMetadata() and displayName(). - /configure, /privacy-policy and /terms-of-service reused the homepage title. - Eight pages had no canonical and inherited the homepage og:url. - Unknown /robots, /accessories and /industries slugs returned 200; they are now a real 404 (dynamicParams = false) with a not-found page. - Events, Smart Buildings and Government have no page content yet and rendered not-found: moved to UPCOMING_INDUSTRIES until it is written. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5.5
parent
6f6536db7c
commit
8382501598
@@ -1,6 +1,15 @@
|
||||
import type { Metadata } from 'next';
|
||||
import React from 'react';
|
||||
import { Navbar } from '@/components/Navbar';
|
||||
import { FooterAndContact } from '@/components/FooterAndContact';
|
||||
import { pageMetadata } from '@/lib/seo';
|
||||
|
||||
export const metadata: Metadata = pageMetadata({
|
||||
title: 'Privacy Policy',
|
||||
description:
|
||||
'How YS Lootah Robotics collects, uses and protects personal information on this website and in enquiries, demo bookings and orders.',
|
||||
path: '/privacy-policy/',
|
||||
});
|
||||
|
||||
export default function PrivacyPolicyPage() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user