Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
scratch-www
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
xpstem
scratch-www
Commits
65562556
Commit
65562556
authored
Jul 03, 2018
by
Connor Hudson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add initial pass at top banner with assets
parent
4eca4328
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
1 deletion
+37
-1
src/views/splash/beta/top-banner.jsx
src/views/splash/beta/top-banner.jsx
+6
-0
src/views/splash/beta/top-banner.scss
src/views/splash/beta/top-banner.scss
+31
-1
static/images/beta/bg-pattern.png
static/images/beta/bg-pattern.png
+0
-0
static/images/beta/left-illustration.png
static/images/beta/left-illustration.png
+0
-0
static/images/beta/right-illustration.png
static/images/beta/right-illustration.png
+0
-0
No files found.
src/views/splash/beta/top-banner.jsx
View file @
65562556
...
...
@@ -9,6 +9,9 @@ require('./top-banner.scss');
const
TopBanner
=
()
=>
(
<
TitleBanner
className=
"beta-top-banner"
>
<
div
className=
"beta-header-image left"
>
<
img
src=
"/images/beta/left-illustration.png"
/>
</
div
>
<
FlexRow
className=
"beta-top-container column"
>
<
h1
className=
"beta-header"
>
The Next Generation of Scratch
</
h1
>
<
h3
className=
"beta-copy"
>
Try out the beta version of Scratch 3.0
</
h3
>
...
...
@@ -17,6 +20,9 @@ const TopBanner = () => (
href=
"https://beta.scratch.mit.edu/"
>
Try it!
</
a
>
</
FlexRow
>
<
div
className=
"beta-header-image right"
>
<
img
src=
"/images/beta/right-illustration.png"
/>
</
div
>
</
TitleBanner
>
);
...
...
src/views/splash/beta/top-banner.scss
View file @
65562556
@import
"../../../colors"
;
.beta-top-banner
{
background
:
$ui-orange
;
display
:
flex
;
background-color
:
$ui-orange
;
background-image
:
url("/images/beta/bg-pattern.png")
;
background-size
:
cover
;
padding
:
0
;
height
:
20rem
;
overflow
:
hidden
;
justify-content
:
center
;
.beta-top-container
{
flex-shrink
:
0
;
}
.beta-header-image
{
display
:
flex
;
min-width
:
0
;
align-self
:
flex-end
;
img
{
max-width
:
100%
;
height
:
auto
;
}
&
.left
{
margin-left
:
-2
.5rem
;
}
&
.right
{
margin-right
:
-2
.5rem
;
}
}
.beta-header
,
.beta-copy
,
...
...
static/images/beta/bg-pattern.png
0 → 100644
View file @
65562556
167 KB
static/images/beta/left-illustration.png
0 → 100644
View file @
65562556
64.7 KB
static/images/beta/right-illustration.png
0 → 100644
View file @
65562556
68.1 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment