fix: update page titles to show board name (#225)

* fix: update page titles to show board name

* chore: update translations

* chore: update translations
This commit is contained in:
Henry
2025-10-23 21:08:34 +01:00
committed by GitHub
parent bb4784fd28
commit 1e2326ac2e
23 changed files with 315 additions and 238 deletions

View File

@@ -97,7 +97,7 @@ export default function PublicBoardView() {
return (
<>
<PageHead
title={`${data?.name ?? "Board"} | ${data?.workspace.name ?? "Workspace"}`}
title={`${data?.name ?? t`Board`} | ${data?.workspace.name ?? t`Workspace`}`}
/>
<style jsx global>{`
html {

View File

@@ -1,5 +1,6 @@
import Link from "next/link";
import { useRouter } from "next/router";
import { t } from "@lingui/core/macro";
import { PageHead } from "~/components/PageHead";
import PatternedBackground from "~/components/PatternedBackground";
@@ -62,7 +63,7 @@ export default function PublicBoardsView() {
return (
<>
<PageHead title={`${"Board"} | ${"Workspace"}`} />
<PageHead title={`${data?.name ?? t`Workspace`} | kan.bn`} />
<style jsx global>{`
html {
height: 100vh;