erp-platform/company/src/components/layout/Footer.tsx
2025-05-26 16:49:39 +03:00

156 lines
6.5 KiB
TypeScript

import React from 'react';
import { Mail, Phone, MapPin, Facebook, Twitter, Linkedin, Instagram } from 'lucide-react';
import Logo from './Logo';
import { Link } from 'react-router-dom';
import { useLanguage } from '../../context/LanguageContext';
const Footer: React.FC = () => {
const { t } = useLanguage();
const currentYear = new Date().getFullYear();
return (
<footer className="bg-gray-900 text-white pt-16 pb-8">
<div className="container mx-auto px-4">
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
{/* Company Info */}
<div>
<Logo color="#ffffff" />
<p className="mt-4 text-gray-400 text-sm">
{t('footer.companyInfo')}
</p>
<div className="flex space-x-4 mt-6">
<a href="https://facebook.com/sozsoft" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-white transition-colors">
<Facebook size={20} />
</a>
<a href="https://twitter.com/sozsoft" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-white transition-colors">
<Twitter size={20} />
</a>
<a href="https://linkedin.com/sozsoft" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-white transition-colors">
<Linkedin size={20} />
</a>
<a href="https://instagram.com/sozsoft" target="_blank" rel="noopener noreferrer" className="text-gray-400 hover:text-white transition-colors">
<Instagram size={20} />
</a>
</div>
</div>
{/* Quick Links */}
<div>
<h3 className="text-lg font-bold mb-4">{t('footer.quickLinksTitle')}</h3>
<ul className="space-y-2">
<li>
<Link to="/" className="text-gray-400 hover:text-white transition-colors">{t('nav.home')}</Link>
</li>
<li>
<Link to="/products" className="text-gray-400 hover:text-white transition-colors">{t('nav.products')}</Link>
</li>
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">{t('nav.services')}</Link>
</li>
<li>
<Link to="/about" className="text-gray-400 hover:text-white transition-colors">{t('nav.about')}</Link>
</li>
<li>
<Link to="/blog" className="text-gray-400 hover:text-white transition-colors">{t('nav.blog')}</Link>
</li>
<li>
<Link to="/contact" className="text-gray-400 hover:text-white transition-colors">{t('nav.contact')}</Link>
</li>
</ul>
</div>
{/* Services */}
<div>
<h3 className="text-lg font-bold mb-4">{t('footer.servicesTitle')}</h3>
<ul className="space-y-2">
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
{t('services.software.title')}
</Link>
</li>
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
{t('services.web.title')}
</Link>
</li>
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
{t('services.mobile.title')}
</Link>
</li>
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
{t('services.database.title')}
</Link>
</li>
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
{t('services.integration.title')}
</Link>
</li>
<li>
<Link to="/services" className="text-gray-400 hover:text-white transition-colors">
{t('services.consulting.title')}
</Link>
</li>
</ul>
</div>
{/* Contact Info */}
<div>
<h3 className="text-lg font-bold mb-4">{t('nav.contact')}</h3>
<ul className="space-y-3">
<li className="flex items-start space-x-3">
<MapPin size={20} className="text-gray-400 mt-1 flex-shrink-0" />
<span className="text-gray-400">
{t('footer.address')}
</span>
</li>
<li className="flex items-center space-x-3">
<Phone size={20} className="text-gray-400 flex-shrink-0" />
<a href="tel:+905447697638" className="text-gray-400 hover:text-white transition-colors">
+90 (544) 769 7 638
</a>
</li>
<li className="flex items-center space-x-3">
<Mail size={20} className="text-gray-400 flex-shrink-0" />
<a href="mailto:destek@sozsoft.com" className="text-gray-400 hover:text-white transition-colors">
destek@sozsoft.com
</a>
</li>
</ul>
</div>
</div>
<div className="border-t border-gray-800 mt-12 pt-8">
<div className="flex flex-col md:flex-row justify-between items-center">
<p className="text-gray-400 text-sm">
&copy; {currentYear} Sözsoft. {t('footer.copyright')}
</p>
<div className="mt-4 md:mt-0">
<ul className="flex space-x-6 text-sm">
<li>
<Link to="/about" className="text-gray-400 hover:text-white transition-colors">
{t('footer.privacyPolicy')}
</Link>
</li>
<li>
<Link to="/about" className="text-gray-400 hover:text-white transition-colors">
{t('footer.termsOfUse')}
</Link>
</li>
<li>
<Link to="/sitemap" className="text-gray-400 hover:text-white transition-colors">
{t('footer.sitemap')}
</Link>
</li>
</ul>
</div>
</div>
</div>
</div>
</footer>
);
};
export default Footer;