-
Notifications
You must be signed in to change notification settings - Fork 535
/
index.js
46 lines (44 loc) · 1.14 KB
/
index.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
import styled from 'styled-components'
// src/components/Footer/index.js
const FooterWrapper = styled.footer`
background-color: #00000099;
padding: 20px;
display: flex;
align-items: center;
border-radius: 4px;
img {
width: 58px;
margin-right: 23px;
}
a {
color: white;
text-decoration: none;
transition: 0.3s;
&:hover,
&:focus {
opacity: 0.5;
}
span {
text-decoration: underline;
}
}
`
export default function Footer(props) {
return (
// eslint-disable-next-line react/jsx-props-no-spreading
<FooterWrapper {...props}>
<a href="https://www.alura.com.br/">
<img
src="https://www.alura.com.br/assets/img/alura-logo-white.1570550707.svg"
alt="Logo Alura"
/>
</a>
<p>
Orgulhosamente criado durante a{' '}
<a href="https://www.alura.com.br/">
<span>Imersão React da Alura</span>
</a>
</p>
</FooterWrapper>
)
}