diff --git a/src/App.tsx b/src/App.tsx index fcf82d5..8ad0e4b 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,6 +1,7 @@ import React from "react"; import "./App.css"; import { createBrowserRouter, RouterProvider } from "react-router-dom"; +import Header from "./components/Header"; import Footer from "./components/Footer"; import Home from "./pages/Home"; import Institutional from "./pages/Institutional"; @@ -19,6 +20,7 @@ const router = createBrowserRouter([ function App() { return (
+
diff --git a/src/assets/cart.svg b/src/assets/cart.svg new file mode 100644 index 0000000..645fdb3 --- /dev/null +++ b/src/assets/cart.svg @@ -0,0 +1,12 @@ + + + + + + + + + + + + diff --git a/src/assets/logoM3.png b/src/assets/logoM3.png new file mode 100644 index 0000000..8c273bf Binary files /dev/null and b/src/assets/logoM3.png differ diff --git a/src/assets/lupa.svg b/src/assets/lupa.svg new file mode 100644 index 0000000..9f9b9f0 --- /dev/null +++ b/src/assets/lupa.svg @@ -0,0 +1,3 @@ + + + diff --git a/src/components/Header/index.tsx b/src/components/Header/index.tsx new file mode 100644 index 0000000..9ad189b --- /dev/null +++ b/src/components/Header/index.tsx @@ -0,0 +1,31 @@ +import styles from "./styles.module.scss"; +import Logo from "../../assets/logoM3.png"; +import Lupa from "../../assets/lupa.svg"; +import Cart from "../../assets/cart.svg"; + +export default function Header() { + return ( + <> +
+
+ logo m3 +
+ + lupa +
+
+ + +
+
+
+
+ + + +
+ + ); +} diff --git a/src/components/Header/styles.module.scss b/src/components/Header/styles.module.scss new file mode 100644 index 0000000..135963e --- /dev/null +++ b/src/components/Header/styles.module.scss @@ -0,0 +1,95 @@ +.Header { + background: black; + padding: 22px 0; + color: white; + + .firstDiv { + display: flex; + align-items: center; + justify-content: space-between; + + .searchDiv { + width: 20.63vw; + background: white; + border-radius: 5px; + border: 2px solid #f2f2f2; + position: relative; + display: flex; + align-items: center; + justify-content: center; + gap: 3.79%; + + input { + display: flex; + font-size: 14px; + height: 32px; + border: 0; + width: 77.27%; + } + + img { + cursor: pointer; + display: flex; + // width: 1.41vw; + position: relative; + } + } + + .headerButton { + display: flex; + gap: 55px; + padding-right: 7.81vw; + height: 28px; + + .buttonEntrar { + cursor: pointer; + justify-content: center; + text-transform: uppercase; + align-items: center; + display: flex; + font-weight: 400; + font-size: 14px; + color: white; + background: black; + height: 28px; + border: 0; + } + + .cartButton { + cursor: pointer; + background: black; + height: 28px; + border: 0; + + img { + display: flex; + height: 28px; + } + } + } + + .logo { + display: flex; + padding-left: 7.81vw; + } + } +} + +.secondDiv { + background: black; + margin-top: 1px; + display: flex; + flex-direction: row; + padding: 14px 0 14px 7.81vw; + gap: 55px; + + .secondHeaderButton { + background: black; + color: white; + border: 0; + text-transform: uppercase; + font-weight: 500; + font-size: 14px; + cursor: pointer; + } +}