SEOServices.tsx 3.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. import * as React from 'react';
  2. import { Icon } from './ui/Icon';
  3. import { useTranslation } from '../hooks/useI18n';
  4. const SEOServices: React.FC = () => {
  5. const { t } = useTranslation();
  6. return (
  7. <div className="p-8 max-w-4xl mx-auto">
  8. <header className="mb-8">
  9. <h2 className="text-3xl font-bold text-gray-900 dark:text-white">{t('seo.services.title')}</h2>
  10. <p className="text-gray-500 dark:text-gray-400 mt-1">{t('seo.services.subtitle')}</p>
  11. </header>
  12. <div className="space-y-8">
  13. <div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-sm">
  14. <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-4 flex items-center gap-2">
  15. {t('seo.services.keyword_analysis')}
  16. <span className="text-xs bg-yellow-400 text-yellow-900 px-2 py-0.5 rounded-full font-bold">{t('pro')}</span>
  17. </h3>
  18. <p className="text-gray-500 dark:text-gray-400 mb-4">{t('seo.services.keyword_analysis_desc')}</p>
  19. <div className="flex items-center gap-2">
  20. <input
  21. type="text"
  22. placeholder="e.g., 'digital marketing for startups'"
  23. className="w-full bg-gray-100 dark:bg-gray-700 p-3 rounded-md border border-gray-300 dark:border-gray-600"
  24. />
  25. <button className="bg-brand-primary text-white font-semibold py-3 px-5 rounded-md hover:bg-brand-secondary">
  26. {t('seo.services.analyze')}
  27. </button>
  28. </div>
  29. <div className="mt-6 p-4 bg-gray-50 dark:bg-gray-900/50 rounded-lg text-center text-gray-400">
  30. <p>{t('seo.services.keyword_results_placeholder')}</p>
  31. </div>
  32. </div>
  33. <div className="bg-white dark:bg-gray-800 p-6 rounded-lg shadow-sm">
  34. <h3 className="text-lg font-semibold text-gray-900 dark:text-white mb-4 flex items-center gap-2">
  35. {t('seo.services.ai_content')}
  36. <span className="text-xs bg-yellow-400 text-yellow-900 px-2 py-0.5 rounded-full font-bold">{t('pro')}</span>
  37. </h3>
  38. <p className="text-gray-500 dark:text-gray-400 mb-4">
  39. {t('seo.services.ai_content_desc')}
  40. </p>
  41. <div className="p-4 bg-gray-100 dark:bg-gray-700 rounded-lg">
  42. <p className="font-semibold text-gray-800 dark:text-gray-200">{t('seo.services.how_it_works')}</p>
  43. <ol className="list-decimal list-inside mt-2 text-sm text-gray-600 dark:text-gray-300 space-y-1">
  44. <li>{t('seo.services.step1')}</li>
  45. <li>{t('seo.services.step2')}</li>
  46. <li>{t('seo.services.step3')}</li>
  47. <li>{t('seo.services.step4')}</li>
  48. </ol>
  49. </div>
  50. <button className="mt-4 bg-brand-primary/10 text-brand-primary font-semibold py-2 px-5 rounded-md hover:bg-brand-primary/20 transition-colors">
  51. {t('seo.services.go_to_news_creator')}
  52. </button>
  53. </div>
  54. </div>
  55. </div>
  56. );
  57. };
  58. export default SEOServices;