diff --git a/src/App.tsx b/src/App.tsx index 9661996..c38b56c 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -1,8 +1,14 @@ import React from "react"; import { Header } from "./components/Header/Header"; +import { Breadcrumb } from "./components/Breadcrumb/Breadcrumb"; function App() { - return
; + return ( + <> +
+ + + ); } export default App; diff --git a/src/components/Breadcrumb/Breadcrumb.scss b/src/components/Breadcrumb/Breadcrumb.scss new file mode 100644 index 0000000..c29edbb --- /dev/null +++ b/src/components/Breadcrumb/Breadcrumb.scss @@ -0,0 +1,54 @@ +.breadcrumb { + box-sizing: border-box; + display: flex; + align-items: center; + gap: 8px; + width: 100%; + padding: 30px 100px; + + font-family: "Roboto"; + font-style: normal; + font-weight: 400; + font-size: 12px; + line-height: 14px; + color: #c4c4c4; + + .home-icon { + width: 16px; + height: 16px; + } + + .arrow-right { + width: 8px; + height: 8px; + } + + .breadcrumb-item { + text-transform: uppercase; + margin: 0; + } +} + +// Telas 2500+ +@media (min-width: 2500px) { + .breadcrumb { + font-size: 24px; + line-height: 28px; + + .home-icon { + width: 32px; + height: 32px; + } + + .arrow-right { + width: 16px; + height: 16px; + } + } +} + +@media screen and (max-width: 1024px) { + .breadcrumb { + padding: 30px 16px; + } +} diff --git a/src/components/Breadcrumb/Breadcrumb.tsx b/src/components/Breadcrumb/Breadcrumb.tsx new file mode 100644 index 0000000..6ba3405 --- /dev/null +++ b/src/components/Breadcrumb/Breadcrumb.tsx @@ -0,0 +1,21 @@ +import React from "react"; +import "./Breadcrumb.scss"; +import home from "./assets/home.svg"; +import arrowRight from "./assets/arrow-right.svg"; + +const Breadcrumb = () => { + return ( +
+ + + + + + + + +

Institucional

+
+ ); +}; +export { Breadcrumb }; diff --git a/src/components/Breadcrumb/assets/arrow-right.svg b/src/components/Breadcrumb/assets/arrow-right.svg new file mode 100644 index 0000000..a8a0fcc --- /dev/null +++ b/src/components/Breadcrumb/assets/arrow-right.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/Breadcrumb/assets/home.svg b/src/components/Breadcrumb/assets/home.svg new file mode 100644 index 0000000..898d772 --- /dev/null +++ b/src/components/Breadcrumb/assets/home.svg @@ -0,0 +1,10 @@ + + + + + + + + + + diff --git a/src/components/Header/Header.scss b/src/components/Header/Header.scss index 70ac755..55afd85 100644 --- a/src/components/Header/Header.scss +++ b/src/components/Header/Header.scss @@ -175,7 +175,7 @@ header { } } -// Tablet < 720 +// Tablet <= 1024 @media screen and (max-width: 1024px) { header { .header-top {