refactor(SW-337): fixes for lightbox

This commit is contained in:
Chuma McPhoy
2024-09-04 10:22:21 +02:00
parent 050b17039f
commit 16370f58b6
4 changed files with 44 additions and 19 deletions

View File

@@ -1,8 +1,8 @@
"use client"
import { AnimatePresence, motion } from "framer-motion"
import { ChevronRightIcon } from "@/components/Icons"
import ArrowRightIcon from "@/components/Icons/ArrowRight"
import CloseIcon from "@/components/Icons/Close"
import Image from "@/components/Image"
import Button from "@/components/TempDesignSystem/Button"
import Body from "@/components/TempDesignSystem/Text/Body"
@@ -28,12 +28,7 @@ export default function FullView({
className={styles.fullViewCloseButton}
onClick={onClose}
>
<ChevronRightIcon
color="white"
width={32}
height={32}
className={styles.leftTransformIcon}
/>
<CloseIcon color="white" width={32} height={32} />
</Button>
<div className={styles.fullViewHeader}>
<span className={styles.imagePosition}>