development #1

Merged
MarcelloMartins merged 27 commits from development into main 2023-01-21 01:29:23 +00:00
6 changed files with 90 additions and 23 deletions
Showing only changes of commit 6e4ef80d45 - Show all commits

View File

@ -1,7 +1,7 @@
import React from "react";
import "./App.css";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
import Footer from "./components/Footer";
import NewsLetter from "./components/newsLetter";
import Home from "./pages/Home";
import Institutional from "./pages/Institutional";
@ -20,7 +20,7 @@ function App() {
return (
<div className="App">
<RouterProvider router={router} />
<Footer />
<NewsLetter />
</div>
);
}

View File

@ -1,11 +0,0 @@
import styles from "./styles.module.scss";
export default function Footer() {
return (
<>
<footer className={styles.footer}>
<div className={styles.jorgin}>assine essa bosta</div>
</footer>
</>
);
}

View File

@ -1,6 +0,0 @@
.footer {
background: green;
}
.jorgin {
color: blue;
}

View File

@ -0,0 +1,23 @@
import styles from "./styles.module.scss";
export default function newsLetter() {
return (
<>
<footer className={styles.newsLetter}>
<div className={styles.firstDivNews}>
{/* <div className={styles.containerNews}> */}
<h2 className={styles.firstH2}>assine nossa newsletter</h2>
<div className={styles.secondDivNews}>
<input
type="email"
placeholder="E-mail"
className={styles.newsInput}
/>
<button className={styles.newsButton}>enviar</button>
</div>
{/* </div> */}
</div>
</footer>
</>
);
}

View File

@ -0,0 +1,63 @@
.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: 36px;
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;
}
}
}
}

View File

@ -1,13 +1,11 @@
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
sans-serif;
font-family: "Roboto", sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
code {
font-family: source-code-pro, Menlo, Monaco, Consolas, 'Courier New',
font-family: source-code-pro, Menlo, Monaco, Consolas, "Courier New",
monospace;
}