Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lr 62 #105

Merged
merged 8 commits into from
Jul 4, 2022
Merged

Lr 62 #105

merged 8 commits into from
Jul 4, 2022

Conversation

realdylanzheng
Copy link
Collaborator

Summary | Résumé

  • Static generation of all pages
  • Switch domain on language switch
  • Direct access to each individual page
  • Multi lang home page

Description en 1 à 3 phrases de la modification proposée, avec un lien vers le
problème (« issue ») GitHub ou la fiche Trello, le cas échéant.

Test instructions | Instructions pour tester la modification

npm run generate

then

npx http-server dist/


Étapes consécutives (1., 2., 3., …) qui décrivent la façon de tester la
modification. Elles aideront les développeurs à faire des tests sans avoir à
jouer au détective. Veuillez aussi inclure toutes les étapes de configuration
de l’environnement qui ne font pas partie des étapes normales dans le fichier
README et tout élément temporel requis.

@aws-amplify-ca-central-1
Copy link

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-105.d1aa42w7dd40bx.amplifyapp.com

Comment on lines 182 to 200
locales: [
{
code: 'en',
iso: 'en-CA',
file: 'en.json',
name: 'English',
dir: 'ltr',
// domain: process.env.DOMAIN_EN,
domain: 'en.learning-resources:8080',
},
{
code: 'fr',
iso: 'fr-CA',
file: 'fr.json',
name: 'Français',
// domain: process.env.DOMAIN_FR,
domain: 'fr.learning-resources:8080',
},
],
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dylanzheng94 could you confirm if this is what we're using and if it overrides config/i18n.js?

@realdylanzheng realdylanzheng merged commit b6730fc into main Jul 4, 2022
@realdylanzheng realdylanzheng deleted the lr-62 branch July 4, 2022 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants