Merge pull request #3847 from picklesrus/educator-page-mini-update

Educator page mini update
This commit is contained in:
picklesrus 2020-05-05 14:15:14 -04:00 committed by GitHub
commit 9a4b02bd98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 18 additions and 3 deletions

View file

@ -37,7 +37,9 @@
"teacherlanding.signupTips" : "Sign up to receive {signupTipsLink} from the Scratch Team",
"teacherlanding.signupTipsLink" : "updates and tips",
"teacherlanding.accountsTitle": "Teacher Accounts in Scratch",
"teacherlanding.accountsDescription": "As an educator, you can request a Scratch Teacher Account, which makes it easier to create accounts for groups of students and to manage your students projects and comments. To learn more, see the <a href=\"/educators/faq\">Teacher Account FAQ page</a>.",
"teacherlanding.accountsRequestInfo": "As an educator, you can request a Scratch Teacher Account, which makes it easier to create accounts for students and to manage their projects and comments. To learn more, see the {setupGuideLink} and the {teacherAccountFaqLink}.",
"teacherlanding.accountsSetupGuide": "Teacher Account Setup Guide",
"teacherlanding.accountsFaqPage": "Teacher Account FAQ page",
"teacherlanding.requestAccount": "Request Account"
}

View file

@ -1,4 +1,3 @@
const FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage;
const FormattedMessage = require('react-intl').FormattedMessage;
const injectIntl = require('react-intl').injectIntl;
const intlShape = require('react-intl').intlShape;
@ -338,7 +337,21 @@ const Landing = props => (
<FormattedMessage id="teacherlanding.accountsTitle" />
</h2>
<p>
<FormattedHTMLMessage id="teacherlanding.accountsDescription" />
<FormattedMessage
id="teacherlanding.accountsRequestInfo"
values={{
setupGuideLink: (
<a href="https://docs.google.com/document/d/1Qb8Lyeiivr-oB49p5Bo17iXU5qxGpBJHuFa_KR5aW-o/view" >
<FormattedMessage id="teacherlanding.accountsSetupGuide" />
</a>
),
teacherAccountFaqLink: (
<a href="/educators/faq">
<FormattedMessage id="teacherlanding.accountsFaqPage" />
</a>
)
}}
/>
</p>
<SubNavigation
align="left"