Skip to content

LC-2829 마케팅 챌린지 상세페이지 연동#2118

Open
yeji424 wants to merge 5 commits intomainfrom
LC-2829-마케팅-챌린지-상세페이지-연동

Hidden character warning

The head ref may contain hidden characters: "LC-2829-\ub9c8\ucf00\ud305-\ucc4c\ub9b0\uc9c0-\uc0c1\uc138\ud398\uc774\uc9c0-\uc5f0\ub3d9"
Open

LC-2829 마케팅 챌린지 상세페이지 연동#2118
yeji424 wants to merge 5 commits intomainfrom
LC-2829-마케팅-챌린지-상세페이지-연동

Conversation

@yeji424
Copy link
Collaborator

@yeji424 yeji424 commented Feb 9, 2026

연관 작업

@yeji424 yeji424 self-assigned this Feb 9, 2026
@github-actions github-actions bot changed the title Lc 2829 마케팅 챌린지 상세페이지 연동 LC-2829 마케팅 챌린지 상세페이지 연동 Feb 9, 2026
@gemini-code-assist
Copy link

Summary of Changes

Hello @yeji424, 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!

이 Pull Request는 마케팅 챌린지 상세 페이지의 커리큘럼 및 차별점 섹션에 동적 데이터를 연동하여 관리자 페이지에서 설정한 내용이 사용자에게 정확하게 표시되도록 개선합니다. 이를 위해 기존의 하드코딩된 데이터를 제거하고, 새로운 데이터 구조와 로직을 도입하여 유연하고 확장 가능한 방식으로 콘텐츠를 관리할 수 있도록 여러 UI 컴포넌트를 리팩토링했습니다.

Highlights

  • 마케팅 챌린지 강의 정보 활성화: 관리자 페이지에서 마케팅 챌린지에 대한 강의 정보를 등록할 수 있도록 'CHALLENGE_TYPES_WITH_LECTURES' 배열에 'MARKETING' 타입을 추가했습니다.
  • 커리큘럼 및 차별점 섹션 동적 데이터 연동: 마케팅 챌린지 상세 페이지의 커리큘럼 및 차별점 섹션이 하드코딩된 데이터 대신 동적으로 데이터를 받아 표시하도록 변경되었습니다.
  • 커리큘럼 데이터 구조화 및 표시 로직 개선: 커리큘럼 데이터를 주차별로 그룹화하고 표시하는 새로운 로직('getCurriculumGroupedByWeek')이 도입되었으며, 관련 UI 컴포넌트('CurriculumContent', 'Curriculums')가 업데이트되었습니다.
  • 전문가 목록 동적 처리 및 레이아웃 개선: 차별점 섹션의 전문가 목록이 동적으로 강의 데이터를 기반으로 생성되도록 변경되었으며, 5명 이상의 전문가가 있을 경우 3열 레이아웃을 지원합니다.
  • 이미지 렌더링 방식 통일: 'next/image'의 'Image' 컴포넌트 대신 일반 'img' 태그를 사용하여 이미지 렌더링 방식을 통일하고 관련 속성을 조정했습니다.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • src/domain/admin/program/ChallengeLecture.tsx
    • 'CHALLENGE_TYPES_WITH_LECTURES' 배열에 'MARKETING' 타입을 추가하여 마케팅 챌린지에도 강의 정보 등록이 가능하도록 했습니다.
  • src/domain/program/challenge/ChallengeMarketingView.tsx
    • 'MarketingDifferentiatorsSection'에 'lectures' prop을, 'MarketingCurriculumSection'에 'content' prop을 전달하도록 수정하여 동적 데이터 연동을 가능하게 했습니다.
    • import 문 순서를 정리했습니다.
  • src/domain/program/challenge/hr-view/HrCurriculumContent.tsx
    • 'next/image'의 'Image' 컴포넌트 대신 일반 'img' 태그를 사용하도록 변경하고, 이미지 스타일링을 조정했습니다.
  • src/domain/program/challenge/marketing-view/CurriculumContent.tsx
    • 하드코딩된 커리큘럼 데이터를 제거하고 'ChallengeContent' 및 'ChallengeCurriculum' 타입을 기반으로 동적 데이터를 처리하도록 전면 리팩토링했습니다.
    • 주차별 커리큘럼 그룹화를 위한 'WeekGroup' 인터페이스와 'getCurriculumGroupedByWeek' 함수를 추가했습니다.
    • 'Description' 및 'Highlight' 컴포넌트가 새로운 데이터 구조와 스타일링을 지원하도록 업데이트되었습니다.
    • 'next/image'의 'Image' 컴포넌트 대신 일반 'img' 태그를 사용하도록 변경했습니다.
  • src/domain/program/challenge/marketing-view/Curriculums.tsx
    • 'Dropdown' 및 'SidebarButton' 컴포넌트가 'getCurriculumGroupedByWeek' 함수를 통해 처리된 주차별 그룹 데이터를 사용하여 커리큘럼을 표시하도록 업데이트되었습니다.
    • 'CurriculumsProps' 인터페이스를 추가했습니다.
    • 모바일 및 데스크톱 뷰에서 동적 커리큘럼 데이터를 올바르게 렌더링하도록 로직을 수정했습니다.
  • src/domain/program/challenge/marketing-view/Differentiators.tsx
    • 하드코딩된 전문가 배열을 제거하고 'mapLecturesToProfessionals' 함수를 통해 'ChallengeContent['lectures']' 데이터를 'Professional' 타입으로 매핑하도록 변경했습니다.
    • 'ProfessionalsList' 컴포넌트가 'lectures' prop을 받아 동적으로 전문가 목록을 렌더링하도록 수정했습니다.
    • 전문가 수가 5명 이상일 경우 3열 레이아웃을 적용하는 로직을 추가했습니다.
  • src/domain/program/challenge/marketing-view/MarketingCurriculumSection.tsx
    • 'MarketingCurriculumSection' 컴포넌트가 'content' prop을 받아 'Curriculums' 컴포넌트에 전달하도록 수정했습니다.
  • src/domain/program/challenge/marketing-view/MarketingDifferentiatorsSection.tsx
    • 'MarketingDifferentiatorsSection' 컴포넌트가 'lectures' prop을 받아 'ProfessionalsList' 컴포넌트에 전달하도록 수정했습니다.
    • 'differentiators' 배열 정의를 컴포넌트 내부로 이동하여 'lectures' prop을 활용할 수 있도록 했습니다.
Activity
  • yeji424 님이 이 Pull Request를 생성했습니다.
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

이번 PR은 마케팅 챌린지 상세 페이지를 백엔드 데이터와 연동하여 하드코딩된 콘텐츠를 제거하는 작업을 담고 있습니다. 컴포넌트가 재사용 가능하고 데이터 기반으로 동작하도록 구조가 잘 변경되었습니다. 코드 명확성, 성능, 안정성을 개선하기 위한 몇 가지 제안을 남겼습니다. 특히 매직 넘버 처리, 성능을 위한 React 컴포넌트 구조 개선, 날짜 처리 안정성 강화에 대해 코멘트했습니다.

@yeji424 yeji424 force-pushed the LC-2829-마케팅-챌린지-상세페이지-연동 branch from c77bb05 to 0c8dc47 Compare February 11, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant