Skip to content

chore: 누락된 login 페이지 변경사항 추가 (#79)#80

Merged
wkdtnqls0506 merged 1 commit intomainfrom
chore/PRODUCT-151
Jul 10, 2025
Merged

chore: 누락된 login 페이지 변경사항 추가 (#79)#80
wkdtnqls0506 merged 1 commit intomainfrom
chore/PRODUCT-151

Conversation

@wkdtnqls0506
Copy link
Contributor

@wkdtnqls0506 wkdtnqls0506 commented Jul 9, 2025

✅ 이슈 번호

close #79


🪄 작업 내용 (변경 사항)

  • Login.css.ts: 이미지 url 변경사항 적용
  • login/page.tsx: 변경된 컴포넌트명 반영 (SubGNB -> GNB)

📸 스크린샷


💡 설명

#37

여기서 누락된 커밋들이옵니다..🫠🫠🫠


🗣️ 리뷰어에게 전달 사항


📍 트러블 슈팅

Summary by CodeRabbit

  • 스타일

    • 로그인 페이지의 배경 이미지가 PNG에서 WEBP 포맷으로 변경되었습니다.
  • 리팩터

    • 로그인 페이지 상단 네비게이션 바가 SubGNB에서 GNB로 교체되었습니다.

@coderabbitai
Copy link

coderabbitai bot commented Jul 9, 2025

Walkthrough

로그인 페이지의 네비게이션 바 컴포넌트가 SubGNB에서 GNB로 변경되었고, 배경 이미지 파일이 PNG에서 WEBP 포맷으로 교체되었습니다. 다른 스타일이나 로직의 변경은 없습니다.

Changes

파일(들) 변경 요약
src/app/(auth)/login/_styles/Login.css.ts 배경 이미지 URL을 PNG에서 WEBP로 변경
src/app/(auth)/login/page.tsx 네비게이션 바 컴포넌트 SubGNBGNB로 변경 및 JSX 요소 수정

Sequence Diagram(s)

sequenceDiagram
    participant User
    participant LoginPage
    participant GNB

    User->>LoginPage: 로그인 페이지 접근
    LoginPage->>GNB: GNB 컴포넌트 렌더링 (props 전달)
    LoginPage-->>User: 로그인 UI 및 새 배경 이미지 표시
Loading

Assessment against linked issues

Objective Addressed Explanation
Login.css.ts 파일 변경 반영 (#79)
login/page.tsx 파일 변경 반영 (#79)

Assessment against linked issues: Out-of-scope changes

(해당 변경사항 내에서 요구사항과 무관한 변경은 발견되지 않았습니다.)

Possibly related PRs

Poem

🐇
로그인 창에 햇살이 비치네,
PNG는 가고 WEBP가 왔네.
GNB로 깔끔하게 옷을 갈아입고,
토끼는 오늘도 코드를 다듬네.
hop hop, 로그인도 한층 더 산뜻하게!

Warning

There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure.

🔧 ESLint

If the error stems from missing dependencies, add them to the package.json file. For unrecoverable errors (e.g., due to private dependencies), disable the tool in the CodeRabbit configuration.

src/app/(auth)/login/_styles/Login.css.ts

Oops! Something went wrong! :(

ESLint: 9.30.1

ESLint couldn't find the plugin "eslint-plugin-react-hooks".

(The package "eslint-plugin-react-hooks" was not found when loaded as a Node module from the directory "".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

npm install eslint-plugin-react-hooks@latest --save-dev

The plugin "eslint-plugin-react-hooks" was referenced from the config file in " » eslint-config-next/core-web-vitals » /node_modules/.pnpm/eslint-config-next@15.3.2_eslint@9.30.1_jiti@1.21.7__typescript@5.8.3/node_modules/eslint-config-next/index.js".

If you still can't figure out the problem, please see https://eslint.org/docs/latest/use/troubleshooting.

src/app/(auth)/login/page.tsx

Oops! Something went wrong! :(

ESLint: 9.30.1

ESLint couldn't find the plugin "eslint-plugin-react-hooks".

(The package "eslint-plugin-react-hooks" was not found when loaded as a Node module from the directory "".)

It's likely that the plugin isn't installed correctly. Try reinstalling by running the following:

npm install eslint-plugin-react-hooks@latest --save-dev

The plugin "eslint-plugin-react-hooks" was referenced from the config file in " » eslint-config-next/core-web-vitals » /node_modules/.pnpm/eslint-config-next@15.3.2_eslint@9.30.1_jiti@1.21.7__typescript@5.8.3/node_modules/eslint-config-next/index.js".

If you still can't figure out the problem, please see https://eslint.org/docs/latest/use/troubleshooting.

✨ Finishing Touches
  • 📝 Generate Docstrings

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@github-actions
Copy link

github-actions bot commented Jul 9, 2025

🎨 Storybook Preview: https://685a32a1c0bbd269fdb67af4-vzkdzrxmqa.chromatic.com/
🔗 Chromatic Build: https://www.chromatic.com/build?appId=685a32a1c0bbd269fdb67af4&number=92
🕖 Updated at: 2025년 07월 10일 02시 56분 07초

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (2)
src/app/(auth)/login/_styles/Login.css.ts (1)

15-15: WEBP 단일 포맷 사용은 일부 브라우저에서 배경이 표시되지 않을 수 있습니다
Safari ≤ 14 및 iOS ≤ 14 등 WebP 미지원 환경을 대비하여 PNG 백업을 함께 지정하는 image-set() 혹은 @supports 전략을 권장합니다.

-  backgroundImage: "url(\"/images/login-background.webp\")",
+  backgroundImage: `image-set(
+    url("/images/login-background.webp") type("image/webp"),
+    url("/images/login-background.png")  type("image/png")
+  )`,

배경 PNG( /public/images/login-background.png )가 실제로 존재하는지도 한 번 확인해주세요.

src/app/(auth)/login/page.tsx (1)

25-38: GNB 컴포넌트가 투명 배경을 처리하지 못하면 가독성이 저하될 수 있습니다
background='transparent' 설정 시 로그인 배경 이미지와 글자가 겹쳐 시인성이 떨어질 수 있으니, 필요 시 텍스트 쉐도우 또는 반투명 오버레이 추가를 검토해 주세요.

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between dc289db and a1cca63.

📒 Files selected for processing (2)
  • src/app/(auth)/login/_styles/Login.css.ts (1 hunks)
  • src/app/(auth)/login/page.tsx (2 hunks)
🧰 Additional context used
📓 Path-based instructions (1)
`**/*.css.ts`: vanilla-extract 스타일 파일은 camelCase로, `.css.ts` 확장자를 사용해야 하며, 해당 컴포넌트와 같은 폴더에 배치해야 한다.

**/*.css.ts: vanilla-extract 스타일 파일은 camelCase로, .css.ts 확장자를 사용해야 하며, 해당 컴포넌트와 같은 폴더에 배치해야 한다.

📄 Source: CodeRabbit Inference Engine (.cursor/rules/nextjs-folder-structure.mdc)

List of files the instruction was applied to:

  • src/app/(auth)/login/_styles/Login.css.ts
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: test
🔇 Additional comments (1)
src/app/(auth)/login/page.tsx (1)

10-10: SubGNBGNB 교체에 따른 타입·프로퍼티 호환성 확인 필요
GNBalign, background, rightAddon 프로퍼티를 동일하게 지원하는지 확인해 주세요. 런타임에서 타입 경고나 UI 깨짐 가능성이 있습니다.

Copy link
Member

@Seojunhwan Seojunhwan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

아하 확인했습니다!

@wkdtnqls0506 wkdtnqls0506 merged commit ee44729 into main Jul 10, 2025
7 checks passed
@wkdtnqls0506 wkdtnqls0506 deleted the chore/PRODUCT-151 branch July 10, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[PRODUCT-151] 누락된 login 페이지 변경사항 추가

2 participants