Skip to content

Commit 8d50d2e

Browse files
jhermesniagocavalcante
authored andcommitted
feat: add project showcase section with titles and descriptions in multiple languages
1 parent cf5f29a commit 8d50d2e

4 files changed

Lines changed: 34 additions & 3 deletions

File tree

public/locales/en/common.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
"exclusiveContent": "Receive exclusive content directly in your inbox! Subscribe to our newsletter and stay updated on the latest community news. Sign up now!",
1818
"subscribe": "Subscribe",
1919
"fullName": "Full name",
20-
"email": "E-mail"
20+
"email": "E-mail",
21+
"vitrine_title": "Vitrine of Projects from the North",
22+
"vitrine_description": "Discover projects created by people from the North Region of Brazil. Publish your projects, discover community initiatives and support projects by voting for your favorites.",
23+
"vitrine_button": "Explore projects"
2124
}

public/locales/es/common.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
"exclusiveContent": "Recibe contenido exclusivo directamente en tu bandeja de entrada. ¡Suscríbete a nuestro boletín y mantente actualizado sobre las últimas noticias de la comunidad. ¡Regístrate ahora!",
1818
"subscribe": "Suscribirse",
1919
"fullName": "Nombre completo",
20-
"email": "Correo electrónico"
20+
"email": "Correo electrónico",
21+
"vitrine_title": "Vitrina de Proyectos del Norte",
22+
"vitrine_description": "Conoce proyectos creados por personas de la Región Norte de Brasil. Publica tus proyectos, descubre iniciativas de la comunidad y apoya proyectos votando por tus favoritos.",
23+
"vitrine_button": "Explorar proyectos"
2124
}

public/locales/pt/common.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,8 @@
1717
"exclusiveContent": "Receba conteúdos exclusivos diretamente na sua caixa de entrada! Assine nossa newsletter e mantenha-se atualizado(a) sobre as novidades da comunidade. Cadastre-se agora mesmo!",
1818
"subscribe": "Inscrever-se",
1919
"fullName": "Nome completo",
20-
"email": "E-mail"
20+
"email": "E-mail",
21+
"vitrine_title": "Vitrine de Projetos do Norte",
22+
"vitrine_description": "Conheça projetos criados por pessoas da Região Norte do Brasil. Publique seus projetos, descubra iniciativas da comunidade e apoie projetos votando nos seus favoritos.",
23+
"vitrine_button": "Explorar projetos"
2124
}

src/hooks/useLandingPageInfos.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,28 @@ export const useLandingPageInfos = () => {
8282
</ul>
8383
)
8484
},
85+
{
86+
image: {
87+
url: '/images/networking.png',
88+
alt: t('vitrine_title')
89+
},
90+
title: t('vitrine_title'),
91+
info: (
92+
<div className='flex flex-col items-start gap-4'>
93+
<p>{t('vitrine_description')}</p>
94+
<div>
95+
<Link
96+
className='inline-block px-6 py-2 text-white bg-black hover:bg-gray-800 font-bold transition-colors'
97+
href='https://comunidade.devsnorte.com/'
98+
rel='noopener noreferrer'
99+
target='_blank'
100+
>
101+
{t('vitrine_button')}
102+
</Link>
103+
</div>
104+
</div>
105+
)
106+
},
85107
{
86108
title: t('gallery'),
87109
customSection: <Gallery images={exampleImages} />

0 commit comments

Comments
 (0)