2020-08-10 16:43:07 -04:00
|
|
|
const bindAll = require('lodash.bindall');
|
|
|
|
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 Button = require('../../components/forms/button.jsx');
|
|
|
|
const FlexRow = require('../../components/flex-row/flex-row.jsx');
|
|
|
|
const MasonryGrid = require('../../components/masonrygrid/masonrygrid.jsx');
|
|
|
|
const TitleBanner = require('../../components/title-banner/title-banner.jsx');
|
|
|
|
const NavigationBox = require('../../components/navigation/base/navigation.jsx');
|
|
|
|
|
|
|
|
const Page = require('../../components/page/www/page.jsx');
|
|
|
|
const render = require('../../lib/render.jsx');
|
2020-08-17 12:04:38 -04:00
|
|
|
|
2020-08-10 16:43:07 -04:00
|
|
|
require('./annual-report.scss');
|
|
|
|
|
2020-08-17 12:04:38 -04:00
|
|
|
const AnnualReport = () => (
|
|
|
|
<div>
|
|
|
|
<div className="subnavigation">
|
|
|
|
<FlexRow className="inner">
|
2020-08-19 16:30:45 -04:00
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#message"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavMessage" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#mission"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavMission" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#reach"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavReach" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#timeline"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavTimeline" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#work"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavWork" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#financials"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavFinancials" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#supporters"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavSupporters" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#leadership"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavLeadership" />
|
|
|
|
</a>
|
|
|
|
<a
|
|
|
|
className="link"
|
2020-08-20 10:10:31 -04:00
|
|
|
href="/annual-report#donate"
|
2020-08-19 16:30:45 -04:00
|
|
|
>
|
|
|
|
<FormattedMessage id="annualReport.subnavDonate" />
|
|
|
|
</a>
|
2020-08-17 12:04:38 -04:00
|
|
|
</FlexRow>
|
|
|
|
</div>
|
|
|
|
<div className="banner-wrapper">
|
|
|
|
<TitleBanner className="masthead masthead">
|
|
|
|
<div className="title-banner-p">
|
|
|
|
<img src="/images/ideas/masthead-illustration.svg" />
|
|
|
|
<h1 className="title-banner-h1">
|
|
|
|
<FormattedMessage id="ideas.headerMessage" />
|
|
|
|
</h1>
|
|
|
|
<a href="/projects/editor/?tutorial=all">
|
|
|
|
<Button className="ideas-button">
|
|
|
|
<img src="/images/ideas/bulb-icon.svg" />
|
|
|
|
<FormattedMessage id="ideas.headerButtonMessage" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
</TitleBanner>
|
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="mission" id="mission">
|
2020-08-17 12:04:38 -04:00
|
|
|
<div className="inner">
|
|
|
|
<FlexRow
|
|
|
|
as="section"
|
|
|
|
className="tips-info-section tips-left"
|
|
|
|
>
|
|
|
|
<div className="ideas-image">
|
|
|
|
<img src="/images/ideas/getting-started-illustration.svg" />
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
<div>
|
|
|
|
<h2>
|
|
|
|
<FormattedMessage id="ideas.gettingStartedTitle" />
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
<FormattedHTMLMessage id="ideas.gettingStartedText" />
|
|
|
|
</p>
|
|
|
|
<a href="/projects/editor/?tutorial=getStarted">
|
|
|
|
<Button className="ideas-button">
|
|
|
|
<img src="/images/ideas/try-it-icon.svg" />
|
|
|
|
<FormattedMessage id="ideas.tryIt" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
</FlexRow>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="our-reach" id="reach">
|
2020-08-17 12:04:38 -04:00
|
|
|
<div className="inner">
|
|
|
|
<section className="ttt-section">
|
|
|
|
<div className="ttt-head">
|
|
|
|
<h2>
|
|
|
|
<FormattedMessage id="ideas.activityGuidesTitle" />
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
<FormattedHTMLMessage id="ideas.activityGuidesText" />
|
|
|
|
</p>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
<a
|
|
|
|
className="wide-button"
|
|
|
|
href="/projects/editor/?tutorial=all"
|
|
|
|
>
|
|
|
|
<Button className="ideas-button wide-button">
|
|
|
|
<FormattedMessage id="ideas.seeAllTutorials" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="history" id="history">
|
2020-08-17 12:04:38 -04:00
|
|
|
<div className="inner">
|
|
|
|
<section className="ttt-section">
|
|
|
|
<div className="ttt-head">
|
|
|
|
<h2>
|
|
|
|
<FormattedMessage id="ideas.activityGuidesTitle" />
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
<FormattedHTMLMessage id="ideas.activityGuidesText" />
|
|
|
|
</p>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
<a
|
|
|
|
className="wide-button"
|
|
|
|
href="/projects/editor/?tutorial=all"
|
|
|
|
>
|
|
|
|
<Button className="ideas-button wide-button">
|
|
|
|
<FormattedMessage id="ideas.seeAllTutorials" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="our-work" id="work">
|
2020-08-17 12:04:38 -04:00
|
|
|
<div className="inner">
|
|
|
|
<section className="ttt-section">
|
|
|
|
<div className="ttt-head">
|
|
|
|
<h2>
|
|
|
|
<FormattedMessage id="ideas.activityGuidesTitle" />
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
<FormattedHTMLMessage id="ideas.activityGuidesText" />
|
|
|
|
</p>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
<a
|
|
|
|
className="wide-button"
|
|
|
|
href="/projects/editor/?tutorial=all"
|
|
|
|
>
|
|
|
|
<Button className="ideas-button wide-button">
|
|
|
|
<FormattedMessage id="ideas.seeAllTutorials" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="financials" id="financials">
|
2020-08-17 12:04:38 -04:00
|
|
|
<div className="inner">
|
|
|
|
<section className="ttt-section">
|
|
|
|
<div className="ttt-head">
|
|
|
|
<h2>
|
|
|
|
<FormattedMessage id="ideas.activityGuidesTitle" />
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
<FormattedHTMLMessage id="ideas.activityGuidesText" />
|
|
|
|
</p>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
<a
|
|
|
|
className="wide-button"
|
|
|
|
href="/projects/editor/?tutorial=all"
|
|
|
|
>
|
|
|
|
<Button className="ideas-button wide-button">
|
|
|
|
<FormattedMessage id="ideas.seeAllTutorials" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
</section>
|
2020-08-10 16:43:07 -04:00
|
|
|
</div>
|
2020-08-17 12:04:38 -04:00
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="supporters" id="supporters">
|
2020-08-17 12:04:38 -04:00
|
|
|
<div className="inner">
|
|
|
|
<section className="ttt-section">
|
|
|
|
<div className="ttt-head">
|
|
|
|
<h2>
|
|
|
|
<FormattedMessage id="ideas.activityGuidesTitle" />
|
|
|
|
</h2>
|
|
|
|
<p>
|
|
|
|
<FormattedHTMLMessage id="ideas.activityGuidesText" />
|
|
|
|
</p>
|
|
|
|
</div>
|
|
|
|
<a
|
|
|
|
className="wide-button"
|
|
|
|
href="/projects/editor/?tutorial=all"
|
|
|
|
>
|
|
|
|
<Button className="ideas-button wide-button">
|
|
|
|
<FormattedMessage id="ideas.seeAllTutorials" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
</section>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-20 10:10:31 -04:00
|
|
|
<div className="donate-section" id="donate">
|
2020-08-17 12:04:38 -04:00
|
|
|
<FlexRow className="donate-info">
|
|
|
|
<img src="/images/annual-report/donate-illustration.svg" />
|
|
|
|
<div className="donate-content">
|
|
|
|
<h1 className="donate-h1">
|
|
|
|
<FormattedMessage id="annualReport.donateTitle" />
|
|
|
|
</h1>
|
|
|
|
<p className="donate-p">
|
|
|
|
<FormattedMessage id="annualReport.donateMessage" />
|
|
|
|
</p>
|
|
|
|
<a href="https://secure.donationpay.org/scratchfoundation/">
|
|
|
|
<Button className="donate-button">
|
|
|
|
<FormattedMessage id="annualReport.donateButton" />
|
|
|
|
</Button>
|
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
</FlexRow>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
);
|
2020-08-10 16:43:07 -04:00
|
|
|
|
|
|
|
render(
|
|
|
|
<Page><AnnualReport /></Page>, document.getElementById('app'));
|