Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/apps/web/app
diff options
context:
space:
mode:
authorLeitwolf2026-11-16 18:11:50 +0300
committerGitHub2026-11-16 18:11:50 +0300
commit1d669cd07fa4ee23d1d1d116a90dabd95d2daa81 (patch)
treeeb76a51454bb85aff0ee5ec43a142b8d16f90a86 /apps/web/app
parentcd4f0c3fb7b77640f55a807d306ae8389283f9f7 (diff)
parent62faa7158ce51495dcdd09e7858c23faee707cfd (diff)
downloadprogmaweb-main.tar.gz
Merge pull request #77 from Progmasoft/site/catch3-ukHEADmain
Serve the Catch3 site at catch3.uk
Diffstat (limited to 'apps/web/app')
-rw-r--r--apps/web/app/catch3/page.tsx4
-rw-r--r--apps/web/app/robots.ts3
-rw-r--r--apps/web/app/sitemap.ts5
3 files changed, 9 insertions, 3 deletions
diff --git a/apps/web/app/catch3/page.tsx b/apps/web/app/catch3/page.tsx
index f534373..c32593f 100644
--- a/apps/web/app/catch3/page.tsx
+++ b/apps/web/app/catch3/page.tsx
@@ -13,7 +13,7 @@ export async function generateMetadata(): Promise<Metadata> {
return {
title: `Catch3 · ${catch3.tagline}`,
description: catch3.description,
- alternates: { canonical: "https://catch3.progmasoft.com/" },
+ alternates: { canonical: "https://catch3.uk/" },
};
}
@@ -33,7 +33,7 @@ TEST_CASE( "reversing twice gives the original", "[property]" ) {
} );
}`;
-/** catch3.progmasoft.com: the site of Catch3. */
+/** catch3.uk: the site of Catch3. */
export default async function Catch3Page() {
const locale = await getLocale();
const { catch3, common } = getSitesMessages(locale);
diff --git a/apps/web/app/robots.ts b/apps/web/app/robots.ts
index a82b6dc..1bc1a5f 100644
--- a/apps/web/app/robots.ts
+++ b/apps/web/app/robots.ts
@@ -21,7 +21,8 @@ export default async function robots(): Promise<MetadataRoute.Robots> {
// Each host with pages of its own names its own sitemap.
const sitemap =
canonicalHost === "viget.progmasoft.com" ||
- canonicalHost === "product.progmasoft.com"
+ canonicalHost === "product.progmasoft.com" ||
+ canonicalHost === "catch3.uk"
? `https://${canonicalHost}/sitemap.xml`
: "https://progmasoft.com/sitemap.xml";
return {
diff --git a/apps/web/app/sitemap.ts b/apps/web/app/sitemap.ts
index 20565a1..3c89ce8 100644
--- a/apps/web/app/sitemap.ts
+++ b/apps/web/app/sitemap.ts
@@ -33,6 +33,11 @@ export default async function sitemap(): Promise<MetadataRoute.Sitemap> {
},
];
}
+ if (host === "catch3.uk") {
+ return [
+ { url: "https://catch3.uk/", changeFrequency: "weekly", priority: 1 },
+ ];
+ }
if (host === "product.progmasoft.com") {
return [
{