feat: add zoomable images to blog posts using react-photo-view

This commit is contained in:
Mauricio Siu
2025-02-28 01:28:45 -06:00
parent d03d30aa76
commit 7429b4995e
7 changed files with 72 additions and 12 deletions

14
pnpm-lock.yaml generated
View File

@@ -173,6 +173,9 @@ importers:
react-ga4:
specifier: ^2.1.0
version: 2.1.0
react-photo-view:
specifier: ^1.2.7
version: 1.2.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0)
tailwind-merge:
specifier: ^2.2.2
version: 2.4.0
@@ -3025,6 +3028,12 @@ packages:
react: ^16.8.0 || ^17.0.0 || ^18.0.0
react-dom: ^16.8.0 || ^17.0.0 || ^18.0.0
react-photo-view@1.2.7:
resolution: {integrity: sha512-MfOWVPxuibncRLaycZUNxqYU8D9IA+rbGDDaq6GM8RIoGJal592hEJoRAyRSI7ZxyyJNJTLMUWWL3UIXHJJOpw==}
peerDependencies:
react: '>=16.8.0'
react-dom: '>=16.8.0'
react-remove-scroll-bar@2.3.6:
resolution: {integrity: sha512-DtSYaao4mBmX+HDo5YWYdBWQwYIQQshUV/dVxFxK+KM26Wjwp1gZ6rv6OC3oujI6Bfu6Xyg3TwK533AQutsn/g==}
engines: {node: '>=10'}
@@ -6811,6 +6820,11 @@ snapshots:
react: 18.3.1
react-dom: 18.3.1(react@18.3.1)
react-photo-view@1.2.7(react-dom@18.2.0(react@18.2.0))(react@18.2.0):
dependencies:
react: 18.2.0
react-dom: 18.2.0(react@18.2.0)
react-remove-scroll-bar@2.3.6(@types/react@18.3.5)(react@18.2.0):
dependencies:
react: 18.2.0