|
1 | | -import React from 'react'; |
2 | | -import {OverlayTrigger, Tooltip} from 'react-bootstrap'; |
| 1 | +import React from "react"; |
| 2 | +import { OverlayTrigger, Tooltip } from "react-bootstrap"; |
3 | 3 | import Icon from "../Icon"; |
4 | 4 |
|
5 | 5 | const socialList = [ |
6 | | - { |
7 | | - url: 'https://twitter.com/PersistenceOne', |
8 | | - iconName: 'twitter-logo', |
9 | | - tooltip: 'twitter' |
10 | | - }, |
11 | | - { |
12 | | - url: 'https://t.me/PersistenceOneChat', |
13 | | - iconName: 'telegram-plane', |
14 | | - tooltip: 'telegram' |
15 | | - }, |
16 | | - { |
17 | | - url: 'https://t.me/PersistenceOne', |
18 | | - iconName: 'announcements', |
19 | | - tooltip: 'announcements' |
20 | | - }, { |
21 | | - url: 'https://discord.gg/SaBKpjbnhH', |
22 | | - iconName: 'discord', |
23 | | - tooltip: 'discord' |
24 | | - }, { |
25 | | - url: 'https://www.reddit.com/r/PersistenceOne/', |
26 | | - iconName: 'reddit-round', |
27 | | - tooltip: 'reddit' |
28 | | - }, { |
29 | | - url: 'https://www.youtube.com/channel/UC5wqI1ZRdkCjWWVOCQdhxLQ/featured', |
30 | | - iconName: 'youtube', |
31 | | - tooltip: 'youtube' |
32 | | - }, { |
33 | | - url: 'https://medium.com/persistence-blog', |
34 | | - iconName: 'medium-m', |
35 | | - tooltip: 'medium' |
36 | | - }, { |
37 | | - url: 'https://www.linkedin.com/company/persistenceone/', |
38 | | - iconName: 'linkedin-footer', |
39 | | - tooltip: 'linkedIn' |
40 | | - }, |
| 6 | + { |
| 7 | + url: "https://twitter.com/PersistenceOne", |
| 8 | + iconName: "twitter-logo", |
| 9 | + tooltip: "twitter" |
| 10 | + }, |
| 11 | + { |
| 12 | + url: "https://t.me/PersistenceOneChat", |
| 13 | + iconName: "telegram-plane", |
| 14 | + tooltip: "telegram" |
| 15 | + }, |
| 16 | + { |
| 17 | + url: "https://t.me/PersistenceOne", |
| 18 | + iconName: "announcements", |
| 19 | + tooltip: "announcements" |
| 20 | + }, |
| 21 | + { |
| 22 | + url: "https://discord.gg/SaBKpjbnhH", |
| 23 | + iconName: "discord", |
| 24 | + tooltip: "discord" |
| 25 | + }, |
| 26 | + { |
| 27 | + url: "https://www.reddit.com/r/PersistenceOne/", |
| 28 | + iconName: "reddit-round", |
| 29 | + tooltip: "reddit" |
| 30 | + }, |
| 31 | + { |
| 32 | + url: "https://www.youtube.com/channel/UC5wqI1ZRdkCjWWVOCQdhxLQ/featured", |
| 33 | + iconName: "youtube", |
| 34 | + tooltip: "youtube" |
| 35 | + }, |
| 36 | + { |
| 37 | + url: "https://medium.com/persistence-blog", |
| 38 | + iconName: "medium-m", |
| 39 | + tooltip: "medium" |
| 40 | + }, |
| 41 | + { |
| 42 | + url: "https://www.linkedin.com/company/persistenceone/", |
| 43 | + iconName: "linkedin-footer", |
| 44 | + tooltip: "linkedIn" |
| 45 | + } |
41 | 46 | ]; |
42 | 47 |
|
43 | 48 | const Footer = () => { |
| 49 | + return ( |
| 50 | + <> |
| 51 | + <section className="contact-section"> |
| 52 | + <div className="container"></div> |
| 53 | + </section> |
| 54 | + <footer className="footer"> |
| 55 | + <div className="footer-bottom-section"> |
| 56 | + <div className="footer-logo-section container"> |
| 57 | + <div className={"d-flex"}> |
| 58 | + <p className="copy-rights mb-sm-0">Developed by Persistence</p> |
| 59 | + <a |
| 60 | + href="https://persistence.one/terms" |
| 61 | + target="_blank" |
| 62 | + rel="noreferrer" |
| 63 | + className={"copy-rights ml-2 terms"} |
| 64 | + > |
| 65 | + Terms of Use |
| 66 | + </a> |
| 67 | + <a |
| 68 | + href="https://persistence.one/privacy" |
| 69 | + target="_blank" |
| 70 | + rel="noreferrer" |
| 71 | + className={"ml-2 copy-rights terms"} |
| 72 | + > |
| 73 | + Privacy Policy |
| 74 | + </a> |
| 75 | + </div> |
44 | 76 |
|
45 | | - return ( |
46 | | - <> |
47 | | - <section className="contact-section"> |
48 | | - <div className="container"> |
49 | | - |
50 | | - </div> |
51 | | - </section> |
52 | | - <footer className="footer"> |
53 | | - <div className="footer-bottom-section"> |
54 | | - <div className="footer-logo-section container "> |
55 | | - <p className="copy-rights mb-sm-0">Developed by Persistence</p> |
56 | | - |
57 | | - <div className="social-links-section"> |
58 | | - <ul className="list-unstyled footer-list"> |
59 | | - { |
60 | | - socialList.map((item, index) => ( |
61 | | - <OverlayTrigger |
62 | | - key={index} |
63 | | - placement="bottom" |
64 | | - overlay={ |
65 | | - <Tooltip id={`tooltip-${item.iconName}}`}> |
66 | | - {item.tooltip} |
67 | | - </Tooltip> |
68 | | - } |
69 | | - > |
70 | | - <a href={item.url} rel="noopener noreferrer" |
71 | | - target="_blank"><Icon viewClass="social_icon_imgg" |
72 | | - icon={item.iconName}/></a> |
73 | | - </OverlayTrigger> |
74 | | - )) |
75 | | - } |
76 | | - |
77 | | - </ul> |
78 | | - </div> |
79 | | - </div> |
80 | | - </div> |
81 | | - </footer> |
82 | | - </> |
83 | | - ); |
| 77 | + <div className="social-links-section"> |
| 78 | + <ul className="list-unstyled footer-list"> |
| 79 | + {socialList.map((item, index) => ( |
| 80 | + <OverlayTrigger |
| 81 | + key={index} |
| 82 | + placement="bottom" |
| 83 | + overlay={ |
| 84 | + <Tooltip id={`tooltip-${item.iconName}}`}> |
| 85 | + {item.tooltip} |
| 86 | + </Tooltip> |
| 87 | + } |
| 88 | + > |
| 89 | + <a |
| 90 | + href={item.url} |
| 91 | + rel="noopener noreferrer" |
| 92 | + target="_blank" |
| 93 | + > |
| 94 | + <Icon viewClass="social_icon_imgg" icon={item.iconName} /> |
| 95 | + </a> |
| 96 | + </OverlayTrigger> |
| 97 | + ))} |
| 98 | + </ul> |
| 99 | + </div> |
| 100 | + </div> |
| 101 | + </div> |
| 102 | + </footer> |
| 103 | + </> |
| 104 | + ); |
84 | 105 | }; |
85 | 106 |
|
86 | | - |
87 | 107 | export default Footer; |
0 commit comments