This commit is contained in:
2025-04-22 00:05:11 +09:00
parent 58b57a1e02
commit 527bb293b7
16 changed files with 654 additions and 28 deletions

47
src/components/Footer.js Normal file
View File

@ -0,0 +1,47 @@
import React from 'react';
import { useNavigate } from 'react-router-dom';
const Footer = () => {
const navigate = useNavigate();
return (
<footer className="bg-gray-900 text-white mt-auto">
<div className="container mx-auto px-4 py-12">
<div className="grid grid-cols-1 md:grid-cols-4 gap-8">
<div>
<h3 className="text-xl font-bold mb-4">TechEdu</h3>
<p className="text-gray-400">최고의 IT 교육 플랫폼으로 당신의 커리어를 성장시키세요.</p>
</div>
<div>
<h4 className="text-lg font-semibold mb-4">Quick Links</h4>
<ul className="space-y-2">
<li><button onClick={() => navigate('/')} className="text-gray-400 hover:text-white">Home</button></li>
<li><button onClick={() => navigate('/about')} className="text-gray-400 hover:text-white">About</button></li>
<li><button onClick={() => navigate('/board')} className="text-gray-400 hover:text-white">Board</button></li>
</ul>
</div>
<div>
<h4 className="text-lg font-semibold mb-4">Categories</h4>
<ul className="space-y-2">
<li><button onClick={() => navigate('/post/developer')} className="text-gray-400 hover:text-white">Developer</button></li>
<li><button onClick={() => navigate('/post/systemengineer')} className="text-gray-400 hover:text-white">System Engineer</button></li>
<li><button onClick={() => navigate('/post/etc')} className="text-gray-400 hover:text-white">Other Posts</button></li>
</ul>
</div>
<div>
<h4 className="text-lg font-semibold mb-4">Contact</h4>
<ul className="space-y-2 text-gray-400">
<li className="flex items-center"><i className="fas fa-envelope mr-2"></i> contact@techedu.com</li>
<li className="flex items-center"><i className="fas fa-phone mr-2"></i> 02-1234-5678</li>
<li className="flex items-center"><i className="fas fa-map-marker-alt mr-2"></i> 123</li>
</ul>
</div>
</div>
<div className="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2025 TechEdu. All rights reserved.</p>
</div>
</div>
</footer>
);
};
export default Footer;