127 lines
5.3 KiB
TypeScript
127 lines
5.3 KiB
TypeScript
|
|
import { Category } from './types';
|
||
|
|
|
||
|
|
export const CATEGORY_MAP: Record<Category, { name: string; slug: string }> = {
|
||
|
|
'Estratégia': { name: 'Estratégia', slug: 'estrategia' },
|
||
|
|
'Técnico': { name: 'Técnico', slug: 'tecnico' },
|
||
|
|
'Autoridade': { name: 'Autoridade', slug: 'autoridade' },
|
||
|
|
'Negócios': { name: 'Negócios', slug: 'negocios' },
|
||
|
|
'SEO para Iniciantes': { name: 'SEO para Iniciantes', slug: 'iniciantes' },
|
||
|
|
'SEO Técnico': { name: 'SEO Técnico', slug: 'seo-tecnico' },
|
||
|
|
'SEO On Page': { name: 'SEO On Page', slug: 'on-page' },
|
||
|
|
'SEO Off Page': { name: 'SEO Off Page', slug: 'off-page' },
|
||
|
|
'Link Building': { name: 'Link Building', slug: 'link-building' },
|
||
|
|
'Ferramentas de SEO': { name: 'Ferramentas de SEO', slug: 'ferramentas' },
|
||
|
|
'SEO para E-commerce': { name: 'SEO para E-commerce', slug: 'e-commerce' },
|
||
|
|
'SEO para Blogs': { name: 'SEO para Blogs', slug: 'blogs' },
|
||
|
|
'Atualizações do Google': { name: 'Atualizações do Google', slug: 'google-updates' }
|
||
|
|
};
|
||
|
|
|
||
|
|
export const getCategoryBySlug = (slug: string) => {
|
||
|
|
return Object.entries(CATEGORY_MAP).find(([_, value]) => value.slug === slug);
|
||
|
|
};
|
||
|
|
|
||
|
|
export const translations: Record<string, any> = {
|
||
|
|
'pt-br': {
|
||
|
|
newsletter: 'Newsletter',
|
||
|
|
subscribe: 'Assinar Agora',
|
||
|
|
readMore: 'Ler artigo',
|
||
|
|
latest: 'Últimas',
|
||
|
|
allArticles: 'Todos os Artigos',
|
||
|
|
sections: 'Seções',
|
||
|
|
publishing: 'Publicação',
|
||
|
|
contact: 'Contato',
|
||
|
|
about: 'Sobre',
|
||
|
|
privacy: 'Privacidade',
|
||
|
|
terms: 'Termos',
|
||
|
|
featured: 'Destaque',
|
||
|
|
recent: 'Recentes',
|
||
|
|
explore: 'Explorar Insights',
|
||
|
|
search: 'Buscar',
|
||
|
|
viewAll: 'Ver Todos',
|
||
|
|
manifesto: 'Manifesto',
|
||
|
|
methodology: 'Metodologia',
|
||
|
|
heroTitle: 'A Nova Ordem da Busca Semântica.',
|
||
|
|
heroSubtitle: 'EDITORIAL DE SEO 2026',
|
||
|
|
heroDescription: 'O recurso definitivo para profissionais que buscam excelência técnica e autoridade duradoura no ecossistema de busca.',
|
||
|
|
readManifesto: 'Ler Manifesto',
|
||
|
|
publishedIn: 'Publicado em',
|
||
|
|
newsletterTitle: 'Newsletter Semanal',
|
||
|
|
newsletterDescription: 'Inscreva-se para receber as últimas novidades.',
|
||
|
|
emailPlaceholder: 'seu@email.com',
|
||
|
|
subscribeButton: 'Inscrever',
|
||
|
|
trendsTitle: 'TENDÊNCIAS',
|
||
|
|
footerNewsletterTitle: 'Entre no Círculo de Autoridade',
|
||
|
|
footerNewsletterSubtitle: 'Assine para receber análises profundas sobre mudanças algorítmicas, IA e estratégias de busca que o resto do mercado ainda não viu.',
|
||
|
|
footerNewsletterInput: 'seu@email.com',
|
||
|
|
footerNewsletterDisclaimer: 'Nós respeitamos sua caixa de entrada. Zero spam, apenas inteligência de busca.'
|
||
|
|
},
|
||
|
|
'en': {
|
||
|
|
newsletter: 'Newsletter',
|
||
|
|
subscribe: 'Subscribe Now',
|
||
|
|
readMore: 'Read more',
|
||
|
|
latest: 'Latest',
|
||
|
|
allArticles: 'All Articles',
|
||
|
|
sections: 'Sections',
|
||
|
|
publishing: 'Publishing',
|
||
|
|
contact: 'Contact',
|
||
|
|
about: 'About',
|
||
|
|
privacy: 'Privacy',
|
||
|
|
terms: 'Terms',
|
||
|
|
featured: 'Featured',
|
||
|
|
recent: 'Recent',
|
||
|
|
explore: 'Explore Insights',
|
||
|
|
search: 'Search',
|
||
|
|
viewAll: 'View All',
|
||
|
|
manifesto: 'Manifesto',
|
||
|
|
methodology: 'Methodology',
|
||
|
|
heroTitle: 'The New Order of Semantic Search.',
|
||
|
|
heroSubtitle: 'SEO EDITORIAL 2026',
|
||
|
|
heroDescription: 'The definitive resource for professionals seeking technical excellence and lasting authority in the search ecosystem.',
|
||
|
|
readManifesto: 'Read Manifesto',
|
||
|
|
publishedIn: 'Published in',
|
||
|
|
newsletterTitle: 'Weekly Newsletter',
|
||
|
|
newsletterDescription: 'Subscribe to get the latest news.',
|
||
|
|
emailPlaceholder: 'your@email.com',
|
||
|
|
subscribeButton: 'Subscribe',
|
||
|
|
trendsTitle: 'TRENDS',
|
||
|
|
footerNewsletterTitle: 'Join the Circle of Authority',
|
||
|
|
footerNewsletterSubtitle: 'Subscribe to receive deep insights into algorithmic changes, AI, and search strategies that the rest of the market hasn\'t seen yet.',
|
||
|
|
footerNewsletterInput: 'your@email.com',
|
||
|
|
footerNewsletterDisclaimer: 'We respect your inbox. Zero spam, only search intelligence.'
|
||
|
|
},
|
||
|
|
'es': {
|
||
|
|
newsletter: 'Boletín',
|
||
|
|
subscribe: 'Suscríbete Ahora',
|
||
|
|
readMore: 'Leer más',
|
||
|
|
latest: 'Últimos',
|
||
|
|
allArticles: 'Todos los Artículos',
|
||
|
|
sections: 'Secciones',
|
||
|
|
publishing: 'Publicación',
|
||
|
|
contact: 'Contacto',
|
||
|
|
about: 'Sobre',
|
||
|
|
privacy: 'Privacidad',
|
||
|
|
terms: 'Términos',
|
||
|
|
featured: 'Destacado',
|
||
|
|
recent: 'Recientes',
|
||
|
|
explore: 'Explorar Insights',
|
||
|
|
search: 'Buscar',
|
||
|
|
viewAll: 'Ver Todo',
|
||
|
|
manifesto: 'Manifiesto',
|
||
|
|
methodology: 'Metodología',
|
||
|
|
heroTitle: 'El Nuevo Orden de la Búsqueda Semántica.',
|
||
|
|
heroSubtitle: 'EDITORIAL SEO 2026',
|
||
|
|
heroDescription: 'El recurso definitivo para profesionales que buscan excelencia técnica y autoridad duradera en el ecosistema de búsqueda.',
|
||
|
|
readManifesto: 'Leer Manifiesto',
|
||
|
|
publishedIn: 'Publicado en',
|
||
|
|
newsletterTitle: 'Boletín Semanal',
|
||
|
|
newsletterDescription: 'Suscríbete para recibir las últimas noticias.',
|
||
|
|
emailPlaceholder: 'tu@email.com',
|
||
|
|
subscribeButton: 'Suscríbete',
|
||
|
|
trendsTitle: 'TENDENCIAS',
|
||
|
|
footerNewsletterTitle: 'Únete al Círculo de Autoridad',
|
||
|
|
footerNewsletterSubtitle: 'Suscríbete para recibir análisis profundos sobre cambios algorítmicos, IA y estrategias de búsqueda que el resto del mercado aún no ha visto.',
|
||
|
|
footerNewsletterInput: 'tu@email.com',
|
||
|
|
footerNewsletterDisclaimer: 'Respetamos tu bandeja de entrada. Cero spam, solo inteligencia de búsqueda.'
|
||
|
|
}
|
||
|
|
};
|