Skip to content

Commit

Permalink
translate home title and description
Browse files Browse the repository at this point in the history
  • Loading branch information
danicuki committed Jun 10, 2024
1 parent abfe685 commit 85d20e8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 13 deletions.
2 changes: 1 addition & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function MyApp({ Component, pageProps }) {
>
<SessionProvider session={pageProps.session}>
<Head>
<title>Crie seu Primeiro Projeto WEB3</title>
<title>{t('createFirstProject')}</title>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<link rel="icon" href="/assets/img/w3d-logo-symbol-ac.svg" />
</Head>
Expand Down
14 changes: 4 additions & 10 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,11 @@ export default function Home({ course }) {
return (
<>
<Head>
<title>Crie seu Primeiro Projeto WEB3</title>
<meta property="og:title" content="Crie seu Primeiro Projeto WEB3" />
<title>{t('createFirstProject')}</title>
<meta property="og:title" content={t('createFirstProject')} />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://build.w3d.community/" />
<meta
property="og:description"
content="Está em busca de conteúdo gratuito e em português para aprender a programar na web3? Aqui você encontrará uma comunidade grande e engajada, centenas de artigos, vídeos e todo o suporte necessário para evoluir. E como extra ainda ganhará certificações em NFT para compartilhar com os amigos. Venha conhecer e se inscreva já!"
/>
<meta property="og:description" content={t('home.description')} />
<meta property="og:image" itemProp="image" content={course.image_url} />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:alt" content="WEB3DEV Logo" />
Expand All @@ -35,10 +32,7 @@ export default function Home({ course }) {
<meta property="twitter:card" content="summary_large_image" />
<meta property="twitter:url" content="https://build.w3d.community/" />
<meta property="twitter:title" content="WEB3DEV" />
<meta
property="twitter:description"
content="Está em busca de conteúdo gratuito e em português para aprender a programar na web3? Aqui você encontrará uma comunidade grande e engajada, centenas de artigos, vídeos e todo o suporte necessário para evoluir. E como extra ainda ganhará certificações em NFT para compartilhar com os amigos. Venha conhecer e se inscreva já!"
/>
<meta property="twitter:description" content={t('home.description')} />
<meta property="twitter:image" content={course.image_url} />

{/* Twitter */}
Expand Down
4 changes: 3 additions & 1 deletion public/locales/en/translation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"pageTitle": "Builds List",
"createFirstProject": "Create Your First WEB3 Project",
"indicateAndWin": "Refer and Earn",
"profilePicture": "Profile picture",
"logout": "Logout",
Expand Down Expand Up @@ -75,7 +76,8 @@
"Project Based Learning",
"Earn an NFT for each finished project",
"Find a job in cool web3 projects"
]
],
"description": "WEB3DEV is a platform for learning web3 technologies through project-based learning. We believe that the best way to learn is by doing, so we created a platform where you can learn by building real projects. We are a community of developers, designers, and blockchain enthusiasts who are passionate about learning and sharing knowledge. Join us and start building today!"
},
"comming_soon": {
"timeHasCome": "The time has come!",
Expand Down
4 changes: 3 additions & 1 deletion public/locales/pt/translation.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
{
"title": "Lista de Builds",
"createFirstProject": "Crie seu Primeiro Projeto WEB3",
"indicateAndWin": "Indique e Ganhe",
"profilePicture": "Foto de perfil",
"logout": "Sair",
Expand Down Expand Up @@ -75,7 +76,8 @@
"Aprendizado baseado em projetos",
"Ganhe um NFT para cada projeto finalizado",
"Trabalhe como dev em projetos web3"
]
],
"description": "Está em busca de conteúdo gratuito e em português para aprender a programar na web3? Aqui você encontrará uma comunidade grande e engajada, centenas de artigos, vídeos e todo o suporte necessário para evoluir. E como extra ainda ganhará certificações em NFT para compartilhar com os amigos. Venha conhecer e se inscreva já!"
},
"comming_soon": {
"timeHasCome": "Está chegando a hora!",
Expand Down

0 comments on commit 85d20e8

Please sign in to comment.