From 7037bd46431830e4d4ad46b2e136243e8455ac02 Mon Sep 17 00:00:00 2001 From: nsfisis Date: Fri, 13 Feb 2026 21:38:42 +0900 Subject: refactor(frontend): extract APP_NAME constant for page titles Co-Authored-By: Claude Opus 4.6 --- frontend/app/routes/golf.$gameId.play.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'frontend/app/routes/golf.$gameId.play.tsx') diff --git a/frontend/app/routes/golf.$gameId.play.tsx b/frontend/app/routes/golf.$gameId.play.tsx index 1df7da8..c063d05 100644 --- a/frontend/app/routes/golf.$gameId.play.tsx +++ b/frontend/app/routes/golf.$gameId.play.tsx @@ -5,12 +5,13 @@ import { redirect, useLoaderData } from "react-router"; import { ensureUserLoggedIn } from "../.server/auth"; import { ApiClientContext, createApiClient } from "../api/client"; import GolfPlayApp from "../components/GolfPlayApp"; +import { APP_NAME } from "../config"; export const meta: MetaFunction = ({ data }) => [ { title: data - ? `Golf Playing ${data.game.display_name} | iOSDC Japan 2025 Albatross` - : "Golf Playing | iOSDC Japan 2025 Albatross", + ? `Golf Playing ${data.game.display_name} | ${APP_NAME}` + : `Golf Playing | ${APP_NAME}`, }, ]; -- cgit v1.3.1