added multi language features

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-03-31 19:45:21 +05:00
parent 4f3d73443f
commit 291375ce02
19 changed files with 728 additions and 246 deletions

View File

@@ -1,31 +1,31 @@
const sections = [
const getSections = (t: (key: string) => string) => [
{
title: 'Product',
title: t('product'),
links: [
{ name: 'Overview', href: '#' },
{ name: 'Pricing', href: '#' },
{ name: 'Marketplace', href: '#' },
{ name: 'Features', href: '#' },
{ name: t('overview'), href: '#' },
{ name: t('pricing'), href: '#' },
{ name: t('marketplace'), href: '#' },
{ name: t('features'), href: '#' },
],
},
{
title: 'Company',
title: t('company'),
links: [
{ name: 'About', href: '#' },
{ name: 'Team', href: '#' },
{ name: 'Blog', href: '#' },
{ name: 'Careers', href: '#' },
{ name: t('about'), href: '#' },
{ name: t('team'), href: '#' },
{ name: t('blog'), href: '#' },
{ name: t('careers'), href: '#' },
],
},
{
title: 'Resources',
title: t('resources'),
links: [
{ name: 'Help', href: '#' },
{ name: 'Sales', href: '#' },
{ name: 'Advertise', href: '#' },
{ name: 'Privacy', href: '#' },
{ name: t('help'), href: '#' },
{ name: t('sales'), href: '#' },
{ name: t('advertise'), href: '#' },
{ name: t('privacy'), href: '#' },
],
},
];
export { sections };
export { getSections };