From 6ebaae3027c3fa4eae6a21109d5fc79e4cdb7783 Mon Sep 17 00:00:00 2001 From: Viktor Svertoka <115661003+ViktorSvertoka@users.noreply.github.com> Date: Sun, 17 Sep 2023 02:30:07 +0300 Subject: [PATCH] Fix(JSX) Error correction --- src/assets/0-default.jpg | Bin 5402 -> 0 bytes src/assets/sprite.svg | 348 ------------------ src/components/MobileMenu/MobileMenu.jsx | 14 +- .../MobileMenu/MobileMenu.styled.jsx | 7 +- 4 files changed, 15 insertions(+), 354 deletions(-) delete mode 100644 src/assets/0-default.jpg delete mode 100644 src/assets/sprite.svg diff --git a/src/assets/0-default.jpg b/src/assets/0-default.jpg deleted file mode 100644 index e482491c1b4c8da0a96273c863f0bafd16592d38..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 5402 zcmbtYWmr^Qw4PyTP-YlXLWXVzknR*|327x15E!I}l9EPBdg$(u6eMK^X+)$OBqRh$ zk-p=1?{}Yjf81Yp@AG3lYp-|hwfEWYS!(bwnCQ-3(z|z{5HJ`5rKh06c6uJV`*hfchn=5|g^izGSwuiUL|I!=R#E$zq2V(x zSFfzBG2s8#!7Um9Aq0E@?16yH02~Mq1OeXm0EDqI;sO7L`ftMlf^hNh0R)6tCFp++ zU@dX5L$`APQV-uVcjp8|0v19V>pL0cFCvnW3S$H%cPHkX*Sy z0Sw+2wGt~=(5u@$dYM~^3*;1+TW6)S=969A5!OZo{tg)M!CXZZ@4179G=J^55 zc9>*wDk1$8p;eglmH@7(CWFv&v6=IUbYq5|(o~B|S=jxw+-SEC&R9b*&h2N2I4Xvf zX79Neeerk+d9MQF(e3wUVPp_}nsDrV*L2b}o#s~`G=b>}Qt$g5j{~2qsn2@lNZ4-7 zgmzp}<)!-gq3KYF~oEB&rHS&x; z=A@nzVT#Isx`jy*=T{`2svjN@-6-bmK_E;g?e8MprPsv}(5F$%R=qDYicbZVrT6D% zA@iDF;)Xv5KQ=UN79ni2=?Sx6!=vcS`(T**nXgN8eK)|2!KA-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) zx2R&AjLeGIltcI~O%9aWrEicqg0NcX7_*&dv>U7$ryK{F^Ob~hS32GTg2Ee>*c@bS z%TT5w?%uf)se3)hoQ(9vW^w!#o;{L^GW~T_ES{C(M~}$v%3`WOWLWpq&p}sGF=vi5 zlk2HKWbUNh=`2?8kJvDFznThE3G*y%BNdpmoR2cil}SlEoiW!JPmlf*wvl$=uyIySkoL$Jve2>SQJ{hxPk2nY-#hYLcP6s(wq zgykRqlUi|rKsmroe7O@ELmg%Id|4(rJ=;%9PG-oZzC25V#sz*w*5Uwnv%Ra;x9CQ1 zYB_4u3$wM>AL3eTuwmgTnPcaPii(tZFkE3%ulFFW;Lnj}QMHTmD1@9!&Dehu)?nUq zAC@Rt`U#`gFmVwN7rI1Pvgb65H_}Ks+@uDS!0J@O8~W@oYx=Np$X}-6Qp?z1>tC$V0xYPO5RC)Vtoc_@=WdF1B}!zk0>$Pn^h%Y^dr#F7_0dKrUH03 Xp2DrNdY^VTr)ESo2n2=<-Om085@zwS diff --git a/src/assets/sprite.svg b/src/assets/sprite.svg deleted file mode 100644 index 3b4b2e3..0000000 --- a/src/assets/sprite.svg +++ /dev/null @@ -1,348 +0,0 @@ - diff --git a/src/components/MobileMenu/MobileMenu.jsx b/src/components/MobileMenu/MobileMenu.jsx index 1a4589b..3fd2164 100644 --- a/src/components/MobileMenu/MobileMenu.jsx +++ b/src/components/MobileMenu/MobileMenu.jsx @@ -5,9 +5,11 @@ import { MenuWrapper, Overlay, CloseButton, - IconWrapper, + Svg, + Img, } from './MobileMenu.styled'; import sprite from '../../images/sprite.svg'; +import images from '../../images/0-default.jpg'; export const MobileMenu = ({ isOpen }) => { const [menuIsOpen, setMenuIsOpen] = useState(isOpen); @@ -54,16 +56,18 @@ export const MobileMenu = ({ isOpen }) => { onClick={handleBackdropClick} > - + - + + Logout - + - + + Images ); diff --git a/src/components/MobileMenu/MobileMenu.styled.jsx b/src/components/MobileMenu/MobileMenu.styled.jsx index dd18b14..a3090a6 100644 --- a/src/components/MobileMenu/MobileMenu.styled.jsx +++ b/src/components/MobileMenu/MobileMenu.styled.jsx @@ -60,9 +60,14 @@ export const CloseButton = styled.button` cursor: pointer; `; -export const IconWrapper = styled.svg` +export const Svg = styled.svg` width: 30px; height: 30px; fill: #ffffff; stroke: #ffffff; `; + +export const Img = styled.img` + width: 150px; + height: 150px; +`;