Skip to content

Conversation

@AnkushSarkar10
Copy link
Contributor

Picture Gallery Component

silly goose
image

Add each pictures for DH9, DH10 and DH11 under public/galleryPics and add the filenames for the pictures insrc/assets/gallery/gallery.json.

@vercel
Copy link
Contributor

vercel bot commented Oct 21, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
landing-12 Ready Ready Preview Comment Oct 30, 2025 9:38pm

Copy link
Contributor

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

Greptile Overview

Summary

Adds a picture gallery component featuring image carousels for DeltaHacks 9, 10, and 11 events. The implementation uses Embla Carousel with autoplay functionality and navigation controls.

Key Changes:

  • New Gallery component as main container
  • New GalleryItem component with three variants (DH9, DH10, DH11)
  • JSON configuration file for gallery images
  • Added embla-carousel dependencies

Issues Found:

  • PR description missing required resolves #issue-id reference
  • Multiple instances of hardcoded rem values violating pixel-based sizing guidelines
  • Hardcoded hex colors (#FFDEA9, #D69E66) instead of Tailwind CSS variables
  • Using absolute positioning for layout elements

Confidence Score: 3/5

  • This PR is functional but has several style guideline violations that should be addressed
  • The component implementation is solid with proper React patterns and carousel integration, but violates multiple custom style rules including hardcoded sizing, colors, and absolute positioning. These are non-critical style issues that won't break functionality but should be fixed for consistency.
  • Pay attention to src/components/Gallery.tsx and src/components/GalleryItem.tsx for style guideline compliance

Important Files Changed

File Analysis

Filename Score Overview
src/components/Gallery.tsx 3/5 Main gallery container with layout setup - contains hardcoded colors and uses absolute positioning
src/components/GalleryItem.tsx 3/5 Gallery carousel items for DH9/10/11 - multiple style violations including hardcoded rem values and hex colors
src/assets/gallery/gallery.json 5/5 Data structure for gallery images - clean implementation with proper structure

4 files reviewed, 5 comments

Edit Code Review Agent Settings | Greptile

@AnkushSarkar10 AnkushSarkar10 changed the title feature: Picture Gallery feat: Picture Gallery Oct 21, 2025
@arian81
Copy link
Member

arian81 commented Oct 26, 2025

@AnkushSarkar10 Address the comments by Gerptile, the ones about hardcoded sizing and colors is valid and against our coding style.

@AnkushSarkar10
Copy link
Contributor Author

@AnkushSarkar10 Address the comments by Gerptile, the ones about hardcoded sizing and colors is valid and against our coding style.

addressed

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.

3 participants