mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Create small top banner component
This commit is contained in:
parent
fd9c0df623
commit
4c49ae1701
1 changed files with 21 additions and 0 deletions
21
src/views/splash/beta/small-top-banner.jsx
Normal file
21
src/views/splash/beta/small-top-banner.jsx
Normal file
|
@ -0,0 +1,21 @@
|
|||
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');
|
||||
|
||||
require('./top-banner.scss');
|
||||
|
||||
const SmallTopBanner = () => (
|
||||
<TitleBanner className="beta-top-banner">
|
||||
<FlexRow>
|
||||
<a
|
||||
className="call-to-action button"
|
||||
href="https://beta.scratch.mit.edu/"
|
||||
>Call to Action</a>
|
||||
</FlexRow>
|
||||
</TitleBanner>
|
||||
);
|
||||
|
||||
export default SmallTopBanner;
|
Loading…
Reference in a new issue