forked from ComputerScienceSoceityNITS/css-connect-frontend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.tsx
104 lines (93 loc) · 2.09 KB
/
index.tsx
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
import React, { useState, useEffect } from 'react';
import Link from 'next/link';
import Styles from './styles.module.scss';
import {
AiFillFacebook,
AiFillInstagram,
AiFillLinkedin,
} from 'react-icons/ai';
const linksCSS = [
{
name:"Official Css website",
link:"/css"
},
{
name:"About Us",
link:"/about_us"
},
{
name:"Terms and Services",
link:"/terms"
},
{
name:"Privacy Policy",
link:"/policy"
},
{
name:"Community guidelines",
link:"/guidelines"
},
];
const links2 = [
{
name:"Help Centre",
link:"/help"
},
{
name:"Feedback",
link:"/feedback"
},
{
name:"Download Our App",
link:"/app"
},
];
const Footer = () => {
return (
<div className={Styles.footer}>
<div className={Styles.header}>
<h1>Css Connect</h1>
</div>
<div className={Styles.main}>
<div className={Styles.main_row}>
<div className={Styles.main_col}>
<h4>CSS</h4>
{
linksCSS.map((item,i)=>(
<Link href={item.link} key={i}>{item.name}</Link>
))
}
</div>
<div className={Styles.main_col}>
<h4>Connect With Us</h4>
{
links2.map((item,i)=>(
<Link href={item.link} key={i}>{item.name}</Link>
))
}
</div>
</div>
<div className={Styles.main_row}>
<div className={Styles.main_col}>
<h1>Follow us</h1>
<div className={Styles.icons}>
<Link href="#">
<AiFillFacebook size={30} />
</Link>
<Link href="#">
<AiFillInstagram size={30} />
</Link>
<Link href="#">
<AiFillLinkedin size={30} />
</Link>
</div>
</div>
<div className={Styles.main_col}>
<img src='tech.jpeg'/>
</div>
</div>
</div>
</div>
);
};
export default Footer;