From c2e83480482118cd2ce9998a7dc803b40c6d839b Mon Sep 17 00:00:00 2001 From: howu <67588757+choihooo@users.noreply.github.com> Date: Tue, 21 Oct 2025 20:52:33 +0900 Subject: [PATCH] =?UTF-8?q?Revert=20"[SSN-180]:=20=EB=B9=8C=EB=93=9C=20?= =?UTF-8?q?=EC=98=A4=EB=A5=98=20=EC=88=98=EC=A0=95"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 51 ---------------------------------------- src/app/layout.tsx | 1 - src/app/login/page.tsx | 33 ++------------------------ 3 files changed, 2 insertions(+), 83 deletions(-) delete mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml deleted file mode 100644 index 54182bc..0000000 --- a/.github/workflows/ci.yml +++ /dev/null @@ -1,51 +0,0 @@ -name: CI - -on: - pull_request: - branches: [ develop, main ] - types: [ opened, synchronize, reopened ] - -permissions: - contents: read - -jobs: - ci: - runs-on: ubuntu-latest - steps: - - name: Checkout - uses: actions/checkout@v4 - - - name: Setup Node.js - uses: actions/setup-node@v4 - with: - node-version: '20' - - - name: Setup pnpm - uses: pnpm/action-setup@v4 - - - name: Get pnpm store directory - shell: bash - run: | - echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV - - - name: Setup pnpm cache - uses: actions/cache@v4 - with: - path: ${{ env.STORE_PATH }} - key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} - restore-keys: | - ${{ runner.os }}-pnpm-store- - - - name: Install dependencies - run: pnpm install --frozen-lockfile - - - name: Run linting - run: pnpm run lint - - # - name: Run tests - # run: pnpm run test - - - name: Build application - run: pnpm run build - env: - NEXT_PUBLIC_API_BASE_URL: ${{ secrets.NEXT_PUBLIC_API_BASE_URL }} \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index fac3d93..a8d652d 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -5,7 +5,6 @@ import { QueryProvider } from "@/components/providers/QueryProvider"; import AnalyticsTools from "@/components/common/AnalyticsTools"; export const metadata: Metadata = { - metadataBase: new URL(process.env.NEXT_PUBLIC_BASE_URL || 'http://localhost:3000'), title: "수상한 녀석들", description: "공모전 출품작 분석 AI 서비스", icons: { diff --git a/src/app/login/page.tsx b/src/app/login/page.tsx index b3ee60e..d1f35d6 100644 --- a/src/app/login/page.tsx +++ b/src/app/login/page.tsx @@ -1,6 +1,6 @@ "use client"; -import React, { useEffect, useState, Suspense } from "react"; +import React, { useEffect, useState } from "react"; import { Google, KaKao, Naver } from "../../../public"; import ToolTip from "./_components/Tooltip"; import Header from "@/components/common/Header"; @@ -10,8 +10,7 @@ import { trackGAEvent, GA_EVENT } from "@/libs/ga"; const BACKEND_URL = process.env.NEXT_PUBLIC_BASE_URL; const REDIRECT_BASE_URL = process.env.NEXT_PUBLIC_RIDRECT_BASE_URL || ""; -// useSearchParams를 사용하는 컴포넌트를 분리 -function LoginForm() { +const Page = () => { const [lastProvider, setLastProvider] = useState(null); const [showTooltip, setShowTooltip] = useState(true); const searchParams = useSearchParams(); @@ -22,12 +21,10 @@ function LoginForm() { setLastProvider(localStorage.getItem("socialLogin")); } }, []); - const onClose = (e: React.MouseEvent) => { e.stopPropagation(); setShowTooltip(false); }; - return (
@@ -133,32 +130,6 @@ function LoginForm() {
); -} - -// 로딩 컴포넌트 -function LoginLoading() { - return ( -
-
-
-
-
-
-

로딩 중...

-
-
-
-
- ); -} - -// 메인 페이지 컴포넌트 -const Page = () => { - return ( - }> - - - ); }; export default Page;