-
Notifications
You must be signed in to change notification settings - Fork 4
feat: 랜딩 페이지 재개발 #170
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: 랜딩 페이지 재개발 #170
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdded yarn package manager specification to package.json. Created a new landing arrow icon SVG component. Refactored the landing page to introduce post-Christmas conditional visual variants with updated styled components, replaced background strategies, and removed obsolete hook usage. Changes
Estimated code review effort🎯 4 (Complex) | ⏱️ ~35 minutes
Possibly related PRs
Poem
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
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. Comment |
Summary of ChangesHello @corinthionia, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! 이 PR은 랜딩 페이지를 재개발하여 사용자 경험과 성능을 향상시키는 데 중점을 둡니다. 기존의 큰 배경 이미지를 CSS 기반의 그라데이션으로 대체하여 로딩 시간을 단축하고, 전반적인 레이아웃과 스타일을 개선하여 시각적인 완성도를 높였습니다. Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Review
안녕하세요. 랜딩 페이지 재개발 PR에 대한 리뷰입니다. 불필요한 이미지를 제거하고 CSS로 대체하여 성능을 개선하려는 목표가 잘 반영된 것 같습니다. 전반적으로 좋은 변화이지만, 코드의 일관성과 가독성을 높일 수 있는 몇 가지 부분을 발견하여 리뷰 코멘트를 남겼습니다. 확인 부탁드립니다.
| <stop stopColor="#fff" /> | ||
| <stop offset="0" stopColor="#fff" stopOpacity="0" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
SVG 그래디언트 정의에서 중복된 <stop> 태그가 있습니다. 첫 번째 <stop> 태그는 offset="0"이 생략된 형태로, 바로 다음 줄의 offset="0"을 가진 <stop> 태그와 동일한 offset을 가집니다. 이 경우 나중에 선언된 태그가 적용되므로 첫 번째 태그는 불필요합니다. 코드를 간결하게 유지하기 위해 중복된 선언을 제거하는 것이 좋습니다.
| <stop stopColor="#fff" /> | |
| <stop offset="0" stopColor="#fff" stopOpacity="0" /> | |
| <stop offset="0" stopColor="#fff" stopOpacity="0" /> |
| background: ${({ isAfterXmas2025 }) => | ||
| isAfterXmas2025 | ||
| ? 'linear-gradient(180deg, rgb(150, 163, 255, 0) 0%, rgb(150, 163, 255, 1) 70%)' | ||
| : 'linear-gradient(180deg, rgb(21, 25, 55, 0) 0%, rgb(21, 25, 55, 1) 70%)'}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CSS의 linear-gradient에서 색상 값을 지정할 때 rgb와 rgba 함수가 혼용되고 있습니다. 투명도를 포함하는 색상은 rgba로 표현하는 것이 명시적이고 코드 전체의 일관성을 유지하는 데 도움이 됩니다. rgb 대신 rgba를 사용하도록 수정하는 것을 제안합니다.
| background: ${({ isAfterXmas2025 }) => | |
| isAfterXmas2025 | |
| ? 'linear-gradient(180deg, rgb(150, 163, 255, 0) 0%, rgb(150, 163, 255, 1) 70%)' | |
| : 'linear-gradient(180deg, rgb(21, 25, 55, 0) 0%, rgb(21, 25, 55, 1) 70%)'}; | |
| background: ${({ isAfterXmas2025 }) => | |
| isAfterXmas2025 | |
| ? 'linear-gradient(180deg, rgba(150, 163, 255, 0) 0%, rgba(150, 163, 255, 1) 70%)' | |
| : 'linear-gradient(180deg, rgba(21, 25, 55, 0) 0%, rgba(21, 25, 55, 1) 70%)'}; |
| background: linear-gradient( | ||
| to bottom, | ||
| #dadeff 0%, | ||
| rgba(255, 255, 255, 0) 100% | ||
| 180deg, | ||
| rgba(218, 222, 255, 1) 60%, | ||
| rgb(131, 146, 255, 1) 100% | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이곳에서도 rgba와 rgb 함수가 혼용되고 있습니다. 코드의 일관성을 위해 rgba로 통일하는 것이 좋겠습니다.
| background: linear-gradient( | |
| to bottom, | |
| #dadeff 0%, | |
| rgba(255, 255, 255, 0) 100% | |
| 180deg, | |
| rgba(218, 222, 255, 1) 60%, | |
| rgb(131, 146, 255, 1) 100% | |
| ); | |
| background: linear-gradient( | |
| 180deg, | |
| rgba(218, 222, 255, 1) 60%, | |
| rgba(131, 146, 255, 1) 100% | |
| ); |
| margin: 0 auto; | ||
| left: 50%; | ||
| transform: translateX(-50%); | ||
| position: relative; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
요소를 수평 중앙 정렬하기 위해 margin: 0 auto와 left: 50%; transform: translateX(-50%)를 함께 사용하고 있어 중복됩니다. width가 지정된 블록 요소이므로 margin: 0 auto만으로도 충분히 중앙 정렬이 가능합니다. 불필요한 코드를 제거하여 스타일을 간소화하는 것을 권장합니다.
| margin: 0 auto; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| position: relative; | |
| margin: 0 auto; | |
| transform: translateX(-50%); | |
| position: relative; |
| background: linear-gradient( | ||
| 180deg, | ||
| rgb(131, 146, 255, 1) 0%, | ||
| rgb(106, 123, 255, 1) 100% | ||
| ); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔗 연관된 이슈 번호
close #169
✨ 어떤 기능을 개발했나요?
✅ 어떻게 해결했나요?
📌 어떤 부분에 집중하여 리뷰해야 할까요?
❗️이 부분은 주의해 주세요! (Option)
🗂️ 참고자료 (Option)
🚀 결과 (Option)
Summary by CodeRabbit
New Features
Chores
✏️ Tip: You can customize this high-level summary in your review settings.