27 lines
No EOL
825 B
TypeScript
27 lines
No EOL
825 B
TypeScript
import React from 'react';
|
|
import { Link } from 'react-router-dom';
|
|
import { useLanguage } from '../../context/LanguageContext';
|
|
|
|
const CallToAction: React.FC = () => {
|
|
const { t } = useLanguage();
|
|
|
|
return (
|
|
<section className="bg-blue-600 py-16">
|
|
<div className="container mx-auto px-4">
|
|
<div className="text-center">
|
|
<h2 className="text-3xl font-bold text-white mb-4">
|
|
{t('common.getStarted')}
|
|
</h2>
|
|
<p className="text-white text-lg mb-8">
|
|
{t('common.contact')}
|
|
</p>
|
|
<Link to="/contact" className="bg-white text-blue-600 px-8 py-3 rounded-lg font-semibold hover:bg-blue-50 transition-colors">
|
|
{t('common.learnMore')}
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export default CallToAction; |