Skip to content

Commit

Permalink
add metatag description na index
Browse files Browse the repository at this point in the history
  • Loading branch information
jesielviana committed Oct 26, 2024
1 parent 78cca1f commit 866d12b
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 3 deletions.
10 changes: 9 additions & 1 deletion public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,13 @@
"Export processing. The download link will be sent to the e-mail address provided when the file is ready.": "Export processing. The download link will be sent to the e-mail address provided when the file is ready.",
"Academic and/or research institutions": "Academic and/or research institutions",
"Active postgraduate programs evaluated by CAPES": "Active postgraduate programs evaluated by CAPES.",
"Export failed, try again later": "Export failed, try again later."
"Export failed, try again later": "Export failed, try again later.",
"Information about data sources": "Information about data sources",
"Current": "Current",
"Egress": "Egress",
"Search in the Brazilian Scientific Research Information Ecosystem": "Search in the Brazilian Scientific Research Information Ecosystem",
"BrCris Partners": "BrCris Partners",
"Select an entity": "Select an entity",
"records": "records",
"The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context.": "The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context."
}
10 changes: 9 additions & 1 deletion public/locales/pt-BR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -170,5 +170,13 @@
"Export processing. The download link will be sent to the e-mail address provided when the file is ready.": "Exportação em processamento. O link para download será enviado para o e-mail informado quando o arquivo estiver pronto.",
"Academic and/or research institutions": "Instituições acadêmicas e/ou de pesquisa",
"Active postgraduate programs evaluated by CAPES": "Programas de pós-graduação ativos avaliados pela CAPES",
"Export failed, try again later": "Falha na exportação, tente novamente mais tarde."
"Export failed, try again later": "Falha na exportação, tente novamente mais tarde.",
"Information about data sources": "Informações sobre as fonte de dados",
"Current": "Atuais",
"Egress": "Egressos",
"Search in the Brazilian Scientific Research Information Ecosystem": "Pesquise no Ecossistema de Informação da Pesquisa Científica Brasileira",
"BrCris Partners": "Parceiros do BrCris",
"Select an entity": "Selecione uma entidade",
"records": "registros",
"The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context.": "O Ecossistema de Informação da Pesquisa Científica Brasileira, BrCris, é uma plataforma agregadora que permite recuperar, certificar e visualizar dados e informações relativas aos diversos atores que atuam na pesquisa científica do contexto brasileiro."
}
10 changes: 9 additions & 1 deletion src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export const getStaticProps: GetStaticProps<Props> = async ({ locale }) => ({
export default function App() {
// const [config, setConfig] = useState(configDefault)
const router = useRouter();
const { t } = useTranslation('common');
const { t } = useTranslation(['common']);

const indexes = [
{ text: 'Publications', page: 'publications', name: process.env.INDEX_PUBLICATION || '' },
Expand Down Expand Up @@ -85,6 +85,14 @@ export default function App() {
<>
<Head>
<title>{`BrCris - ${t('Home')}`}</title>
<meta
name="description"
content={
t(
'The Brazilian Scientific Research Information Ecosystem, BrCris, is an aggregator platform that allows retrieving, certifying and visualizing data and information related to the various actors who work in scientific research in the Brazilian context.'
) || ''
}
/>
</Head>
<div className={styles.home}>
<div className={styles.textWhite}>
Expand Down

0 comments on commit 866d12b

Please sign in to comment.