|
| 1 | +"use client"; |
| 2 | + |
| 3 | +import React from "react"; |
| 4 | +import Link from "next/link"; |
| 5 | + |
| 6 | +export const Footer: React.FC = () => { |
| 7 | + const currentYear = new Date().getFullYear(); |
| 8 | + |
| 9 | + return ( |
| 10 | + <footer className="bg-gray-800 text-white py-8 mt-12"> |
| 11 | + <div className="container mx-auto px-4"> |
| 12 | + <div className="flex flex-col md:flex-row justify-between items-center"> |
| 13 | + <div className="mb-4 md:mb-0"> |
| 14 | + <h2 className="text-2xl font-bold">HelpDev</h2> |
| 15 | + <p className="text-gray-400 mt-2">Compartilhando conhecimento em desenvolvimento de software desde 2013</p> |
| 16 | + </div> |
| 17 | + |
| 18 | + <div className="flex flex-col md:flex-row gap-8"> |
| 19 | + <div> |
| 20 | + <h3 className="text-lg font-semibold mb-2">Links</h3> |
| 21 | + <ul className="space-y-1"> |
| 22 | + <li><Link href="/" className="text-gray-400 hover:text-white transition-colors">Home</Link></li> |
| 23 | + <li><Link href="/about" className="text-gray-400 hover:text-white transition-colors">Sobre</Link></li> |
| 24 | + <li><Link href="/articles" className="text-gray-400 hover:text-white transition-colors">Artigos</Link></li> |
| 25 | + <li><Link href="/projects" className="text-gray-400 hover:text-white transition-colors">Projetos</Link></li> |
| 26 | + <li><Link href="/blog" className="text-gray-400 hover:text-white transition-colors">Blog</Link></li> |
| 27 | + </ul> |
| 28 | + </div> |
| 29 | + |
| 30 | + <div> |
| 31 | + <h3 className="text-lg font-semibold mb-2">Social</h3> |
| 32 | + <ul className="space-y-1"> |
| 33 | + <li><a href="https://github.com/gbzarelli" className="text-gray-400 hover:text-white transition-colors" target="_blank" rel="noopener noreferrer">GitHub</a></li> |
| 34 | + <li><a href="https://twitter.com/gbzarelli" className="text-gray-400 hover:text-white transition-colors" target="_blank" rel="noopener noreferrer">Twitter</a></li> |
| 35 | + <li><a href="https://www.linkedin.com/in/guilherme-biff-zarelli/" className="text-gray-400 hover:text-white transition-colors" target="_blank" rel="noopener noreferrer">LinkedIn</a></li> |
| 36 | + </ul> |
| 37 | + </div> |
| 38 | + </div> |
| 39 | + </div> |
| 40 | + |
| 41 | + <div className="border-t border-gray-700 mt-8 pt-6 text-center text-gray-400"> |
| 42 | + <p>© {currentYear} HelpDev. Todos os direitos reservados. Site online desde 2013.</p> |
| 43 | + </div> |
| 44 | + </div> |
| 45 | + </footer> |
| 46 | + ); |
| 47 | +}; |
| 48 | + |
| 49 | +export default Footer; |
| 50 | + |
0 commit comments