Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/components/ProjectCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,9 @@ export default function ProjectCard({
}`}
>
{/* ---- Image Column ---- */}
<div className="w-full lg:w-5/12">
<div className="relative group bg-light-surface dark:bg-card-bg rounded-xl overflow-hidden border-2 border-light-border dark:border-slate-800/50 shadow-sm aspect-video">
<div className="w-full lg:w-5/12 relative group">
<div className="absolute -inset-1 bg-gradient-to-r from-accent-dark/20 to-accent-dark/20 dark:from-primary-blue/30 dark:to-teal-400/30 rounded-xl blur opacity-25 group-hover:opacity-40 transition duration-1000 group-hover:duration-300"></div>
<div className="relative bg-light-surface dark:bg-card-bg rounded-xl overflow-hidden border-2 border-light-border dark:border-slate-800/50 shadow-sm aspect-video">
Comment on lines +57 to +59

Copilot AI Mar 12, 2026

Copy link

Choose a reason for hiding this comment

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

The new absolute glow element is positioned on the entire image column wrapper (which also contains the mobile-only buttons). Because positioned elements with default z-index paint above in-flow content, this overlay can sit on top of the buttons on small screens (hurting contrast and potentially blocking clicks). Consider scoping the glow to a wrapper around just the image container, or explicitly placing it behind content (e.g., negative z-index) and making it non-interactive (pointer-events-none). Since it’s purely decorative, also mark it aria-hidden="true".

Copilot uses AI. Check for mistakes.

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

@copilot open a new pull request to apply changes based on this feedback

<img
alt={imageAlt || title}
className="w-full h-full object-contain bg-gray-50 dark:bg-slate-900/50 transform group-hover:scale-105 transition-transform duration-500"
Expand Down
Loading