mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 01:25:52 -05:00
Add boilerplate code for beta banners
This commit is contained in:
parent
289e17195d
commit
1371687a22
2 changed files with 24 additions and 0 deletions
12
src/views/splash/beta/middle-banner.jsx
Normal file
12
src/views/splash/beta/middle-banner.jsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
const FormattedMessage = require('react-intl').FormattedMessage;
|
||||
const injectIntl = require('react-intl').injectIntl;
|
||||
const React = require('react');
|
||||
|
||||
const FlexRow = require('../../../components/flex-row/flex-row.jsx');
|
||||
const TitleBanner = require('../../../components/title-banner/title-banner.jsx');
|
||||
|
||||
const MiddleBanner = () => (
|
||||
<TitleBanner className="beta-middle-banner" />
|
||||
);
|
||||
|
||||
export default MiddleBanner;
|
12
src/views/splash/beta/top-banner.jsx
Normal file
12
src/views/splash/beta/top-banner.jsx
Normal file
|
@ -0,0 +1,12 @@
|
|||
const FormattedMessage = require('react-intl').FormattedMessage;
|
||||
const injectIntl = require('react-intl').injectIntl;
|
||||
const React = require('react');
|
||||
|
||||
const FlexRow = require('../../../components/flex-row/flex-row.jsx');
|
||||
const TitleBanner = require('../../../components/title-banner/title-banner.jsx');
|
||||
|
||||
const TopBanner = () => (
|
||||
<TitleBanner className="beta-top-banner" />
|
||||
);
|
||||
|
||||
export default TopBanner;
|
Loading…
Reference in a new issue