-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: replace deprecated react-images with lightgallery (#268)
This PR does a couple of this. I recently updated by Instagram data to include video media and all children for carousels. Altogether, this PR does the following. * Replaces react-images with [lightGallery](https://www.lightgalleryjs.com/) for the Home page Instagram module. * Adds support for carousel children in the Instagram items. * Adds support for videos in the Instagram items, thanks to lightGallery's built-in support. ## Before https://github.com/user-attachments/assets/b0b169cb-c24f-4605-b04e-762b76d92db7 ## After https://github.com/user-attachments/assets/d3f976ac-4629-4c2b-9921-9210f1ca93b9
- Loading branch information
Showing
9 changed files
with
218 additions
and
208 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "gatsby-theme-chrisvogt", | ||
"description": "My personal blog and website.", | ||
"version": "0.32.1", | ||
"version": "0.33.0", | ||
"author": "Chris Vogt <[email protected]> (https://www.chrisvogt.me)", | ||
"main": "index.js", | ||
"license": "MIT", | ||
|
@@ -90,6 +90,7 @@ | |
"gatsby-transformer-json": "^5.13.1", | ||
"gatsby-transformer-remark": "^6.13.1", | ||
"gatsby-transformer-sharp": "^5.13.1", | ||
"lightgallery": "^2.8.2", | ||
"lodash": "^4.17.21", | ||
"lottie-react-web": "^2.2.2", | ||
"prettier": "3.3.3", | ||
|
97 changes: 0 additions & 97 deletions
97
theme/src/components/widgets/instagram/__snapshots__/instagram-widget.spec.js.snap
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.