From f94700174dbdcac62047ef490f7be7c100001b8f Mon Sep 17 00:00:00 2001 From: Clay ChanWoo Date: Thu, 29 Jan 2026 23:08:48 +0900 Subject: [PATCH 1/9] [fix] Update sync-metrics workflow to use netlify-cli - Replace nwtgck/actions-netlify action with netlify-cli deploy - Change publish directory from ./out to .next - Fix ENOENT error in daily scheduled deployment --- .github/workflows/sync-metrics.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.github/workflows/sync-metrics.yml b/.github/workflows/sync-metrics.yml index fea64ee..b13a83d 100644 --- a/.github/workflows/sync-metrics.yml +++ b/.github/workflows/sync-metrics.yml @@ -66,11 +66,10 @@ jobs: run: bun run build - name: Deploy to Netlify - uses: nwtgck/actions-netlify@v3 - with: - publish-dir: "./out" - production-deploy: true - env: - NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} - NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} + run: | + npx netlify-cli deploy \ + --prod \ + --dir=.next \ + --auth=${{ secrets.NETLIFY_AUTH_TOKEN }} \ + --site=${{ secrets.NETLIFY_SITE_ID }} timeout-minutes: 5 From 1834ece8ffbc0284306755f3f2e9f2f9e5ead477 Mon Sep 17 00:00:00 2001 From: Clay ChanWoo Date: Sat, 31 Jan 2026 14:31:53 +0900 Subject: [PATCH 2/9] [refactor] Replace hardcoded colors with semantic color tokens - Update auth-guard.tsx and login-form.tsx with semantic colors - Refactor admin pages (scripts, playgrounds, contents, candidates) - Update admin components (candidate-card, candidate-list) - Use bg-background, bg-card, text-foreground, text-muted-foreground, etc. - Improve theme consistency for light/dark mode support Co-authored-by: Cursor --- app/admin/candidates/page.tsx | 38 ++++++------- app/admin/contents/[id]/page.tsx | 56 +++++++++++--------- app/admin/contents/page.tsx | 49 +++++++++-------- app/admin/playgrounds/[id]/page.tsx | 82 ++++++++++++++++------------- app/admin/playgrounds/page.tsx | 62 +++++++++++----------- app/admin/scripts/page.tsx | 77 ++++++++++++++------------- components/admin/candidate-card.tsx | 32 +++++------ components/admin/candidate-list.tsx | 14 ++--- components/auth/auth-guard.tsx | 20 +++---- components/auth/login-form.tsx | 14 ++--- 10 files changed, 236 insertions(+), 208 deletions(-) diff --git a/app/admin/candidates/page.tsx b/app/admin/candidates/page.tsx index a2af6cd..971f97c 100644 --- a/app/admin/candidates/page.tsx +++ b/app/admin/candidates/page.tsx @@ -10,7 +10,7 @@ import type { LibraryCandidateRow } from '@/lib/supabase/types'; function LoadingState() { return (
- +
); } @@ -44,15 +44,15 @@ function CandidatesContent() { export default function CandidatesAdminPage() { return ( -
+
{/* 헤더 */} -
+
- +
-

후보 라이브러리 관리

-

+

후보 라이브러리 관리

+

자동 발견된 라이브러리를 검토하고 승인/거절합니다.

@@ -62,20 +62,22 @@ export default function CandidatesAdminPage() {