aboutsummaryrefslogtreecommitdiffhomepage
path: root/frontend
diff options
context:
space:
mode:
Diffstat (limited to 'frontend')
-rw-r--r--frontend/app/.client/audio/SoundEffect.ts4
-rw-r--r--frontend/app/.server/api/client.ts4
-rw-r--r--frontend/app/components/GolfPlayApp.client.tsx4
-rw-r--r--frontend/app/components/GolfWatchApp.client.tsx4
-rw-r--r--frontend/app/components/UserIcon.tsx4
-rw-r--r--frontend/app/root.tsx2
-rw-r--r--frontend/app/routes/_index.tsx2
-rw-r--r--frontend/app/routes/dashboard.tsx4
-rw-r--r--frontend/vite.config.ts4
9 files changed, 16 insertions, 16 deletions
diff --git a/frontend/app/.client/audio/SoundEffect.ts b/frontend/app/.client/audio/SoundEffect.ts
index fb003fa..99eccdd 100644
--- a/frontend/app/.client/audio/SoundEffect.ts
+++ b/frontend/app/.client/audio/SoundEffect.ts
@@ -14,8 +14,8 @@ export type SoundEffect =
const BASE_URL =
process.env.NODE_ENV === "development"
- ? `http://localhost:8003/iosdc-japan/2024/code-battle/files/audio`
- : `/iosdc-japan/2024/code-battle/files/audio`;
+ ? `http://localhost:8003/phperkaigi/2025/code-battle/files/audio`
+ : `/phperkaigi/2025/code-battle/files/audio`;
export function getFileUrl(soundEffect: SoundEffect): string {
switch (soundEffect) {
diff --git a/frontend/app/.server/api/client.ts b/frontend/app/.server/api/client.ts
index d69b617..edcffc1 100644
--- a/frontend/app/.server/api/client.ts
+++ b/frontend/app/.server/api/client.ts
@@ -4,8 +4,8 @@ import type { paths } from "./schema";
const apiClient = createClient<paths>({
baseUrl:
process.env.NODE_ENV === "development"
- ? "http://localhost:8003/iosdc-japan/2024/code-battle/api/"
- : "http://api-server/iosdc-japan/2024/code-battle/api/",
+ ? "http://localhost:8003/phperkaigi/2025/code-battle/api/"
+ : "http://api-server/phperkaigi/2025/code-battle/api/",
});
export async function apiPostLogin(
diff --git a/frontend/app/components/GolfPlayApp.client.tsx b/frontend/app/components/GolfPlayApp.client.tsx
index 48c2c89..c81fe7e 100644
--- a/frontend/app/components/GolfPlayApp.client.tsx
+++ b/frontend/app/components/GolfPlayApp.client.tsx
@@ -42,8 +42,8 @@ export default function GolfPlayApp({
}: Props) {
const socketUrl =
process.env.NODE_ENV === "development"
- ? `ws://localhost:8003/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`
- : `wss://t.nil.ninja/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`;
+ ? `ws://localhost:8003/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`
+ : `wss://t.nil.ninja/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/play?token=${sockToken}`;
const gameStateKind = useAtomValue(gameStateKindAtom);
const setCurrentTimestamp = useSetAtom(setCurrentTimestampAtom);
diff --git a/frontend/app/components/GolfWatchApp.client.tsx b/frontend/app/components/GolfWatchApp.client.tsx
index 72db9e5..e80a009 100644
--- a/frontend/app/components/GolfWatchApp.client.tsx
+++ b/frontend/app/components/GolfWatchApp.client.tsx
@@ -33,8 +33,8 @@ export type Props = {
export default function GolfWatchApp({ game, sockToken }: Props) {
const socketUrl =
process.env.NODE_ENV === "development"
- ? `ws://localhost:8003/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`
- : `wss://t.nil.ninja/iosdc-japan/2024/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`;
+ ? `ws://localhost:8003/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`
+ : `wss://t.nil.ninja/phperkaigi/2025/code-battle/sock/golf/${game.game_id}/watch?token=${sockToken}`;
const gameStateKind = useAtomValue(gameStateKindAtom);
const setCurrentTimestamp = useSetAtom(setCurrentTimestampAtom);
diff --git a/frontend/app/components/UserIcon.tsx b/frontend/app/components/UserIcon.tsx
index a4ee5e6..e14a571 100644
--- a/frontend/app/components/UserIcon.tsx
+++ b/frontend/app/components/UserIcon.tsx
@@ -9,8 +9,8 @@ export default function UserIcon({ iconPath, displayName, className }: Props) {
<img
src={
process.env.NODE_ENV === "development"
- ? `http://localhost:8003/iosdc-japan/2024/code-battle${iconPath}`
- : `/iosdc-japan/2024/code-battle${iconPath}`
+ ? `http://localhost:8003/phperkaigi/2025/code-battle${iconPath}`
+ : `/phperkaigi/2025/code-battle${iconPath}`
}
alt={`${displayName} のアイコン`}
className={`rounded-full border-4 border-white ${className}`}
diff --git a/frontend/app/root.tsx b/frontend/app/root.tsx
index c05020c..e47d794 100644
--- a/frontend/app/root.tsx
+++ b/frontend/app/root.tsx
@@ -13,7 +13,7 @@ import "./tailwind.css";
config.autoAddCss = false;
export const links: LinksFunction = () => [
- { rel: "icon", href: "/iosdc-japan/2024/code-battle/favicon.svg" },
+ { rel: "icon", href: "/phperkaigi/2025/code-battle/favicon.svg" },
];
export function Layout({ children }: { children: React.ReactNode }) {
diff --git a/frontend/app/routes/_index.tsx b/frontend/app/routes/_index.tsx
index 808302d..ec4dfcb 100644
--- a/frontend/app/routes/_index.tsx
+++ b/frontend/app/routes/_index.tsx
@@ -16,7 +16,7 @@ export default function Index() {
return (
<div className="min-h-screen bg-gray-100 flex flex-col items-center justify-center gap-y-6">
<img
- src="/iosdc-japan/2024/code-battle/favicon.svg"
+ src="/phperkaigi/2025/code-battle/favicon.svg"
alt="iOSDC Japan 2024"
className="w-24 h-24"
/>
diff --git a/frontend/app/routes/dashboard.tsx b/frontend/app/routes/dashboard.tsx
index 53b32e0..a68d5c5 100644
--- a/frontend/app/routes/dashboard.tsx
+++ b/frontend/app/routes/dashboard.tsx
@@ -86,8 +86,8 @@ export default function Dashboard() {
<a
href={
process.env.NODE_ENV === "development"
- ? "http://localhost:8003/iosdc-japan/2024/code-battle/admin/dashboard"
- : "/iosdc-japan/2024/code-battle/admin/dashboard"
+ ? "http://localhost:8003/phperkaigi/2025/code-battle/admin/dashboard"
+ : "/phperkaigi/2025/code-battle/admin/dashboard"
}
className="text-lg text-white bg-pink-600 px-4 py-2 rounded transition duration-300 hover:bg-pink-500 focus:ring focus:ring-pink-400 focus:outline-none"
>
diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts
index 983190a..004af2c 100644
--- a/frontend/vite.config.ts
+++ b/frontend/vite.config.ts
@@ -3,7 +3,7 @@ import { defineConfig } from "vite";
import tsconfigPaths from "vite-tsconfig-paths";
export default defineConfig({
- base: "/iosdc-japan/2024/code-battle/",
+ base: "/phperkaigi/2025/code-battle/",
plugins: [
remix({
future: {
@@ -11,7 +11,7 @@ export default defineConfig({
v3_relativeSplatPath: true,
v3_throwAbortReason: true,
},
- basename: "/iosdc-japan/2024/code-battle/",
+ basename: "/phperkaigi/2025/code-battle/",
}),
tsconfigPaths(),
],