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
@@ -2,12 +2,14 @@ import type { Metadata } from 'next';
|
||||
import { Navbar } from '@/components/Navbar';
|
||||
import { FooterAndContact } from '@/components/FooterAndContact';
|
||||
import { InquiryForm } from '@/components/robotics/InquiryForm';
|
||||
import { pageMetadata } from '@/lib/seo';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'Contact YS Lootah Robotics Dubai Robotics Sales & Demo Inquiries',
|
||||
export const metadata: Metadata = pageMetadata({
|
||||
title: 'Contact · Dubai Robotics Sales & Demo Inquiries',
|
||||
description:
|
||||
'Dubai robotics sales, support, and demo inquiries. Contact YS Lootah Robotics, the UAE destination for selected Unitree and Pudu Robotics solutions, by phone, email, or WhatsApp.',
|
||||
};
|
||||
path: '/contact/',
|
||||
});
|
||||
|
||||
export default function ContactPage() {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user