From d1aa2b593018f08bc5b2b332c425029d4c25819e Mon Sep 17 00:00:00 2001 From: Mateus Riff Date: Tue, 11 Jun 2024 20:50:35 -0300 Subject: [PATCH] Fix and update content Squash and merge the following commits into develop: * fix: update content * fix(Category): fix VSSS category subtitle * fix(Category): add new publications * fix: enhance SSL description --- public/locales/en/index.js | 6 +-- public/locales/pt-BR/index.js | 4 +- .../components/Category/Category.tsx | 4 +- src/data/publications/index.tsx | 47 ++++++++++++++----- src/data/tables/index.ts | 8 ++-- 5 files changed, 48 insertions(+), 21 deletions(-) diff --git a/public/locales/en/index.js b/public/locales/en/index.js index 5375e5c..2ad90d5 100644 --- a/public/locales/en/index.js +++ b/public/locales/en/index.js @@ -39,7 +39,7 @@ const en = { An SSL match unfolds between two teams, each comprised of six robots. These robots are constrained by specific dimensions; they must fit within a 180 mm diameter circle and should not - exceed 15 cm in size. Notably, our vision system, which processes + exceed 150 mm in height. Notably, our vision system, which processes data from four cameras, plays a crucial role in identifying and normalizing all objects within the field.`, table_header: 'Small Size League - Results', @@ -121,7 +121,7 @@ const en = { trs: [ [ '2023', - 'N/A', + '1st', '1st Div B, 1st Ball Placement Technical Challenge, 5th Chip Pass Challenge', ], [ @@ -143,7 +143,7 @@ const en = { label: '2D Simulation - Results', th: ['Year', 'RoboCup', 'LARC', 'IRONCup'], trs: [ - ['2023', '6h', 'N/A', '2nd'], + ['2023', '6th', '1st', '2nd'], ['2022', '10th', '1st', '3rd'], ['2021', '7th', '1st', '3rd'], ['2020', 'Postponed', '3rd', '6th'], diff --git a/public/locales/pt-BR/index.js b/public/locales/pt-BR/index.js index fcab696..cc08a92 100644 --- a/public/locales/pt-BR/index.js +++ b/public/locales/pt-BR/index.js @@ -38,7 +38,7 @@ const ptBR = { Um jogo de SSL ocorre entre duas equipes de seis robôs cada. Os robôs tem dimensões limitadas, o robô deve caber dentro de um círculo de 180 mm de diâmetro e - não deve ter mais de 15 cm. Todos os objetos no campo + não deve ter mais de 150 mm de altura. Todos os objetos no campo são identificados e normalizados pelos sistema de visão que processa os dados proveniente pelas 4 cameras.`, table_header: 'Small Size League - Resultados', @@ -141,7 +141,7 @@ const ptBR = { label: 'Simulação 2D - Resultados', th: ['Ano', 'RoboCup', 'LARC', 'IRONCup'], trs: [ - ['2023', '6º', 'N/A', '2º'], + ['2023', '6º', '1º', '2º'], ['2022', '10º', '1º', '3º'], ['2021', '7º', '1º', '3º'], ['2020', 'Adiado', '3º', '6º'], diff --git a/src/components/CategoriesPage/components/Category/Category.tsx b/src/components/CategoriesPage/components/Category/Category.tsx index 771c1be..394d00c 100644 --- a/src/components/CategoriesPage/components/Category/Category.tsx +++ b/src/components/CategoriesPage/components/Category/Category.tsx @@ -44,7 +44,9 @@ const Category = ({ {approaches && ( <> - Nossas abordagens + + {lang === 'en' ? 'Our Approaches' : 'Nossas abordagens'} + {approaches.map((approach, index) => (