diff options
| -rw-r--r-- | .env.example | 2 | ||||
| -rw-r--r-- | .github/workflows/update-submodule.yml | 6 | ||||
| -rw-r--r-- | backend/admin/templates/base.html | 2 | ||||
| -rw-r--r-- | compose.prod.yaml | 2 | ||||
| -rw-r--r-- | docs/DEV.md | 2 | ||||
| -rw-r--r-- | frontend/app/config.ts | 2 | ||||
| -rw-r--r-- | frontend/app/pages/IndexPage.tsx | 4 | ||||
| -rw-r--r-- | frontend/app/pages/TournamentPage.tsx | 4 | ||||
| -rw-r--r-- | frontend/app/tailwind.css | 2 | ||||
| -rw-r--r-- | nginx.conf | 10 |
10 files changed, 18 insertions, 18 deletions
diff --git a/.env.example b/.env.example index 6f176d9..1ae5207 100644 --- a/.env.example +++ b/.env.example @@ -1 +1 @@ -ALBATROSS_BASE_PATH=/iosdc-japan/2025/code-battle/ +ALBATROSS_BASE_PATH=/phperkaigi/2026/code-battle/ diff --git a/.github/workflows/update-submodule.yml b/.github/workflows/update-submodule.yml index 8f264ad..2c32a00 100644 --- a/.github/workflows/update-submodule.yml +++ b/.github/workflows/update-submodule.yml @@ -15,12 +15,12 @@ jobs: - run: | cd nil.ninja - cd vhosts/t/albatross-swift-2025 + cd vhosts/t/albatross-php-2026 git fetch --prune origin git switch -d origin/main cd "$(git rev-parse --show-superproject-working-tree)" - git add vhosts/t/albatross-swift-2025 + git add vhosts/t/albatross-php-2026 git config user.name nsfisis git config user.email nsfisis@gmail.com - git commit -m "[automated] Update 'vhosts/t/albatross-swift-2025' (${GITHUB_SHA})" + git commit -m "[automated] Update 'vhosts/t/albatross-php-2026' (${GITHUB_SHA})" git push origin main diff --git a/backend/admin/templates/base.html b/backend/admin/templates/base.html index 4397574..eb8d3b9 100644 --- a/backend/admin/templates/base.html +++ b/backend/admin/templates/base.html @@ -1,7 +1,7 @@ <!DOCTYPE html> <html> <head> - <title>ADMIN {{ .Title }} | iOSDC Japan 2025 Albatross</title> + <title>ADMIN {{ .Title }} | PHPerKaigi 2026 Albatross</title> <link rel="icon" href="{{ .BasePath }}favicon.svg"> <link rel="stylesheet" href="{{ .BasePath }}admin/css/normalize.css"> <link rel="stylesheet" href="{{ .BasePath }}admin/css/sakura.css"> diff --git a/compose.prod.yaml b/compose.prod.yaml index b74c804..5b9e346 100644 --- a/compose.prod.yaml +++ b/compose.prod.yaml @@ -6,7 +6,7 @@ services: volumes: - ./nginx.conf:/etc/nginx/nginx.conf:ro - files-data:/var/www/files:ro - - frontend-assets:/var/www/iosdc-japan/2025/code-battle:ro + - frontend-assets:/var/www/phperkaigi/2026/code-battle:ro depends_on: api-server: condition: service_started diff --git a/docs/DEV.md b/docs/DEV.md index be9aede..f3430b5 100644 --- a/docs/DEV.md +++ b/docs/DEV.md @@ -22,7 +22,7 @@ 1. `direnv allow .` (optional) 1. `just init` 1. `just up` -1. Access to http://localhost:5173/iosdc-japan/2025/code-battle/. +1. Access to http://localhost:5173/phperkaigi/2026/code-battle/. * User `a`, `b` and `c` can log in with `pass` password. * User `a` and `b` are players. * User `c` is an administrator. diff --git a/frontend/app/config.ts b/frontend/app/config.ts index 92f764a..e44fb08 100644 --- a/frontend/app/config.ts +++ b/frontend/app/config.ts @@ -1,3 +1,3 @@ export const BASE_PATH = import.meta.env.BASE_URL || "/"; export const API_BASE_PATH = `${BASE_PATH}api/`; -export const APP_NAME = "iOSDC Japan 2025 Albatross"; +export const APP_NAME = "PHPerKaigi 2026 Albatross"; diff --git a/frontend/app/pages/IndexPage.tsx b/frontend/app/pages/IndexPage.tsx index 088cdc5..120720a 100644 --- a/frontend/app/pages/IndexPage.tsx +++ b/frontend/app/pages/IndexPage.tsx @@ -10,11 +10,11 @@ export default function IndexPage() { <div className="min-h-screen bg-gray-100 flex flex-col items-center justify-center gap-y-6"> <img src={`${BASE_PATH}logo.svg`} - alt="iOSDC Japan 2025" + alt="PHPerKaigi 2026" className="w-96 h-auto" /> <div className="text-center"> - <div className="font-bold text-transparent bg-clip-text bg-iosdc-japan"> + <div className="font-bold text-transparent bg-clip-text bg-phperkaigi"> <div className="text-6xl">Swift Code Battle</div> </div> </div> diff --git a/frontend/app/pages/TournamentPage.tsx b/frontend/app/pages/TournamentPage.tsx index 53fb62b..8debd0a 100644 --- a/frontend/app/pages/TournamentPage.tsx +++ b/frontend/app/pages/TournamentPage.tsx @@ -306,8 +306,8 @@ export default function TournamentPage() { return ( <div className="p-6 bg-gray-100 min-h-screen"> <div className="max-w-5xl mx-auto"> - <h1 className="text-3xl font-bold text-transparent bg-clip-text bg-iosdc-japan text-center mb-8"> - iOSDC Japan 2025 Swift Code Battle + <h1 className="text-3xl font-bold text-transparent bg-clip-text bg-phperkaigi text-center mb-8"> + PHPerKaigi 2026 PHP Code Battle </h1> <div className="grid grid-rows-5"> diff --git a/frontend/app/tailwind.css b/frontend/app/tailwind.css index ada2c29..6aa7ebd 100644 --- a/frontend/app/tailwind.css +++ b/frontend/app/tailwind.css @@ -4,7 +4,7 @@ --text-10xl: 16rem; } -@utility bg-iosdc-japan { +@utility bg-phperkaigi { background-image: linear-gradient( to right, #e03468, @@ -10,11 +10,11 @@ http { root /var/www; - location /iosdc-japan/2025/code-battle/files/ { + location /phperkaigi/2026/code-battle/files/ { alias /var/www/files/; } - location /iosdc-japan/2025/code-battle/api/ { + location /phperkaigi/2026/code-battle/api/ { proxy_pass http://api-server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -22,7 +22,7 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location /iosdc-japan/2025/code-battle/admin/ { + location /phperkaigi/2026/code-battle/admin/ { proxy_pass http://api-server; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; @@ -30,8 +30,8 @@ http { proxy_set_header X-Forwarded-Proto $scheme; } - location /iosdc-japan/2025/code-battle/ { - try_files $uri $uri/ /iosdc-japan/2025/code-battle/index.html; + location /phperkaigi/2026/code-battle/ { + try_files $uri $uri/ /phperkaigi/2026/code-battle/index.html; } } } |
