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/_index.tsx | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'frontend/app/routes/_index.tsx') 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); -- cgit v1.3.1