diff --git a/src/views/teachers/landing/l10n-static.json b/src/views/teachers/landing/l10n-static.json new file mode 100644 index 000000000..30a965a9a --- /dev/null +++ b/src/views/teachers/landing/l10n-static.json @@ -0,0 +1,4 @@ +{ + "cards.scratch-cards-allLink": "https://resources.scratch.mit.edu/www/cards/en/scratch-cards-all.pdf", + "guides.EducatorGuidesAllLink": "https://resources.scratch.mit.edu/www/guides/en/EducatorGuidesAll.pdf" +} diff --git a/src/views/teachers/landing/landing.jsx b/src/views/teachers/landing/landing.jsx index 2867421fa..74dc74339 100644 --- a/src/views/teachers/landing/landing.jsx +++ b/src/views/teachers/landing/landing.jsx @@ -1,5 +1,8 @@ const FormattedHTMLMessage = require('react-intl').FormattedHTMLMessage; const FormattedMessage = require('react-intl').FormattedMessage; +const injectIntl = require('react-intl').injectIntl; +const intlShape = require('react-intl').intlShape; + const React = require('react'); const FlexRow = require('../../../components/flex-row/flex-row.jsx'); @@ -11,7 +14,8 @@ const render = require('../../../lib/render.jsx'); require('./landing.scss'); -const Landing = () => ( +const Landing = props => ( +