const getSections = (t: (key: string) => string) => [ { title: t('product'), links: [ { name: t('overview'), href: '#' }, { name: t('pricing'), href: '#' }, { name: t('marketplace'), href: '#' }, { name: t('features'), href: '#' }, ], }, { title: t('company'), links: [ { name: t('about'), href: '#' }, { name: t('team'), href: '#' }, { name: t('blog'), href: '#' }, { name: t('careers'), href: '#' }, ], }, { title: t('resources'), links: [ { name: t('help'), href: '#' }, { name: t('sales'), href: '#' }, { name: t('advertise'), href: '#' }, { name: t('privacy'), href: '#' }, ], }, ]; export { getSections };