mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2025-02-17 00:21:20 -05:00
Add initial pass at middle banner
This commit is contained in:
parent
142b46b138
commit
97cb50917f
2 changed files with 24 additions and 2 deletions
|
@ -17,6 +17,9 @@ const MiddleBanner = () => (
|
|||
href="https://beta.scratch.mit.edu/"
|
||||
>Try it!</a>
|
||||
</FlexRow>
|
||||
<div className="beta-banner-image">
|
||||
<img src="/images/beta/right-illustration.png" />
|
||||
</div>
|
||||
</TitleBanner>
|
||||
);
|
||||
|
||||
|
|
|
@ -2,14 +2,33 @@
|
|||
@import "../../../frameless";
|
||||
|
||||
.beta-middle-banner {
|
||||
display: flex;
|
||||
margin-top: 20px;
|
||||
border-radius: 16px;
|
||||
background: $ui-orange;
|
||||
padding: 64px 48px;
|
||||
background-color: $ui-orange;
|
||||
background-image: url("/images/beta/bg-pattern.png");
|
||||
background-size: cover;
|
||||
padding: 0;
|
||||
height: 17rem;
|
||||
box-sizing: border-box;
|
||||
justify-content: center;
|
||||
|
||||
.beta-middle-container {
|
||||
padding-left: 3rem;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.beta-banner-image {
|
||||
display: flex;
|
||||
margin-right: 2rem;
|
||||
min-width: 0;
|
||||
align-self: flex-end;
|
||||
|
||||
img {
|
||||
max-width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
}
|
||||
|
||||
.beta-header,
|
||||
|
|
Loading…
Reference in a new issue