aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app/routes/dashboard.tsx
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-02-13 21:38:42 +0900
committernsfisis <nsfisis@gmail.com>2026-02-13 21:56:50 +0900
commit7037bd46431830e4d4ad46b2e136243e8455ac02 (patch)
tree726bf9cdf919236c5460e09ec02609014432ab49 /frontend/app/routes/dashboard.tsx
parent35e71504bcc9dd43cd0b13d78ce717d55e47c67e (diff)
downloadphperkaigi-2026-albatross-7037bd46431830e4d4ad46b2e136243e8455ac02.tar.gz
phperkaigi-2026-albatross-7037bd46431830e4d4ad46b2e136243e8455ac02.tar.zst
phperkaigi-2026-albatross-7037bd46431830e4d4ad46b2e136243e8455ac02.zip
refactor(frontend): extract APP_NAME constant for page titles
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat (limited to 'frontend/app/routes/dashboard.tsx')
-rw-r--r--frontend/app/routes/dashboard.tsx6
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 56cc106..f44fe79 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -5,11 +5,9 @@ import { createApiClient } from "../api/client";
import BorderedContainerWithCaption from "../components/BorderedContainerWithCaption";
import NavigateLink from "../components/NavigateLink";
import UserIcon from "../components/UserIcon";
-import { BASE_PATH } from "../config";
+import { APP_NAME, BASE_PATH } from "../config";
-export const meta: MetaFunction = () => [
- { title: "Dashboard | iOSDC Japan 2025 Albatross" },
-];
+export const meta: MetaFunction = () => [{ title: `Dashboard | ${APP_NAME}` }];
export async function loader({ request }: LoaderFunctionArgs) {
const { user, token } = await ensureUserLoggedIn(request);