-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFooter.js
48 lines (45 loc) · 990 Bytes
/
Footer.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
47
48
import react from "react";
import styled from "styled-components";
export default function Footer() {
return (
<PageWrapper>
<div className="footerMain">
<div>Copyright © 2022. All rights reserved.</div>
</div>
</PageWrapper>
);
}
const PageWrapper = styled.footer`
.footerMain {
display: flex;
align-items: center !important;
vertical-align: bottom;
justify-content: center !important;
flex-direction: row;
//max-width: 1600px;
//margin: 5 auto;
position: -webkit-sticky;
position: sticky;
position: fixed;
bottom: 0;
width: 100%;
max-height: 40px;
//padding: 1rem 1.5rem;
background: purple;
border-bottom: 5px solid black;
z-index: 999;
color: white;
font-size: 0.9em;
height: 100%;
}
@media screen and (max-width: 500px) {
.FooterMain {
float: none;
display: block;
text-align: left;
}
.header-right {
float: none;
}
}
`;