-
Notifications
You must be signed in to change notification settings - Fork 1
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
update images and carousel #42
Conversation
WalkthroughThe carousel component has undergone a comprehensive update, featuring restructured image arrays with new assets and descriptions, and the introduction of image dimensions in the Changes
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChat with CodeRabbit Bot (
|
✅ Deploy Preview for elaborate-croquembouche-906522 ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
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.
Review Status
Actionable comments generated: 0
Configuration used: CodeRabbit UI
Files ignored due to filter (4)
- src/assets/carousel/DSC02061.jpeg
- src/assets/carousel/DSCF1890.jpeg
- src/assets/carousel/DSCF1901.jpeg
- src/assets/carousel/DSCF2207.jpeg
Files selected for processing (1)
- src/components/CarouselWrapper.astro (1 hunks)
Additional comments: 8
src/components/CarouselWrapper.astro (8)
- 10-10: New image import added.
+ import DSC02061 from "../assets/carousel/DSC02061.jpeg";
- 20-24: Updated image and description for the first carousel item.
- image: DSCF1873, - originalAlt: "A wide-angle view...", - description: "With over 500 attendees...", + image: DSC01770, + originalAlt: "A classroom setting...", + description: "Hackathons are not easy...",
- 27-31: Updated image and description for the second carousel item.
- image: DSC01770, - originalAlt: "DSC01792", - description: "Hackathons are not easy...", + image: DSCF2187, + originalAlt: "Students gathered around tables...", + description: "Teams are encouraged to collaborate...",
- 34-38: Updated image and description for the third carousel item.
- image: DSCF2187, - originalAlt: "DSC01805", - description: "Teams are encouraged to collaborate...", + image: DSCF1862, + originalAlt: "A lecture hall with a large screen...", + description: "There will be no shortage of free swag...",
- 41-45: Updated image and description for the fourth carousel item.
- image: DSCF1862, - originalAlt: "DSCF1873", - description: "There will be no shortage of free swag...", + image: DSC02061, + originalAlt: "Group of four diverse individuals...", + description: "Not to mention, there are a ton of prizes to be won!",
- 48-51: Updated image and description for the fifth carousel item.
- image: DSC02061, - originalAlt: "Group of four diverse individuals...", - description: "Not to mention, there are a ton of prizes to be won!", + image: DSC01805, + originalAlt: "Three young men smiling at the camera...", + description: "Participants share a moment of camaraderie...",
- 54-58: Updated image and description for the sixth carousel item.
- image: DSC01805, - originalAlt: "Three young men smiling at the camera...", - description: "Participants share a moment of camaraderie...", + image: DSC01792, + originalAlt: "A large group of young adults wearing matching black shirts...", + description: "Meet some of the DeltaHacks team!",
- 67-70: The
getImage
function is now called with width and height parameters, which could improve performance by ensuring images are served at the correct dimensions.+ const img = await getImage({ src: image.image, width: 1600, height: 900 });
Summary by CodeRabbit
New Features
Documentation
Style