Skip to content

Commit

Permalink
fea: add transparency page
Browse files Browse the repository at this point in the history
  • Loading branch information
marco-souza committed Dec 26, 2024
1 parent 4374e04 commit b9f19d4
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 1 deletion.
14 changes: 14 additions & 0 deletions app/routes/transparency.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import Section from "@packages/components/Section";
import { LocalizedText } from "@packages/locale/context";

export default function TransparencyPortal() {
return (
<Section className="px-0 pt-32">
<div className="flex flex-col items-center space-y-2 text-center md:space-y-4">
<h1 className=" py-30 font-semibold text-xl leading-tight sm:text-3xl ">
<LocalizedText token="transparency-portal.title" />
</h1>
</div>
</Section>
);
}
3 changes: 2 additions & 1 deletion packages/locale/context.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export type TranslationNS =
| "footer"
| "team-page"
| "ask-us-page"
| "testimonials";
| "testimonials"
| "transparency-portal";

export type TranslationToken = `${TranslationNS}.${string}`;

Expand Down
3 changes: 3 additions & 0 deletions packages/locale/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,6 @@ ask-us-page:
send-button: Ask
checkbox-label: Show answered questions
answer-button-label: Mask as answered

transparency-portal:
title: Transparency Portal
3 changes: 3 additions & 0 deletions packages/locale/pt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,3 +101,6 @@ ask-us-page:
send-button: Perguntar
checkbox-label: Mostrar perguntas respondidas
answer-button-label: Marcar como respondida

transparency-portal:
title: Portal de Transparência

0 comments on commit b9f19d4

Please sign in to comment.