+
diff --git a/react-ts/src/components/HeaderMobile/HeaderMobile.module.scss b/react-ts/src/components/HeaderMobile/HeaderMobile.module.scss
new file mode 100644
index 0000000..726d1c9
--- /dev/null
+++ b/react-ts/src/components/HeaderMobile/HeaderMobile.module.scss
@@ -0,0 +1,17 @@
+@import '../../styles/utils/Variables.scss';
+
+.headerMobile {
+ background-color: $color-black1;
+ padding: 25px 16px;
+ &__logo-cart {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ }
+}
+
+@media only screen and (min-width: 1025px) {
+ .headerMobile {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/react-ts/src/components/HeaderMobile/HeaderMobile.tsx b/react-ts/src/components/HeaderMobile/HeaderMobile.tsx
new file mode 100644
index 0000000..78131f1
--- /dev/null
+++ b/react-ts/src/components/HeaderMobile/HeaderMobile.tsx
@@ -0,0 +1,30 @@
+import styles from './HeaderMobile.module.scss';
+
+import MenuMobile from '../MenuMobile/MenuMobile';
+
+import InputSearch from '../InputSearch/InputSearch';
+import logoM31280 from '../../assets/images/logo-m3academy.svg';
+import CartHeader from '../../assets/images/cart-header.svg';
+
+const HeaderMobile = () => {
+ return (
+
+
+
+
+
+
+
+
+ )
+}
+
+export default HeaderMobile
\ No newline at end of file
diff --git a/react-ts/src/components/InputSearch/InputSearch.scss b/react-ts/src/components/InputSearch/InputSearch.module.scss
similarity index 86%
rename from react-ts/src/components/InputSearch/InputSearch.scss
rename to react-ts/src/components/InputSearch/InputSearch.module.scss
index e83d3b7..4e31135 100644
--- a/react-ts/src/components/InputSearch/InputSearch.scss
+++ b/react-ts/src/components/InputSearch/InputSearch.module.scss
@@ -31,6 +31,14 @@
}
}
+@media only screen and (max-width: 1024px) {
+ .wrapper-iconSearch {
+ max-width: 992px;
+ width: 100%;
+ margin-top: 25px;
+ }
+}
+
@media only screen and (min-width: 2500px) {
.wrapper-iconSearch {
max-width: 515.62px;
diff --git a/react-ts/src/components/InputSearch/InputSearch.tsx b/react-ts/src/components/InputSearch/InputSearch.tsx
index bfdefa0..86e389e 100644
--- a/react-ts/src/components/InputSearch/InputSearch.tsx
+++ b/react-ts/src/components/InputSearch/InputSearch.tsx
@@ -1,13 +1,13 @@
-import './InputSearch.scss';
+import styles from './InputSearch.module.scss';
import IconSearch from '../../assets/images/icon-Search.svg';
const InputSearch = () => {
return (
-
-
-
+
)
}
diff --git a/react-ts/src/components/MenuMobile/Component.module.scss b/react-ts/src/components/MenuMobile/Component.module.scss
new file mode 100644
index 0000000..ec043f8
--- /dev/null
+++ b/react-ts/src/components/MenuMobile/Component.module.scss
@@ -0,0 +1,44 @@
+@import '../../styles/utils/Variables.scss';
+
+.container-components {
+ z-index: 5;
+ top: 0%;
+ left: 0%;
+ position: absolute;
+ max-width: 988px;
+ width: 100%;
+ height: 585px;
+ transition: all linear 500ms;
+ &__logon {
+ width: 100%;
+ display: flex;
+ justify-content: space-between;
+ background-color: $color-black1;
+ padding: 31px 16px;
+ button {
+ background: transparent;
+ border: none;
+ }
+ }
+ &__ul {
+ width: 100%;
+ height: 100%;
+ position: absolute;
+ display: flex;
+ flex-direction: column;
+ row-gap: 12px;
+ background-color: $color-white1;
+ padding: 31px 16px;
+ &__li {
+ a {
+ font-family: $font-family;
+ font-style: normal;
+ font-weight: 500;
+ font-size: 14px;
+ line-height: 16px;
+ text-transform: uppercase;
+ color: $color-grey1;
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/react-ts/src/components/MenuMobile/ComponentMobile.tsx b/react-ts/src/components/MenuMobile/ComponentMobile.tsx
new file mode 100644
index 0000000..c63f7b6
--- /dev/null
+++ b/react-ts/src/components/MenuMobile/ComponentMobile.tsx
@@ -0,0 +1,32 @@
+import { useState } from 'react';
+
+import styles from './Component.module.scss';
+
+import UserAccount from '../UserAccount/UseAccount';
+import CloseMobile from '../../assets/images/CloseMobile.svg';
+
+
+const MenuComponent = () => {
+
+ return (
+
+
+
+
+
+
+
+ )
+}
+
+export default MenuComponent;
\ No newline at end of file
diff --git a/react-ts/src/components/MenuMobile/MenuMobile.module.scss b/react-ts/src/components/MenuMobile/MenuMobile.module.scss
new file mode 100644
index 0000000..d99b556
--- /dev/null
+++ b/react-ts/src/components/MenuMobile/MenuMobile.module.scss
@@ -0,0 +1,13 @@
+@import '../../styles/utils/Variables.scss';
+
+.container-modal {
+ &__button {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ button {
+ background: transparent;
+ border: none;
+ }
+ }
+}
\ No newline at end of file
diff --git a/react-ts/src/components/MenuMobile/MenuMobile.tsx b/react-ts/src/components/MenuMobile/MenuMobile.tsx
new file mode 100644
index 0000000..41ef38d
--- /dev/null
+++ b/react-ts/src/components/MenuMobile/MenuMobile.tsx
@@ -0,0 +1,25 @@
+import styles from './MenuMobile.module.scss';
+import { useState } from 'react';
+
+import MenuComponent from './ComponentMobile';
+
+import OpenMobile from '../../assets/images/OpenMobile.svg';
+
+const MenuMobile = () => {
+ const [IsOpen, setIsOpen] = useState(false);
+
+ function openModal (): void {
+ setIsOpen(true);
+ }
+
+ return (
+
+
+
+
+ {IsOpen ?
:
}
+
+ )
+}
+
+export default MenuMobile;
\ No newline at end of file
diff --git a/react-ts/src/components/UserAccount/UseAccount.tsx b/react-ts/src/components/UserAccount/UseAccount.tsx
index cdbb1bf..706c5bf 100644
--- a/react-ts/src/components/UserAccount/UseAccount.tsx
+++ b/react-ts/src/components/UserAccount/UseAccount.tsx
@@ -1,17 +1,17 @@
-import './UserAccount.scss';
+import styles from './UserAccount.module.scss';
import CartHeader from '../../assets/images/cart-header.svg';
const UserAccount = () => {
return (
-
-
- -
+
+
diff --git a/react-ts/src/components/UserAccount/UserAccount.scss b/react-ts/src/components/UserAccount/UserAccount.module.scss
similarity index 83%
rename from react-ts/src/components/UserAccount/UserAccount.scss
rename to react-ts/src/components/UserAccount/UserAccount.module.scss
index a24f71f..7821f32 100644
--- a/react-ts/src/components/UserAccount/UserAccount.scss
+++ b/react-ts/src/components/UserAccount/UserAccount.module.scss
@@ -20,6 +20,16 @@
}
}
+@media only screen and (max-width: 1024px) {
+ .wrapper-userAccount {
+ &__ul {
+ &__li-cart {
+ display: none;
+ }
+ }
+ }
+}
+
@media only screen and (min-width: 2500px) {
.wrapper-userAccount {
&__ul {