diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-02-13 21:38:42 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-02-13 21:56:50 +0900 |
| commit | 7037bd46431830e4d4ad46b2e136243e8455ac02 (patch) | |
| tree | 726bf9cdf919236c5460e09ec02609014432ab49 /frontend/app/routes/golf.$gameId.play.tsx | |
| parent | 35e71504bcc9dd43cd0b13d78ce717d55e47c67e (diff) | |
| download | phperkaigi-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/golf.$gameId.play.tsx')
| -rw-r--r-- | frontend/app/routes/golf.$gameId.play.tsx | 5 |
1 files changed, 3 insertions, 2 deletions
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<typeof loader> = ({ 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}`, }, ]; |
