Built using Next.js via create-next-app
.
git clone https://github.com/vqalves/site.git
cd site
npm install
npx next dev
Most text inside the site is wrapped around LocaleContent
, which provides a translated text based on a locale.
Get content based on locale:
sequenceDiagram
LocaleType->>LocaleContent: getContent()
LocaleContent->>LocaleType: translated content
How the content is implemented:
graph TD;
LocaleContent-.->LocaleContentAny;
LocaleContent-.->LocaleContentText;
https://accessibility.digital.gov/product/accessibility-basics/