Skip to content

Commit

Permalink
Home Page Feature Zooms replaced with Links
Browse files Browse the repository at this point in the history
  • Loading branch information
whiai committed Sep 6, 2023
1 parent d54fcfe commit de9268b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/PrimaryFeatures.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,11 @@ export function PrimaryFeatures() {
className={`flex-1 m-4 ${index % 2 != 0 ? 'md:order-first' : ''}
hover:shadow-2xl transition-all duration-500 hover:-translate-y-2 hover:scale-105 cursor-pointer`}
onClick={() => {
setZoomedImage(feature.image);
setZoomedImageTitle(feature.title);
// setZoomedImage(feature.image);
// setZoomedImageTitle(feature.title);
track(`[Action] Zoom - ${index} - ${feature.title}`);
imageZoomModalDisclosure.onOpen();
// imageZoomModalDisclosure.onOpen();
window.location.href = feature.link;
}}
>

Expand Down

0 comments on commit de9268b

Please sign in to comment.