1
- import React from 'react' ;
2
- import './style.footer.css' ;
1
+ import React from "react" ;
2
+ import { useState } from "react" ;
3
+ import "./style.footer.css" ;
4
+ import LinksData from "./__usefulLinks.json" ;
5
+ import Button from "../../widgets/Button" ;
3
6
4
7
export default function Footer ( ) {
8
+ const [ footerLinksDetails ] = useState ( LinksData ) ;
5
9
return (
6
10
< div className = "footer" >
7
- { /* <div className="logo-wrapper">
8
- <h1 className="demo-logo-icon">DS</h1>
9
- <p className="logo-title">The DesignSystems</p>
11
+ < div className = "footer-row-1" >
12
+ < div className = "logo-container color-change-4x" >
13
+ < h1 className = "demo-logo-icon" > DS</ h1 >
14
+ < p className = "logo-title" > The DesignSystems</ p >
15
+ </ div >
16
+
17
+ < div className = "footer-col-1" >
18
+ < div className = "useful-links-section" >
19
+ < p className = "useful-links-title links-title" >
20
+ < b > Useful links</ b >
21
+ </ p >
22
+ < div className = "useful-links-list" >
23
+ { footerLinksDetails . map ( ( data , index ) => (
24
+ < ul className = "useful-links-list" >
25
+ < li className = "useful-link-item" key = { index } >
26
+ < a href = { data . Home } > Home</ a >
27
+ </ li >
28
+ < li className = "useful-link-item" key = { index } >
29
+ < a href = { data . Career } > Career</ a >
30
+ </ li >
31
+ < li className = "useful-link-item" key = { index } >
32
+ < a href = { data . Team } > Team</ a >
33
+ </ li >
34
+ < li className = "useful-link-item" key = { index } >
35
+ < a href = { data . Contact } > Contact Us</ a >
36
+ </ li >
37
+ </ ul >
38
+ ) ) }
39
+ </ div >
40
+ </ div >
41
+
42
+ < div className = "products-links-section" >
43
+ < p className = "products-links-title links-title" >
44
+ < b > Products</ b >
45
+ </ p >
46
+ < div className = "product-links-list" >
47
+ { footerLinksDetails . map ( ( data , index ) => (
48
+ < ul className = "products-links-list" >
49
+ < li className = "products-links-item" key = { index } >
50
+ < a href = { data . Eccentrictouch } > Eccentrictouch</ a >
51
+ </ li >
52
+ </ ul >
53
+ ) ) }
54
+ </ div >
55
+ </ div >
56
+ </ div >
57
+
58
+ < div className = "footer-col-2" >
59
+ < div className = "connect-community" >
60
+ < p className = "community-title gradient-text" >
61
+ Don't miss anything, Join our GitHub Organization and Discord
62
+ Community
63
+ </ p >
64
+ < div className = "community-links-wrapper" >
65
+ < a
66
+ href = "https://github.com/DesignSystemsOSS"
67
+ target = "_blank"
68
+ rel = "noreferrer"
69
+ >
70
+ < Button
71
+ type = "outline"
72
+ value = "Join our Github Organization"
73
+ startIcon = "fab fa-github"
74
+ />
75
+ </ a >
76
+
77
+ < a
78
+ href = "https://discord.gg/VcmnY4HTEc"
79
+ target = "_blank"
80
+ rel = "noreferrer"
81
+ >
82
+ < Button
83
+ type = "primary"
84
+ value = "Join Discord Community"
85
+ startIcon = "fab fa-discord"
86
+ />
87
+ </ a >
88
+ </ div >
89
+ </ div >
90
+ </ div >
10
91
</ div >
11
- <div className="footer-col-1">
12
- <div className="useful-links-section">
13
- <p className="useful-links-title links-title">Useful links</p>
14
- <ul className="useful-links-list">
15
- <li className="useful-link-item"></li>
16
- </ul>
92
+
93
+ < div className = "footer-row-2" >
94
+ < div className = "social-links-container" >
95
+ { footerLinksDetails . map ( ( data , index ) => (
96
+ < div className = "social-links-list" >
97
+ < a
98
+ href = { data . LinkedIn }
99
+ target = "_blank"
100
+ rel = "noreferrer"
101
+ key = { index }
102
+ className = "color-change-4x"
103
+ >
104
+ < button type = "button" className = "fab fa-linkedin" > </ button >
105
+ </ a >
106
+
107
+ < a
108
+ href = { data . GitHub }
109
+ target = "_blank"
110
+ rel = "noreferrer"
111
+ key = { index }
112
+ >
113
+ < button
114
+ type = "button"
115
+ className = "fab fa-github social-link"
116
+ > </ button >
117
+ </ a >
118
+
119
+ < a
120
+ href = { data . Twitter }
121
+ target = "_blank"
122
+ rel = "noreferrer"
123
+ key = { index }
124
+ >
125
+ < button type = "button" className = "fab fa-twitter" > </ button >
126
+ </ a >
127
+
128
+ < a
129
+ href = { data . Discord }
130
+ target = "_blank"
131
+ rel = "noreferrer"
132
+ key = { index }
133
+ >
134
+ < button type = "button" className = "fab fa-discord" > </ button >
135
+ </ a >
136
+ </ div >
137
+ ) ) }
138
+ </ div >
139
+ < div className = "privacy-copyright-links-title" >
140
+ < a href = "#" target = "_blank" rel = "noreferrer" >
141
+ Privacy
142
+ </ a >
143
+ < a href = "#" target = "_blank" rel = "noreferrer" >
144
+ Terms
145
+ </ a >
146
+ < p className = "copyright-content" >
147
+ ©2021 The DesignSystems | All Rights Reserved
148
+ </ p >
17
149
</ div >
18
- </div> */ }
150
+ </ div >
19
151
</ div >
20
- )
21
- }
152
+ ) ;
153
+ }
0 commit comments