Add call to action link to banners

This commit is contained in:
Connor Hudson 2018-06-29 09:27:54 -04:00
parent c469a0ed97
commit 4ee6bfcad2
2 changed files with 20 additions and 2 deletions

View file

@ -5,8 +5,17 @@ const React = require('react');
const FlexRow = require('../../../components/flex-row/flex-row.jsx');
const TitleBanner = require('../../../components/title-banner/title-banner.jsx');
require('./middle-banner.scss');
const MiddleBanner = () => (
<TitleBanner className="beta-middle-banner" />
<TitleBanner className="beta-middle-banner">
<FlexRow>
<a
className="call-to-action button"
href="https://beta.scratch.mit.edu/"
>Call to Action</a>
</FlexRow>
</TitleBanner>
);
export default MiddleBanner;

View file

@ -5,8 +5,17 @@ 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 TopBanner = () => (
<TitleBanner className="beta-top-banner" />
<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 TopBanner;