2018-01-30 11:53:12 -05:00
|
|
|
const FormattedMessage = require('react-intl').FormattedMessage;
|
|
|
|
const React = require('react');
|
2016-04-23 14:27:08 -04:00
|
|
|
|
2018-01-30 11:53:12 -05:00
|
|
|
const Box = require('../../components/box/box.jsx');
|
|
|
|
|
|
|
|
const Page = require('../../components/page/www/page.jsx');
|
|
|
|
const render = require('../../lib/render.jsx');
|
2016-04-23 14:27:08 -04:00
|
|
|
|
|
|
|
require('./guidelines.scss');
|
|
|
|
|
2018-01-30 11:53:12 -05:00
|
|
|
const Guidelines = () => (
|
|
|
|
<div className="inner guidelines">
|
|
|
|
<Box
|
|
|
|
title={
|
|
|
|
<FormattedMessage id="guidelines.title" />
|
|
|
|
}
|
|
|
|
>
|
|
|
|
<p>
|
|
|
|
<FormattedMessage
|
|
|
|
className="intro"
|
|
|
|
id="guidelines.header"
|
|
|
|
/>
|
|
|
|
</p>
|
|
|
|
<dl>
|
|
|
|
<dt><FormattedMessage id="guidelines.respectheader" /></dt>
|
|
|
|
<dd><FormattedMessage id="guidelines.respectbody" /></dd>
|
|
|
|
<dt><FormattedMessage id="guidelines.constructiveheader" /></dt>
|
|
|
|
<dd><FormattedMessage id="guidelines.constructivebody" /></dd>
|
|
|
|
<dt><FormattedMessage id="guidelines.shareheader" /></dt>
|
|
|
|
<dd><FormattedMessage id="guidelines.sharebody" /></dd>
|
|
|
|
<dt><FormattedMessage id="guidelines.privacyheader" /></dt>
|
|
|
|
<dd><FormattedMessage id="guidelines.privacybody" /></dd>
|
|
|
|
<dt><FormattedMessage id="guidelines.honestyheader" /></dt>
|
|
|
|
<dd><FormattedMessage id="guidelines.honestybody" /></dd>
|
|
|
|
<dt><FormattedMessage id="guidelines.friendlyheader" /></dt>
|
|
|
|
<dd><FormattedMessage id="guidelines.friendlybody" /></dd>
|
|
|
|
</dl>
|
|
|
|
<div className="guidelines-footer">
|
|
|
|
<p><FormattedMessage id="guidelines.footer" /></p>
|
|
|
|
<img
|
|
|
|
alt="sprites"
|
|
|
|
src="//cdn.scratch.mit.edu/scratchr2/static/images/help/spritesforcommunityguid.png"
|
|
|
|
/>
|
2016-04-23 14:27:08 -04:00
|
|
|
</div>
|
2018-01-30 11:53:12 -05:00
|
|
|
</Box>
|
|
|
|
</div>
|
|
|
|
);
|
2016-04-23 14:27:08 -04:00
|
|
|
|
|
|
|
render(<Page><Guidelines /></Page>, document.getElementById('app'));
|