diff --git a/src/components/Header/Header.scss b/src/components/Header/Header.module.scss similarity index 99% rename from src/components/Header/Header.scss rename to src/components/Header/Header.module.scss index fa3a3bb..8791baf 100644 --- a/src/components/Header/Header.scss +++ b/src/components/Header/Header.module.scss @@ -387,3 +387,5 @@ header { border-top-width: 0px; } } + + diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index da913b2..4f11655 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -1,5 +1,5 @@ import { HeaderContentTop } from "./HeaderContentTop"; -import "./Header.scss"; +import styles from "./Header.module.scss" import { HeaderContentBottom } from "./HeaderContentBottom"; import {useState} from "react"; import Icon__Menu from "../../assets/imgs/IconMenu.svg"; @@ -10,9 +10,9 @@ const Header = () => { return (
- diff --git a/src/components/Header/HeaderContentBottom.tsx b/src/components/Header/HeaderContentBottom.tsx index 30a1450..5d02795 100644 --- a/src/components/Header/HeaderContentBottom.tsx +++ b/src/components/Header/HeaderContentBottom.tsx @@ -1,4 +1,4 @@ -import "./Header.scss" +import styles from "./Header.module.scss" import React from "react"; interface HeaderContentProps { @@ -9,8 +9,18 @@ interface HeaderContentProps { const HeaderContentBottom = ({menuIsVisible,setMenuIsVisible}: HeaderContentProps) => { return ( <> -
setMenuIsVisible(false)} > -