Skip to content

Shared task board where people and AI coding agents work as teammates. Source-available, self-hostable.

Go

feat(web): add Changelog link to landing header (#2364)

Bohan Jiangce32a99a5c86
diff --git a/apps/web/features/landing/components/landing-header.tsx b/apps/web/features/landing/components/landing-header.tsx
index 4e3427f4eb..88b98f6132 100644
--- a/apps/web/features/landing/components/landing-header.tsx
+++ b/apps/web/features/landing/components/landing-header.tsx
@@ -44,6 +44,17 @@ export function LandingHeader({
</Link>
<div className="flex items-center gap-2.5 sm:gap-3">
+ <Link
+ href="/changelog"
+ className={cn(
+ "hidden text-[13px] font-medium transition-colors sm:inline-flex",
+ variant === "dark"
+ ? "text-white/72 hover:text-white"
+ : "text-[#0a0d12]/64 hover:text-[#0a0d12]",
+ )}
+ >
+ {t.header.changelog}
+ </Link>
<Link
href={githubUrl}
target="_blank"
diff --git a/apps/web/features/landing/i18n/en.ts b/apps/web/features/landing/i18n/en.ts
index fdb7d1d576..94ceb20153 100644
--- a/apps/web/features/landing/i18n/en.ts
+++ b/apps/web/features/landing/i18n/en.ts
@@ -7,6 +7,7 @@ export function createEnDict(allowSignup: boolean): LandingDict {
github: "GitHub",
login: "Log in",
dashboard: "Dashboard",
+ changelog: "Changelog",
},
hero: {
diff --git a/apps/web/features/landing/i18n/types.ts b/apps/web/features/landing/i18n/types.ts
index 3e9520e46a..11a9b43e5d 100644
--- a/apps/web/features/landing/i18n/types.ts
+++ b/apps/web/features/landing/i18n/types.ts
@@ -20,7 +20,7 @@ type FooterGroup = {
};
export type LandingDict = {
- header: { github: string; login: string; dashboard: string };
+ header: { github: string; login: string; dashboard: string; changelog: string };
hero: {
headlineLine1: string;
headlineLine2: string;
diff --git a/apps/web/features/landing/i18n/zh.ts b/apps/web/features/landing/i18n/zh.ts
index eded0ed326..6e3aa466bd 100644
--- a/apps/web/features/landing/i18n/zh.ts
+++ b/apps/web/features/landing/i18n/zh.ts
@@ -7,6 +7,7 @@ export function createZhDict(allowSignup: boolean): LandingDict {
github: "GitHub",
login: "\u767b\u5f55",
dashboard: "\u8fdb\u5165\u5de5\u4f5c\u53f0",
+ changelog: "\u66f4\u65b0\u65e5\u5fd7",
},
hero: {