Skip to content

🎨 Palette: 향상된 카드 링크 클릭 영역 지원#96

Open
seonghobae wants to merge 1 commit into
mainfrom
palette-card-link-expansion-17491996957091820440
Open

🎨 Palette: 향상된 카드 링크 클릭 영역 지원#96
seonghobae wants to merge 1 commit into
mainfrom
palette-card-link-expansion-17491996957091820440

Conversation

@seonghobae

Copy link
Copy Markdown
Contributor

💡 What: .project-grid article 등의 카드 컨테이너 클래스에 position: relative와 hover 시각 효과(transform, box-shadow)를 추가하고, .project-grid h3 a::after에 확장된 영역 추가 (content: ''; position: absolute; inset: 0; z-index: 1;)를 구현했습니다.
🎯 Why: 그리드나 리스트 형식의 카드 컴포넌트에서 링크 텍스트에만 클릭 이벤트를 바인딩하면, 사용자가 정확하게 텍스트를 겨냥하여 클릭해야 하므로 사용성이 저하됩니다.
📸 Before/After: 첨부된 프론트엔드 검증 결과물 참고.
♿ Accessibility: 마우스 사용자, 터치 사용자가 정확하게 좁은 링크를 누를 필요가 없어지므로 접근성이 크게 향상됩니다.


PR created automatically by Jules for task 17491996957091820440 started by @seonghobae

.project-grid 영역의 카드 컨포넌트들에서 텍스트 링크에만 의존하던 클릭 영역을
CSS `::after`와 `inset: 0`을 사용하여 카드 전체로 확장했습니다. 이를 통해 사용자가
정확한 텍스트를 클릭하지 않아도 편하게 상호작용할 수 있게 하여 접근성과 사용성을 크게 개선했습니다.
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

Copilot AI review requested due to automatic review settings July 21, 2026 14:05

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Pull request overview

This PR improves the usability of the “Public Projects” card grid on the static homepage by making the card feel interactive on hover and by expanding the link hit target beyond just the title text.

Changes:

  • Add hover elevation (transform + shadow) and stacking (z-index) to .project-grid article.
  • Expand the clickable area for .project-grid h3 a via an absolutely-positioned ::after overlay.
  • Document the click-target expansion pattern in .Jules/palette.md.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.

File Description
styles.css Adds card hover affordance and implements an overlay technique to make the entire card area click through to the project link.
.Jules/palette.md Records the learned pattern for expanding card click targets using ::after + inset: 0.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread styles.css
Comment on lines +513 to +517
.project-grid article:hover {
transform: translateY(-2px);
box-shadow: var(--shadow);
z-index: 1;
}
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.

2 participants