Skip to content

Commit

Permalink
update image size from 300 to 800 px
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiaifrim committed May 9, 2024
1 parent 350f8a6 commit 8d9270a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,9 @@
"@cypress/code-coverage": "^3.10.0",
"@plone/scripts": "*",
"babel-plugin-transform-class-properties": "^6.24.1",
"md5": "^2.3.0",
"husky": "^8.0.3",
"lint-staged": "^14.0.1"
"lint-staged": "^14.0.1",
"md5": "^2.3.0"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx,json}": [
Expand Down
4 changes: 2 additions & 2 deletions src/components/manage/Blocks/HabitatsBanner/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ const SwiperLoader = loadable.lib(() => import('swiper'));
const SwiperReactLoader = loadable.lib(() => import('swiper/react'));

const getSource = (source) => {
let parsedSource = replaceQueryParam(source, 'x', 300);
parsedSource = replaceQueryParam(parsedSource, 'y', 300);
let parsedSource = replaceQueryParam(source, 'x', 800);
parsedSource = replaceQueryParam(parsedSource, 'y', 800);

return parsedSource;
};
Expand Down
4 changes: 2 additions & 2 deletions src/components/manage/Blocks/SpeciesBanner/View.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ const SwiperLoader = loadable.lib(() => import('swiper'));
const SwiperReactLoader = loadable.lib(() => import('swiper/react'));

const getSource = (source) => {
let parsedSource = replaceQueryParam(source, 'x', 300);
parsedSource = replaceQueryParam(parsedSource, 'y', 300);
let parsedSource = replaceQueryParam(source, 'x', 800);
parsedSource = replaceQueryParam(parsedSource, 'y', 800);

return parsedSource;
};
Expand Down

0 comments on commit 8d9270a

Please sign in to comment.