mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-27 09:35:56 -05:00
Add call to action link to banners
This commit is contained in:
parent
c469a0ed97
commit
4ee6bfcad2
2 changed files with 20 additions and 2 deletions
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue