forked from M3-Academy/desafio-react-e-typescript
feature/footer #2
@ -42,5 +42,9 @@
|
||||
"last 1 firefox version",
|
||||
"last 1 safari version"
|
||||
]
|
||||
}
|
||||
},
|
||||
"main": "index.js",
|
||||
"repository": "ssh://git@gitea.ecommercetools.com.br:22022/SavioCarvalhoMoraes/desafio-react-e-typescript-savio-carvalho-moraes.git",
|
||||
"author": "Savio <savio.96@hotmail.com>",
|
||||
"license": "MIT"
|
||||
}
|
||||
|
@ -3,15 +3,27 @@ import styles from "./contact.module.scss";
|
||||
|
||||
const Contact = () => {
|
||||
return (
|
||||
<div className={styles["contatosInfo"]}>
|
||||
<h2>FALE CONOSCO</h2>
|
||||
<p>Atendimento Ao Consumidor</p>
|
||||
<a href="tel:+551141599504">(11) 4159 9504</a>
|
||||
<p>Atendimento Online</p>
|
||||
<a className={styles["contatoCel"]} href="tel:+551199433">
|
||||
(11) 99433 8825
|
||||
</a>
|
||||
</div>
|
||||
<ul className={styles["contatosInfo"]}>
|
||||
<li>
|
||||
<h2>FALE CONOSCO</h2>
|
||||
</li>
|
||||
<li>
|
||||
<p>Atendimento Ao Consumidor</p>
|
||||
</li>
|
||||
<li>
|
||||
<a className={styles["contatoTel"]} href="tel:+551141599504">
|
||||
(11) 4159 9504
|
||||
</a>
|
||||
</li>
|
||||
<li>
|
||||
<p>Atendimento Online</p>
|
||||
</li>
|
||||
<li>
|
||||
<a className={styles["contatoCel"]} href="tel:+551199433">
|
||||
(11) 99433 8825
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -1,19 +1,37 @@
|
||||
.contatosInfo {
|
||||
margin-bottom: 12px;
|
||||
li {
|
||||
margin-bottom: 12px;
|
||||
}
|
||||
h2 {
|
||||
font-weight: 500;
|
||||
font-size: 14px;
|
||||
line-height: 16px;
|
||||
@media screen and (min-width: 2500px) {
|
||||
font-size: 38px;
|
||||
line-height: 32.81px;
|
||||
}
|
||||
}
|
||||
p {
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
font-weight: 500;
|
||||
@media screen and (min-width: 2500px) {
|
||||
font-size: 24px;
|
||||
line-height: 28.13px;
|
||||
}
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
font-size: 12px;
|
||||
line-height: 14px;
|
||||
color: #030303;
|
||||
@media screen and (min-width: 2500px) {
|
||||
font-size: 24px;
|
||||
line-height: 28.13px;
|
||||
}
|
||||
}
|
||||
.contatoCel {
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
40
src/components/Socials/Socials.tsx
Normal file
40
src/components/Socials/Socials.tsx
Normal file
@ -0,0 +1,40 @@
|
||||
import React from "react";
|
||||
import styles from "./socials.module.scss";
|
||||
import facebookImg from "./assets/images/Facebook.png";
|
||||
import instagramImg from "./assets/images/Instagram.png";
|
||||
import twitterImg from "./assets/images/Twitter.png";
|
||||
import youtubeImg from "./assets/images/Youtube.png";
|
||||
import linkedinImg from "./assets/images/Linkedin.png";
|
||||
import whatsappImg from "./assets/images/whatsapp.png";
|
||||
|
||||
const Socials = () => {
|
||||
return (
|
||||
<div className={styles["socials-wrapper"]}>
|
||||
<ul className={styles["socialsList"]}>
|
||||
<li className={styles["socials-item"]}>
|
||||
<img src={facebookImg} alt="Facebook" />
|
||||
</li>
|
||||
<li className={styles["socials-item"]}>
|
||||
<img src={instagramImg} alt="Instagram" />
|
||||
</li>
|
||||
<li className={styles["socials-item"]}>
|
||||
<img src={twitterImg} alt="Twitter" />
|
||||
</li>
|
||||
<li className={styles["socials-item"]}>
|
||||
<img src={youtubeImg} alt="Youtube" />
|
||||
</li>
|
||||
<li className={styles["socials-item"]}>
|
||||
<img src={linkedinImg} alt="Linkedin" />
|
||||
</li>
|
||||
<li className={styles["socials-item"]}>
|
||||
<img src={whatsappImg} alt="Whatsapp" />
|
||||
</li>
|
||||
</ul>
|
||||
<a className={styles["siteLink"]} href="/">
|
||||
www.loremipsum.com
|
||||
</a>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export { Socials };
|
BIN
src/components/Socials/assets/images/Facebook.png
Normal file
BIN
src/components/Socials/assets/images/Facebook.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.2 KiB |
BIN
src/components/Socials/assets/images/Instagram.png
Normal file
BIN
src/components/Socials/assets/images/Instagram.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.3 KiB |
BIN
src/components/Socials/assets/images/Linkedin.png
Normal file
BIN
src/components/Socials/assets/images/Linkedin.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
BIN
src/components/Socials/assets/images/Twitter.png
Normal file
BIN
src/components/Socials/assets/images/Twitter.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.1 KiB |
BIN
src/components/Socials/assets/images/Youtube.png
Normal file
BIN
src/components/Socials/assets/images/Youtube.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
BIN
src/components/Socials/assets/images/whatsapp.png
Normal file
BIN
src/components/Socials/assets/images/whatsapp.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.4 KiB |
22
src/components/Socials/socials.module.scss
Normal file
22
src/components/Socials/socials.module.scss
Normal file
@ -0,0 +1,22 @@
|
||||
.socials-wrapper {
|
||||
.socialsList {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
margin-bottom: 12px;
|
||||
li {
|
||||
margin-right: 10px;
|
||||
}
|
||||
}
|
||||
a {
|
||||
text-decoration: none;
|
||||
font-weight: 400;
|
||||
font-size: 14px;
|
||||
line-height: 16.41px;
|
||||
color: #030303;
|
||||
|
||||
@media screen and (min-width: 2500px) {
|
||||
font-size: 28px;
|
||||
line-height: 32.81px;
|
||||
}
|
||||
}
|
||||
}
|
@ -1,10 +1,10 @@
|
||||
import React from "react";
|
||||
import { Contact } from "../components/Contact/Contact";
|
||||
import { Socials } from "../components/Socials/Socials";
|
||||
|
||||
const Home = () => {
|
||||
return (
|
||||
<div>
|
||||
<Contact></Contact>
|
||||
<Socials></Socials>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user