|
| 1 | +import { |
| 2 | + AiOutlineMail, |
| 3 | + AiOutlineInstagram, |
| 4 | + AiOutlineTwitter, |
| 5 | + AiFillLinkedin, |
| 6 | + AiOutlineGithub |
| 7 | +} from 'react-icons/ai' |
| 8 | +import { FaDiscord } from 'react-icons/fa' |
| 9 | +const Footer = () => { |
| 10 | + const settings = { |
| 11 | + name: 'WebXDAO', |
| 12 | + author: 'WebXDAO', |
| 13 | + url: 'https://web3community.github.io' |
| 14 | + } |
| 15 | + const socials = [ |
| 16 | + { |
| 17 | + name: 'Mail', |
| 18 | + url: 'mailto:web3opensourcecommunity@gmail.com', |
| 19 | + icon: <AiOutlineMail />, |
| 20 | + text: 'Contact us via mail' |
| 21 | + }, |
| 22 | + { |
| 23 | + name: 'Instagram', |
| 24 | + url: 'https://www.instagram.com/web3community/', |
| 25 | + icon: <AiOutlineInstagram />, |
| 26 | + text: 'Check our content at Instagram' |
| 27 | + }, |
| 28 | + { |
| 29 | + name: 'Twitter', |
| 30 | + url: 'https://twitter.com/web3community', |
| 31 | + icon: <AiOutlineTwitter />, |
| 32 | + text: 'Follow us via Twitter' |
| 33 | + }, |
| 34 | + |
| 35 | + { |
| 36 | + name: 'Linkedin', |
| 37 | + url: 'https://www.linkedin.com/company/web3community', |
| 38 | + icon: <AiFillLinkedin />, |
| 39 | + text: 'Connect with us at LinkedIn' |
| 40 | + }, |
| 41 | + { |
| 42 | + name: 'Twitter', |
| 43 | + url: 'https://github.com/WebXDAO', |
| 44 | + icon: <AiOutlineGithub />, |
| 45 | + text: 'Contribute at GitHub' |
| 46 | + }, |
| 47 | + { |
| 48 | + name: 'Twitter', |
| 49 | + url: 'https://discord.gg/TSRwqx4K2v', |
| 50 | + icon: <FaDiscord />, |
| 51 | + text: 'Join our Discord community' |
| 52 | + } |
| 53 | + ] |
| 54 | + const resources = [ |
| 55 | + { name: 'About Us', url: '#' }, |
| 56 | + { name: 'Blog', url: '/blog' }, |
| 57 | + { name: 'Contact', url: '#' }, |
| 58 | + { name: 'FAQ', url: '/faq' } |
| 59 | + ] |
| 60 | + return ( |
| 61 | + <footer className='bg-[#1F2E35]'> |
| 62 | + <div className='container mx-auto px-8'> |
| 63 | + <div className='w-full flex flex-col md:flex-row py-6'> |
| 64 | + <div className='flex-wrap flex-1 md:px-4 mb-6 text-black'> |
| 65 | + <p className='text-white mb-3 md:mb-6'>Socials</p> |
| 66 | + <div className='flex space-x-4'> |
| 67 | + {socials.map((handle, index) => ( |
| 68 | + <a |
| 69 | + aria-hidden='true' |
| 70 | + className='text-white transition duration-500 ease-in-out transform hover:-translate-y-1 hover:scale-100' |
| 71 | + href={handle.url} |
| 72 | + key={handle.name + index} |
| 73 | + rel='noreferrer' |
| 74 | + target='_blank' |
| 75 | + title={handle.text} |
| 76 | + > |
| 77 | + {handle.icon} |
| 78 | + </a> |
| 79 | + ))} |
| 80 | + </div> |
| 81 | + </div> |
| 82 | + <div className='flex-1'> |
| 83 | + <p className='text-white md:mb-6'>Resources</p> |
| 84 | + <ul className='list-reset mb-6'> |
| 85 | + {resources.map((item, index) => ( |
| 86 | + <li key={item.name + index} className='mt-2 mr-2 block md:mr-0'> |
| 87 | + <a |
| 88 | + href={item.url} |
| 89 | + className='no-underline text-gray-400 hover:text-blue-500' |
| 90 | + > |
| 91 | + {item.name} |
| 92 | + </a> |
| 93 | + </li> |
| 94 | + ))} |
| 95 | + </ul> |
| 96 | + </div> |
| 97 | + <div className='flex-1'> |
| 98 | + <p className='text-white md:mb-6'>Legal Stuff</p> |
| 99 | + <ul className='list-reset mb-6'> |
| 100 | + <li className='mt-2 mr-2 md:block md:mr-0'> |
| 101 | + <a |
| 102 | + href='#' |
| 103 | + className='no-underline text-gray-400 hover:text-blue-500' |
| 104 | + > |
| 105 | + Disclaimer |
| 106 | + </a> |
| 107 | + </li> |
| 108 | + <li className='mt-2 mr-2 block md:mr-0'> |
| 109 | + <a |
| 110 | + href='#' |
| 111 | + className='no-underline text-gray-400 hover:text-blue-500' |
| 112 | + > |
| 113 | + Financing |
| 114 | + </a> |
| 115 | + </li> |
| 116 | + <li className='mt-2 mr-2 block md:mr-0'> |
| 117 | + <a |
| 118 | + href='#' |
| 119 | + className='no-underline text-gray-400 hover:text-blue-500' |
| 120 | + > |
| 121 | + Privacy Policy |
| 122 | + </a> |
| 123 | + </li> |
| 124 | + <li className='mt-2 mr-2 block md:mr-0'> |
| 125 | + <a |
| 126 | + href='#' |
| 127 | + className='no-underline text-gray-400 hover:text-blue-500' |
| 128 | + > |
| 129 | + Terms of Service |
| 130 | + </a> |
| 131 | + </li> |
| 132 | + </ul> |
| 133 | + </div> |
| 134 | + <div className='flex-1'> |
| 135 | + <p className='text-white md:mb-6'>Contact</p> |
| 136 | + <ul className='list-reset mb-6'> |
| 137 | + <li className='mt-2 inline-block mr-2 md:block md:mr-0'> |
| 138 | + <a |
| 139 | + href='mailto:web3opensourcecommunity@gmail.com' |
| 140 | + className='no-underline text-gray-400 hover:text-blue-500' |
| 141 | + > |
| 142 | + web3opensourcecommunity@gmail.com |
| 143 | + </a> |
| 144 | + </li> |
| 145 | + <li className='mt-2 inline-block mr-2 md:block md:mr-0'> |
| 146 | + <a className='no-underline text-gray-400'>Global Open Source</a> |
| 147 | + </li> |
| 148 | + <li className='mt-2 inline-block mr-2 md:block md:mr-0'> |
| 149 | + <a className='no-underline text-gray-400'> |
| 150 | + Community for Dapps & $Dev |
| 151 | + </a> |
| 152 | + </li> |
| 153 | + </ul> |
| 154 | + </div> |
| 155 | + </div> |
| 156 | + </div> |
| 157 | + <div className='text-center text-sm font-light py-4 text-gray-200 bg-[#1D292F]'> |
| 158 | + <small> |
| 159 | + Copyright © {settings.name + ' '} |
| 160 | + {new Date().getFullYear()}. Made with ❤️ by |
| 161 | + <a href={settings.url} target='_blank' className='underline' rel='noreferrer'> |
| 162 | + {' ' + settings.author} |
| 163 | + </a> |
| 164 | + • |
| 165 | + <a |
| 166 | + href='https://github.com/WebXDAO/WebXDAO.github.io' |
| 167 | + className='underline' |
| 168 | + target='_blank' |
| 169 | + rel='noreferrer' |
| 170 | + > |
| 171 | + View on GitHub |
| 172 | + </a> |
| 173 | + </small> |
| 174 | + </div> |
| 175 | + </footer> |
| 176 | + ) |
| 177 | +} |
| 178 | + |
| 179 | +export default Footer |
0 commit comments