From 1e2f43e8b939ed8b608af830cc9263aaacd9adb6 Mon Sep 17 00:00:00 2001 From: Amanda Date: Wed, 18 Jan 2023 18:20:59 -0300 Subject: [PATCH] =?UTF-8?q?fix(header):=20corre=C3=A7=C3=A3o=20na=20estrut?= =?UTF-8?q?ura=20do=20codigo=20e=20mudan=C3=A7a=20das=20imagens=20para=20s?= =?UTF-8?q?vgs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Header/Header.tsx | 12 ++++++------ src/components/Header/HeaderLinks.tsx | 4 ++-- .../Header/Menu-Mobile/MenuMobile.tsx | 18 ++++++++++-------- src/components/Header/SearchBar.tsx | 4 ++-- src/components/Header/assets/img/Cart.png | Bin 448 -> 0 bytes .../Header/assets/img/IconBusca.png | Bin 432 -> 0 bytes src/components/Header/assets/img/iconExit.png | Bin 268 -> 0 bytes src/components/Header/assets/img/iconMenu.png | Bin 217 -> 0 bytes src/components/Header/assets/img/logoM3.png | Bin 2935 -> 6386 bytes src/components/Header/assets/svg/Cart.svg | 5 +++++ .../Header/assets/svg/IconBusca.svg | 10 ++++++++++ src/components/Header/assets/svg/iconExit.svg | 4 ++++ src/components/Header/assets/svg/iconMenu.svg | 5 +++++ src/components/link/Link.tsx | 7 ++++--- 14 files changed, 48 insertions(+), 21 deletions(-) delete mode 100644 src/components/Header/assets/img/Cart.png delete mode 100644 src/components/Header/assets/img/IconBusca.png delete mode 100644 src/components/Header/assets/img/iconExit.png delete mode 100644 src/components/Header/assets/img/iconMenu.png create mode 100644 src/components/Header/assets/svg/Cart.svg create mode 100644 src/components/Header/assets/svg/IconBusca.svg create mode 100644 src/components/Header/assets/svg/iconExit.svg create mode 100644 src/components/Header/assets/svg/iconMenu.svg diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index 1114eff..5824428 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -1,11 +1,11 @@ import { useState } from "react"; -import SearchBar from "./SearchBar"; +import { SearchBar } from "./SearchBar"; import Logo from "./assets/img/logoM3.png"; -import Cart from "./assets/img/Cart.png"; -import iconMenu from "./assets/img/iconMenu.png"; -import Link from "../link/Link"; -import HeaderLinks from "./HeaderLinks"; -import MenuMobile from "./Menu-Mobile/MenuMobile"; +import Cart from "./assets/svg/Cart.svg"; +import iconMenu from "./assets/svg/iconMenu.svg"; +import { Link } from "../link/Link"; +import { HeaderLinks } from "./HeaderLinks"; +import { MenuMobile } from "./Menu-Mobile/MenuMobile"; import styles from "./header.module.scss"; diff --git a/src/components/Header/HeaderLinks.tsx b/src/components/Header/HeaderLinks.tsx index 95a9bf7..bfe2059 100644 --- a/src/components/Header/HeaderLinks.tsx +++ b/src/components/Header/HeaderLinks.tsx @@ -1,4 +1,4 @@ -import Link from "../link/Link"; +import { Link } from "../link/Link"; import styles from "./header.module.scss"; const HeaderLinks = () => { @@ -11,4 +11,4 @@ const HeaderLinks = () => { ); }; -export default HeaderLinks; +export { HeaderLinks }; diff --git a/src/components/Header/Menu-Mobile/MenuMobile.tsx b/src/components/Header/Menu-Mobile/MenuMobile.tsx index 1d664e0..d274265 100644 --- a/src/components/Header/Menu-Mobile/MenuMobile.tsx +++ b/src/components/Header/Menu-Mobile/MenuMobile.tsx @@ -1,6 +1,6 @@ -import iconExit from "../assets/img/iconExit.png"; -import Link from "../../link/Link"; -import HeaderLinks from "../HeaderLinks"; +import iconExit from "../assets/svg/iconExit.svg"; +import { Link } from "../../link/Link"; +import { HeaderLinks } from "../HeaderLinks"; import styles from "../header.module.scss"; @@ -11,13 +11,15 @@ interface MenuMobileProps { } const MenuMobile = (props: MenuMobileProps) => { + const { onClick, active, className } = props; + return ( <>
-
+
@@ -25,7 +27,7 @@ const MenuMobile = (props: MenuMobileProps) => { className={styles["page-header__menu-mobile--button-exit"]} aria-label="exit" type="submit" - onClick={props.onClick} + onClick={onClick} > @@ -39,4 +41,4 @@ const MenuMobile = (props: MenuMobileProps) => { ); }; -export default MenuMobile; +export { MenuMobile }; diff --git a/src/components/Header/SearchBar.tsx b/src/components/Header/SearchBar.tsx index 05e4461..e39d8c1 100644 --- a/src/components/Header/SearchBar.tsx +++ b/src/components/Header/SearchBar.tsx @@ -1,4 +1,4 @@ -import iconBusca from "./assets/img/IconBusca.png"; +import iconBusca from "./assets/svg/IconBusca.svg"; import styles from "./header.module.scss"; @@ -19,4 +19,4 @@ const SearchBar = () => { ); }; -export default SearchBar; +export { SearchBar }; diff --git a/src/components/Header/assets/img/Cart.png b/src/components/Header/assets/img/Cart.png deleted file mode 100644 index 7f1b18c345e99e729f9b2b609c1956e300611011..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 448 zcmV;x0YCnUP);k%;9>>1crY>qCO^me&FnxnJ9)Fa zKoG{5J%Ad23_^%^a6y7+Go=O-71?cIPtM7NYass&;-(mlM3o@=C$s{~!IQd>gLJbO-9iWUaf3q~atlWmNtT5%L30)<$WgT(|fD0000Ts3L?qWAP9 zC-P_6`kh4Py-yGx;P<+O>v{t(;mf+ND;Y2sL3CpQ&t%vZ@EL%cUJxOxsDmZEVxFk08yx+`lwj|(O!m?BQOzV3l+t!>-SG))~l^T^-v?I-*{ zW82$Phai!?Nq5~OI{XjhnU_Z(!gr~-%q%Ej{w=3jsJpPBhPjv1?2_@zg4WFMjsR39 znf%M3vY-X?oFhJDAB>Gv`2-_uFiO4F75o;tj(Tl7!S^ES=0)WY*92wjgR8Q`JB8^4 zW#_w%?F-kLljjJ}(r>zHCY`!73v;$QdQk07N37#6!<+E`%EFwCus+x*P!Fsc4T@kY aiN{}=Gk4J$4WqOG0000``W z$lZxy-8q?;Kn_c~qpu?a!^VE@KZ&eB{z6X|$B+ufxsw_N9SnFFjGF|lngnwWahR>( zz0ttilfa@ZaggKUE+wUxTmR`j_praTg@Ms!O^pM~bp4nqe-4mCk zHOb14TwSA|T@fsNn!7cK(Q{998mm>0a`%!0AG~>rR-RCEy|elMnvOrUQ;tMMSS+mZ zu@&X5lZ==rzU@}St`^<5CNIyI7hY_#JJWW;_=(WA2kSpseq~-A@q6bP0l+XkKJ=|fL diff --git a/src/components/Header/assets/img/iconMenu.png b/src/components/Header/assets/img/iconMenu.png deleted file mode 100644 index 2b91465017ad0283f5b7ed3dbaa75926bc3fcc45..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 217 zcmeAS@N?(olHy`uVBq!ia0vp^GC(ZO!3HEHPU(jODb50q$YKTtZeb8+WSBKa0w~B> z9OUlAuz9ExGkCiC KxvX7wjK~#7F?Oh9) z6~&c4cK}gzP*D>ffcQoutd9tYiuh#F_+nk6c?d*TU4F!WVUK6)zVKk z$rbo-C&`c@Lk0so19@CEl2&pt7{^2SFH>A)$dI89k{QS(wYyZxefaCL2BX`^kRd~Z zLtO^)BFtpF$T0kMiDbx-A%g?88OXD$sWg+{LF(u!88T$Z;6ZH$(gMm-f!?DYk;`dk zl(-Q`8LCl|3Kco2*rZg8TrT&SlnF{HJ|6Wz%|ZK^zpFu?gI0i6p}sGqOhA3R;kG+r*($w z==#ZlLv5#uyrt-MG`t@gI9^Hs$~YRA9-w~(9U*#9#C1Y^k*kn*4z7PO^bYDy#rkkR z%f1lQ9dwH5i5>5mjUakszJ}|cKoe2VM-m7#7&@AI&JjH@E2Zu`FVr&=*YT#F45Bhh|VW4KQEUS^{C0u_Cnw&Hdi-BPp-6O<)+$ENcb$y1sGjM$p^jA+m{u63v{NN;*`Dp6HLFo>iWD*d7l4>qJW&As7kz8JQGa+41*MOFq_p zP|`D)iFdZ>HXbFCO8H*}8Vnk3DSJ3BS6J>n5%#v~iNqXi%aC>tjXq=g}uDZxRxsq^lrez)kCn#65 z@hGc}rH)3RpW@Fcpfe>s^B~%Y9`FyNto?17%<4Z1bf<(f4}y})W4OPC6alm4<0Ses zsGUe^%V8T34F|(f)`5}|=6ud0pzlhU1kZlr*u2whkHm~omT|3wF%M#I&;y|V0#UN5 za^&qQ>CwZH_7-T4Zfp*#tqR||G)2x%m|9n0SJ`JD{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src/components/Header/assets/svg/IconBusca.svg new file mode 100644 index 0000000..51dbce3 --- /dev/null +++ b/src/components/Header/assets/svg/IconBusca.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/Header/assets/svg/iconExit.svg b/src/components/Header/assets/svg/iconExit.svg new file mode 100644 index 0000000..e0e6d36 --- /dev/null +++ b/src/components/Header/assets/svg/iconExit.svg @@ -0,0 +1,4 @@ + + + + diff --git a/src/components/Header/assets/svg/iconMenu.svg b/src/components/Header/assets/svg/iconMenu.svg new file mode 100644 index 0000000..6cadeb3 --- /dev/null +++ b/src/components/Header/assets/svg/iconMenu.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/src/components/link/Link.tsx b/src/components/link/Link.tsx index 4d2e2f5..7043770 100644 --- a/src/components/link/Link.tsx +++ b/src/components/link/Link.tsx @@ -5,11 +5,12 @@ export interface LinkProps { } const Link = (props: LinkProps) => { + const { link, text, className } = props; return ( - - {props.text} + + {text} ); }; -export default Link; +export { Link };