diff --git a/src/App.tsx b/src/App.tsx index 8ad0e4b..07bd4a6 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -2,7 +2,8 @@ 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 Footer from "./components/Footer"; +import NewsLetter from "./components/newsLetter"; import Home from "./pages/Home"; import Institutional from "./pages/Institutional"; @@ -22,7 +23,7 @@ function App() {
-
); } diff --git a/src/components/Footer/index.tsx b/src/components/Footer/index.tsx deleted file mode 100644 index dc8e999..0000000 --- a/src/components/Footer/index.tsx +++ /dev/null @@ -1,11 +0,0 @@ -import styles from "./styles.module.scss"; - -export default function Footer() { - return ( - <> - - - ); -} diff --git a/src/components/Footer/styles.module.scss b/src/components/Footer/styles.module.scss deleted file mode 100644 index e52ddbb..0000000 --- a/src/components/Footer/styles.module.scss +++ /dev/null @@ -1,6 +0,0 @@ -.footer { - background: green; -} -.jorgin { - color: blue; -} diff --git a/src/components/newsLetter/index.tsx b/src/components/newsLetter/index.tsx new file mode 100644 index 0000000..f7c4f9a --- /dev/null +++ b/src/components/newsLetter/index.tsx @@ -0,0 +1,23 @@ +import styles from "./styles.module.scss"; + +export default function newsLetter() { + return ( + <> + + + ); +} diff --git a/src/components/newsLetter/styles.module.scss b/src/components/newsLetter/styles.module.scss new file mode 100644 index 0000000..d451604 --- /dev/null +++ b/src/components/newsLetter/styles.module.scss @@ -0,0 +1,103 @@ +.newsLetter { + // background-color: black; + border-width: 1px 0px; + border-style: solid; + border-color: #000000; + width: 100%; + display: flex; + justify-content: center; + + .firstDivNews { + width: 37.03%; + display: flex; + flex-direction: column; + + .firstH2 { + padding: 16px 0 8px; + display: flex; + justify-content: center; + margin: auto; + text-transform: uppercase; + font-weight: 500; + font-size: 18px; + letter-spacing: 0.05em; + color: #303030; + margin-left: 0; + } + + .secondDivNews { + display: flex; + justify-content: center; + gap: 8px; + padding-bottom: 16px; + + .newsInput { + width: 71.73%; + font-weight: 400; + font-size: 14px; + padding: 11px 16px; + max-height: 42px; + border: 1px solid #e5e5e5; + border-radius: 4px; + + &::placeholder { + color: #c4c4c4; + } + } + + .newsButton { + width: 26.58%; + min-height: 42px; + background: #000000; + text-transform: uppercase; + color: white; + font-weight: 700; + font-size: 12px; + border: 0; + box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25); + border-radius: 4px; + cursor: pointer; + } + } + } +} + +@media screen and (max-width: 1024px) { + .firstDivNews { + width: 96.88% !important; + + .firstH2 { + font-size: 14px; + } + + .secondDivNews { + flex-direction: column; + width: 100%; + + .newsInput { + width: 100% !important; + } + + .newsButton { + width: 100% !important; + } + } + } +} + +@media screen and (min-width: 2500px) { + .firstH2 { + font-size: 36px !important; + } + + .newsInput { + max-height: unset !important; + height: 59px; + font-size: 28px !important; + } + + .newsButton { + height: 59px; + font-size: 24px !important; + } +}