|
1 | 1 | import React from 'react'; |
2 | | -import { FaStar, FaCodeBranch } from 'react-icons/fa'; |
| 2 | +import LinksComponent from './LinksComponent'; |
3 | 3 |
|
4 | 4 | function Footer() { |
| 5 | + const solutions = [ |
| 6 | + { url: '#!', text: 'Explore projects' }, |
| 7 | + { url: '#!', text: 'Add Project' }, |
| 8 | + { url: '#!', text: 'Contribution' }, |
| 9 | + ] |
| 10 | + const support = [ |
| 11 | + { url: '#!', text: 'Report Bug' }, |
| 12 | + { url: '#!', text: 'Request Feature' }, |
| 13 | + { url: '#!', text: 'Documentation' }, |
| 14 | + ] |
5 | 15 | return ( |
6 | | - <footer className="bg-white text-gray-700 py-6"> |
| 16 | + <footer className="bg-blue-800 text-white py-6"> |
7 | 17 | <div className="container mx-auto flex flex-col justify-between items-center"> |
8 | 18 | <div className="text-center mb-4"> |
9 | 19 | <h2 className="text-3xl mb-3 font-bold">Projest</h2> |
10 | | - <p className="text-sm px-2 md:px-0">A platform for showcasing and sharing projects. For any issues or feature requests, feel free to open an issue on our GitHub repository.</p> |
11 | | - </div> |
12 | | - <div className="flex items-center space-x-4"> |
13 | | - <a href="https://github.com/Frenziecodes/Projest" className="hover:text-yellow-700 flex items-center"> |
14 | | - <FaStar className="mr-1" /> |
15 | | - Star Project |
16 | | - </a> |
17 | | - <a href="https://github.com/Frenziecodes/Projest/fork" className="flex items-center hover:text-blue-700"> |
18 | | - <FaCodeBranch className="mr-1" /> |
19 | | - Fork Project |
20 | | - </a> |
| 20 | + <p className="text-sm px-2 md:px-0">A platform for showcasing and sharing projects. If you find this platform helpful, we would appreciate it if you could <a href="https://github.com/Frenziecodes/Projest" target="_blank" rel="noopener noreferrer">star</a> the project on <a href="https://github.com/Frenziecodes/Projest" target="_blank" rel="noopener noreferrer">GitHub</a>.</p> |
21 | 21 | </div> |
22 | 22 | </div> |
| 23 | + <div className="grid md:grid-cols-2 lg:grid-cols-2 place-items-center my-2"> |
| 24 | + <LinksComponent label="Solutions" links={solutions} /> |
| 25 | + <LinksComponent label="Support" links={support} /> |
| 26 | + </div> |
23 | 27 | <div className="text-center mt-4"> |
24 | 28 | © {new Date().getFullYear()} All rights reserved. |
25 | 29 | </div> |
|
0 commit comments