File tree Expand file tree Collapse file tree 2 files changed +81
-4
lines changed
Expand file tree Collapse file tree 2 files changed +81
-4
lines changed Original file line number Diff line number Diff line change 1+ import { Link } from "react-router-dom" ;
2+ import classes from "./Footer.module.css" ;
3+ import { FaLinkedin , FaMagnifyingGlass , FaSquareFacebook , FaSquareTwitter } from "react-icons/fa6" ;
14export default function Footer ( ) {
25 return (
3- < >
4-
5- < h1 > Footer</ h1 >
6- </ >
6+ < div className = { classes . footer } >
7+ < div className = { classes . footer_top } >
8+
9+ < div >
10+ < Link to = "/" > < h2 > BLOG</ h2 > </ Link >
11+ </ div >
12+ < div >
13+ < Link to = "/" > Home</ Link >
14+ < Link to = "/contact" > Contact</ Link >
15+ < Link to = "/about" > About</ Link >
16+ < Link to = "/posts" > Posts</ Link >
17+ < Link to = "/categories" > Categories</ Link >
18+ </ div >
19+ < div >
20+ < Link to = "/" > Privacy Police</ Link >
21+ < Link to = "/contact" > Terms of Use</ Link >
22+ < Link to = "/about" > FAQ</ Link >
23+ < Link to = "/about" > Suport</ Link >
24+ < Link to = "/about" > Report</ Link >
25+
26+ </ div >
27+ </ div >
28+ < hr />
29+ < div className = { classes . footer_bottom } >
30+ < span > Copyright ©, 2023, All Rights Reserved</ span >
31+ < div >
32+ < FaSquareFacebook className = { classes . icon } />
33+ < FaSquareTwitter className = { classes . icon } />
34+ < FaLinkedin className = { classes . icon } />
35+ < FaMagnifyingGlass className = { classes . icon } />
36+ </ div >
37+ </ div >
38+ </ div >
739 )
840}
Original file line number Diff line number Diff line change 1+ .footer {
2+ padding : 50px 80px ;
3+ background-color : # 0b0b0b ;
4+ color : gray;
5+ }
6+ .footer_top {
7+ display : flex;
8+ justify-content : space-between;
9+ }
10+ .footer_top div {
11+ display : flex;
12+ flex-direction : column;
13+ }
14+ .footer_top div a {
15+ color : white;
16+ }
17+ hr {
18+ background-color : gray;
19+ margin-top : 50px ;
20+ }
21+ .footer_bottom {
22+ display : flex;
23+ justify-content : space-between;
24+ align-items : center;
25+ padding-top : 50px ;
26+ }
27+ .icon {
28+ margin-left : 10px ;
29+ }
30+
31+ /* On screens that are 992px or less, set the background color to blue */
32+ @media screen and (max-width : 992px ) {
33+
34+ }
35+
36+ /* On screens that are 600px or less, set the background color to olive */
37+ @media screen and (max-width : 600px ) {
38+ .footer_top , .footer_bottom {
39+ flex-direction : column;
40+ }
41+ .footer_bottom {
42+ text-align : center;
43+ justify-content : center;
44+ }
45+ }
You can’t perform that action at this time.
0 commit comments