aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend/app
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-17 16:04:36 +0900
committernsfisis <nsfisis@gmail.com>2025-08-17 16:24:47 +0900
commit7ce06a9fd904a96c92d6383a09cad2ad99f4053d (patch)
tree287fa99a73fe3d96820de0cb88afe3eefddaf647 /frontend/app
parent2cb998d18de1f5928a3b2c995ab5c2d32f22c898 (diff)
downloadiosdc-japan-2025-albatross-7ce06a9fd904a96c92d6383a09cad2ad99f4053d.tar.gz
iosdc-japan-2025-albatross-7ce06a9fd904a96c92d6383a09cad2ad99f4053d.tar.zst
iosdc-japan-2025-albatross-7ce06a9fd904a96c92d6383a09cad2ad99f4053d.zip
feat: update "PHPerKaigi" to "iOSDC Japan"
Diffstat (limited to 'frontend/app')
-rw-r--r--frontend/app/api/client.ts2
-rw-r--r--frontend/app/components/UserIcon.tsx2
-rw-r--r--frontend/app/routes/_index.tsx15
-rw-r--r--frontend/app/routes/dashboard.tsx4
-rw-r--r--frontend/app/routes/golf.$gameId.play.tsx4
-rw-r--r--frontend/app/routes/golf.$gameId.watch.tsx4
-rw-r--r--frontend/app/routes/login.tsx2
7 files changed, 17 insertions, 16 deletions
diff --git a/frontend/app/api/client.ts b/frontend/app/api/client.ts
index 6fa784f..10dc7ef 100644
--- a/frontend/app/api/client.ts
+++ b/frontend/app/api/client.ts
@@ -6,7 +6,7 @@ import type { paths } from "./schema";
const client = createClient<paths>({
baseUrl:
process.env.NODE_ENV === "development"
- ? `http://localhost:8003${API_BASE_PATH}`
+ ? `http://localhost:8004${API_BASE_PATH}`
: `https://t.nil.ninja${API_BASE_PATH}`,
});
diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx
index 8002c6f..2d17560 100644
--- a/frontend/app/components/UserIcon.tsx
+++ b/frontend/app/components/UserIcon.tsx
@@ -11,7 +11,7 @@ export default function UserIcon({ iconPath, displayName, className }: Props) {
<img
src={
process.env.NODE_ENV === "development"
- ? `http://localhost:8003${BASE_PATH}${iconPath}`
+ ? `http://localhost:8004${BASE_PATH}${iconPath}`
: `${BASE_PATH}${iconPath}`
}
alt={`${displayName} のアイコン`}
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index 9767985..02ce558 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -5,7 +5,7 @@ import NavigateLink from "../components/NavigateLink";
import { BASE_PATH } from "../config";
export const meta: MetaFunction = () => [
- { title: "PHPerKaigi 2025 Albatross" },
+ { title: "iOSDC Japan 2025 Albatross" },
];
export async function loader({ request }: LoaderFunctionArgs) {
@@ -18,22 +18,23 @@ export default function Index() {
<div className="min-h-screen bg-sky-600 flex flex-col items-center justify-center gap-y-6">
<img
src={`${BASE_PATH}logo.svg`}
- alt="PHPerKaigi 2025"
+ alt="iOSDC Japan 2025"
className="w-64 h-64"
/>
<div className="text-center">
<div className="font-bold text-sky-50 flex flex-col gap-y-2">
- <div className="text-5xl">PHPER CODE BATTLE</div>
+ <div className="text-5xl">SWIFT CODE BATTLE</div>
</div>
</div>
<div className="mx-2">
<BorderedContainer>
<p className="text-gray-900 max-w-prose">
- PHPer コードバトルは指示された動作をする PHP
+ Swift コードバトルは指示された動作をする Swift
コードをより短く書けた方が勝ち、という 1 対 1
- の対戦コンテンツです。3/21(金)day0 前夜祭では 3/8
- に実施されたオフライン予選と、当日まで開催しているオンライン予選を勝ち抜いたプレイヤーによるトーナメント形式での
- PHPer コードバトルを実施します。ここでは短いコードが正義です!
+ の対戦コンテンツです。9/6
+ に実施された予選を勝ち抜いたプレイヤーによるトーナメント形式での
+ コードバトルを 9/19 (金) day0
+ に実施します。ここでは短いコードが正義です!
可読性も保守性も放り投げた、イベントならではのコードをお楽しみください!
</p>
</BorderedContainer>
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 75e809b..56cc106 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -8,7 +8,7 @@ import UserIcon from "../components/UserIcon";
import { BASE_PATH } from "../config";
export const meta: MetaFunction = () => [
- { title: "Dashboard | PHPerKaigi 2025 Albatross" },
+ { title: "Dashboard | iOSDC Japan 2025 Albatross" },
];
export async function loader({ request }: LoaderFunctionArgs) {
@@ -77,7 +77,7 @@ export default function Dashboard() {
<a
href={
process.env.NODE_ENV === "development"
- ? `http://localhost:8003${BASE_PATH}admin/dashboard`
+ ? `http://localhost:8004${BASE_PATH}admin/dashboard`
: `${BASE_PATH}admin/dashboard`
}
className="text-lg text-white bg-sky-600 px-4 py-2 rounded-sm transition duration-300 hover:bg-sky-500 focus:ring-3 focus:ring-sky-400 focus:outline-hidden"
diff --git a/frontend/app/routes/golf.$gameId.play.tsx b/frontend/app/routes/golf.$gameId.play.tsx
index d9907aa..1df7da8 100644
--- a/frontend/app/routes/golf.$gameId.play.tsx
+++ b/frontend/app/routes/golf.$gameId.play.tsx
@@ -9,8 +9,8 @@ import GolfPlayApp from "../components/GolfPlayApp";
export const meta: MetaFunction<typeof loader> = ({ data }) => [
{
title: data
- ? `Golf Playing ${data.game.display_name} | PHPerKaigi 2025 Albatross`
- : "Golf Playing | PHPerKaigi 2025 Albatross",
+ ? `Golf Playing ${data.game.display_name} | iOSDC Japan 2025 Albatross`
+ : "Golf Playing | iOSDC Japan 2025 Albatross",
},
];
diff --git a/frontend/app/routes/golf.$gameId.watch.tsx b/frontend/app/routes/golf.$gameId.watch.tsx
index 556eb03..9eab29b 100644
--- a/frontend/app/routes/golf.$gameId.watch.tsx
+++ b/frontend/app/routes/golf.$gameId.watch.tsx
@@ -9,8 +9,8 @@ import GolfWatchApp from "../components/GolfWatchApp";
export const meta: MetaFunction<typeof loader> = ({ data }) => [
{
title: data
- ? `Golf Watching ${data.game.display_name} | PHPerKaigi 2025 Albatross`
- : "Golf Watching | PHPerKaigi 2025 Albatross",
+ ? `Golf Watching ${data.game.display_name} | iOSDC Japan 2025 Albatross`
+ : "Golf Watching | iOSDC Japan 2025 Albatross",
},
];
diff --git a/frontend/app/routes/login.tsx b/frontend/app/routes/login.tsx
index dc5a631..0229729 100644
--- a/frontend/app/routes/login.tsx
+++ b/frontend/app/routes/login.tsx
@@ -10,7 +10,7 @@ import InputText from "../components/InputText";
import SubmitButton from "../components/SubmitButton";
export const meta: MetaFunction = () => [
- { title: "Login | PHPerKaigi 2025 Albatross" },
+ { title: "Login | iOSDC Japan 2025 Albatross" },
];
export async function loader({ request }: LoaderFunctionArgs) {