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/_index.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/_index.tsx')
| -rw-r--r-- | frontend/app/routes/_index.tsx | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx index 58e4e53..207b175 100644 --- a/frontend/app/routes/_index.tsx +++ b/frontend/app/routes/_index.tsx @@ -2,11 +2,9 @@ import type { LoaderFunctionArgs, MetaFunction } from "react-router"; import { ensureUserNotLoggedIn } from "../.server/auth"; import BorderedContainer from "../components/BorderedContainer"; import NavigateLink from "../components/NavigateLink"; -import { BASE_PATH } from "../config"; +import { APP_NAME, BASE_PATH } from "../config"; -export const meta: MetaFunction = () => [ - { title: "iOSDC Japan 2025 Albatross" }, -]; +export const meta: MetaFunction = () => [{ title: APP_NAME }]; export async function loader({ request }: LoaderFunctionArgs) { await ensureUserNotLoggedIn(request); |
