- Per-page titles, descriptions, canonicals, Open Graph/Twitter tags via a shared pageMetadata() helper; metadataBase on the root layout - Sitemap generated from a route list on the canonical non-www host; robots.txt points to it; /services removed - One H1 per page; decorative images get empty alt text - JSON-LD: site-wide ComputerRepairService, FAQPage on the homepage, Service on each service page - FAQ answers are now server-rendered (forceMount) so the schema matches the HTML; fixed the nested payment FAQ item - Drop web design (page, nav link, homepage card and FAQs); 301 the old URL - Remove GA, Facebook Pixel and Vercel Analytics/Speed Insights - Fix tel: links (+640211... -> +64211...) - Add og-image.png and logo.png Co-Authored-By: Claude Opus 5.5 <[email protected]>
27 lines
732 B
JavaScript
27 lines
732 B
JavaScript
/** @type {import('next').NextConfig} */
|
|
const nextConfig = {
|
|
output: "standalone",
|
|
images: {
|
|
qualities: [75, 100],
|
|
},
|
|
async redirects() {
|
|
return [
|
|
// Cloudflare already does this; kept here as a fallback.
|
|
{
|
|
source: "/:path*",
|
|
has: [{ type: "host", value: "www.teatatucomputers.com" }],
|
|
destination: "https://teatatucomputers.com/:path*",
|
|
permanent: true,
|
|
},
|
|
// Web design is no longer offered.
|
|
{
|
|
source: "/services/web-design",
|
|
destination: "/",
|
|
permanent: true,
|
|
},
|
|
];
|
|
},
|
|
};
|
|
|
|
export default nextConfig;
|