Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion web/app/[locale]/(legal)/eula/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import type { Metadata } from "next";
export const metadata: Metadata = {
title: "EULA — cmux",
description: "End-User License Agreement for cmux",
alternates: { canonical: "./" },
};

export default function EulaPage() {
return (
<>
<h1>EULA</h1>
<p>Last updated: December 2, 2025</p>
<p>Last updated: March 18, 2026</p>

<p>
Please read this End-User License Agreement carefully before
Expand Down
3 changes: 2 additions & 1 deletion web/app/[locale]/(legal)/privacy-policy/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,14 @@ import { Link } from "../../../../i18n/navigation";
export const metadata: Metadata = {
title: "Privacy Policy — cmux",
description: "Privacy policy for cmux",
alternates: { canonical: "./" },
};

export default function PrivacyPolicyPage() {
return (
<>
<h1>Privacy Policy</h1>
<p>Last updated: December 2, 2025</p>
<p>Last updated: March 18, 2026</p>

<p>
Manaflow (the &ldquo;Company&rdquo;) is committed to maintaining robust
Expand Down
5 changes: 3 additions & 2 deletions web/app/[locale]/(legal)/terms-of-service/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ import type { Metadata } from "next";
export const metadata: Metadata = {
title: "Terms of Service — cmux",
description: "Terms of service for cmux",
alternates: { canonical: "./" },
};

export default function TermsOfServicePage() {
return (
<>
<h1>Terms of Service</h1>
<p>Last revised on: December 2, 2025</p>
<p>Last revised on: March 18, 2026</p>

<p>
The website located at{" "}
Expand Down Expand Up @@ -180,7 +181,7 @@ export default function TermsOfServicePage() {
</p>

<p>
Copyright &copy; 2025 Manaflow. All rights reserved.
Copyright &copy; 2026 Manaflow. All rights reserved.
</p>
</>
);
Expand Down
1 change: 1 addition & 0 deletions web/app/[locale]/community/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ export async function generateMetadata({ params }: { params: Promise<{ locale: s
return {
title: t("metaTitle"),
description: t("metaDescription"),
alternates: { canonical: "./" },
};
}

Expand Down
1 change: 1 addition & 0 deletions web/app/[locale]/nightly/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ export async function generateMetadata({
return {
title: t("metaTitle"),
description: t("metaDescription"),
alternates: { canonical: "./" },
};
}

Expand Down
1 change: 1 addition & 0 deletions web/app/[locale]/wall-of-love/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export async function generateMetadata({ params }: { params: Promise<{ locale: s
return {
title: t("metaTitle"),
description: t("metaDescription"),
alternates: { canonical: "./" },
};
}

Expand Down
30 changes: 17 additions & 13 deletions web/app/sitemap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,26 @@ export default function sitemap(): MetadataRoute.Sitemap {
const base = "https://cmux.com";

const paths = [
{ path: "", lastModified: new Date(), changeFrequency: "weekly" as const, priority: 1 },
{ path: "/blog", lastModified: new Date(), changeFrequency: "weekly" as const, priority: 0.8 },
{ path: "", lastModified: "2026-03-18", changeFrequency: "weekly" as const, priority: 1 },
{ path: "/blog", lastModified: "2026-03-18", changeFrequency: "weekly" as const, priority: 0.8 },
{ path: "/blog/show-hn-launch", lastModified: "2026-02-21", changeFrequency: "monthly" as const, priority: 0.7 },
{ path: "/blog/introducing-cmux", lastModified: "2026-02-12", changeFrequency: "monthly" as const, priority: 0.7 },
{ path: "/blog/zen-of-cmux", lastModified: "2026-02-27", changeFrequency: "monthly" as const, priority: 0.7 },
{ path: "/blog/cmd-shift-u", lastModified: "2026-03-04", changeFrequency: "monthly" as const, priority: 0.7 },
{ path: "/docs/getting-started", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.9 },
{ path: "/docs/concepts", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/configuration", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/keyboard-shortcuts", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.7 },
{ path: "/docs/api", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/notifications", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/changelog", lastModified: new Date(), changeFrequency: "weekly" as const, priority: 0.5 },
{ path: "/docs/browser-automation", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/community", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.5 },
{ path: "/wall-of-love", lastModified: new Date(), changeFrequency: "monthly" as const, priority: 0.5 },
{ path: "/nightly", lastModified: new Date(), changeFrequency: "weekly" as const, priority: 0.6 },
{ path: "/docs/getting-started", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.9 },
{ path: "/docs/concepts", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/configuration", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/keyboard-shortcuts", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.7 },
{ path: "/docs/api", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/notifications", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/docs/changelog", lastModified: "2026-03-18", changeFrequency: "weekly" as const, priority: 0.5 },
{ path: "/docs/browser-automation", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.8 },
{ path: "/community", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.5 },
{ path: "/wall-of-love", lastModified: "2026-03-18", changeFrequency: "monthly" as const, priority: 0.5 },
{ path: "/nightly", lastModified: "2026-03-18", changeFrequency: "weekly" as const, priority: 0.6 },
{ path: "/privacy-policy", lastModified: "2026-03-18", changeFrequency: "yearly" as const, priority: 0.3 },
{ path: "/terms-of-service", lastModified: "2026-03-18", changeFrequency: "yearly" as const, priority: 0.3 },
{ path: "/eula", lastModified: "2026-03-18", changeFrequency: "yearly" as const, priority: 0.3 },
];

const entries: MetadataRoute.Sitemap = [];
Expand All @@ -32,6 +35,7 @@ export default function sitemap(): MetadataRoute.Sitemap {
alternates[locale] =
locale === "en" ? `${base}${path}` : `${base}/${locale}${path}`;
}
alternates["x-default"] = `${base}${path}`;

entries.push({
url: `${base}${path}`,
Expand Down
Loading