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
4716cb3b
Commit
4716cb3b
authored
Dec 11, 2018
by
picklesrus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix all the things
parent
f3fb63b2
Changes
5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
425 additions
and
93 deletions
+425
-93
src/views/teachers/landing/landing.jsx
src/views/teachers/landing/landing.jsx
+5
-1
src/views/teachers/landing/landing.scss
src/views/teachers/landing/landing.scss
+2
-92
static/svgs/teachers/coding-cards-icon.svg
static/svgs/teachers/coding-cards-icon.svg
+150
-0
static/svgs/teachers/ideas-page-icon.svg
static/svgs/teachers/ideas-page-icon.svg
+39
-0
static/svgs/teachers/scratch-tutorials-icons.svg
static/svgs/teachers/scratch-tutorials-icons.svg
+229
-0
No files found.
src/views/teachers/landing/landing.jsx
View file @
4716cb3b
...
...
@@ -91,6 +91,8 @@ const Landing = () => (
</
p
>
</
div
>
</
FlexRow
>
</
section
>
<
section
>
<
span
className=
"nav-spacer"
/>
<
h2
><
FormattedMessage
id=
"teacherlanding.studentResources"
/></
h2
>
<
FlexRow
className=
"guides-and-tutorials"
>
...
...
@@ -171,6 +173,8 @@ const Landing = () => (
</
p
>
</
div
>
</
FlexRow
>
</
section
>
<
section
>
<
span
className=
"nav-spacer"
/>
<
h2
><
FormattedMessage
id=
"teacherlanding.moreGetStarted"
/></
h2
>
<
FlexRow
className=
"educator-community"
>
...
...
@@ -185,9 +189,9 @@ const Landing = () => (
</
p
>
</
div
>
</
FlexRow
>
<
span
className=
"nav-spacer"
/>
</
section
>
<
section
id=
"news"
>
<
span
className=
"nav-spacer"
/>
<
h2
><
FormattedMessage
id=
"teacherlanding.newsAndUpdates"
/></
h2
>
<
FlexRow
className=
"educator-community"
>
<
div
>
...
...
src/views/teachers/landing/landing.scss
View file @
4716cb3b
...
...
@@ -117,81 +117,17 @@ $story-width: $cols3;
}
section
{
margin-bottom
:
3rem
;
}
#in-practice
,
#resources
,
#news
,
#connect
{
.nav-spacer
{
display
:
block
;
visibility
:
hidden
;
margin-top
:
-50px
;
// height of nav bar
height
:
50px
;
}
h2
{
text-align
:
center
;
}
}
#in-practice
{
border-bottom
:
1px
solid
$ui-border
;
padding-bottom
:
2rem
;
.stories
{
margin
:
auto
;
align-items
:
center
;
justify-content
:
space-between
;
flex-direction
:
row
;
}
.story
{
margin
:
10px
auto
;
border
:
1px
solid
$ui-border
;
border-radius
:
10px
;
background-color
:
$ui-white
;
box-sizing
:
border-box
;
img
{
border-top-left-radius
:
9px
;
border-top-right-radius
:
9px
;
width
:
100%
;
}
.story-info
{
padding-top
:
10px
;
padding-left
:
10px
;
.name
{
margin
:
0
;
line-height
:
initial
;
color
:
$ui-blue
;
font-size
:
initial
;
font-weight
:
500
;
}
p
{
margin
:
10px
0
;
font-size
:
.75rem
;
}
}
}
}
#resources
{
margin-bottom
:
3rem
;
h2
{
padding-bottom
:
2rem
;
text-align
:
center
;
}
h3
{
font-weight
:
300
;
}
#guides-header
{
text-align
:
center
;
margin-bottom
:
.75rem
;
}
}
...
...
@@ -420,37 +356,11 @@ $story-width: $cols3;
}
}
#in-practice
{
h2
{
text-align
:
center
;
}
.intro
{
margin-bottom
:
1rem
;
text-align
:
center
;
}
.general-usage
{
margin-bottom
:
2rem
;
p
{
margin
:
.25em
0
;
max-width
:
$cols8
;
text-align
:
center
;
}
}
}
.educators
{
#resources
{
margin
:
0
auto
;
width
:
$cols6
;
h2
{
margin
:
0
auto
;
text-align
:
left
;
}
.educator-community
{
justify-content
:
center
;
}
...
...
static/svgs/teachers/coding-cards-icon.svg
0 → 100644
View file @
4716cb3b
This diff is collapsed.
Click to expand it.
static/svgs/teachers/ideas-page-icon.svg
0 → 100644
View file @
4716cb3b
This diff is collapsed.
Click to expand it.
static/svgs/teachers/scratch-tutorials-icons.svg
0 → 100644
View file @
4716cb3b
This diff is collapsed.
Click to expand it.
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