Merge pull request #921 from mewtaylor/issue/gh-903-hoc

Implement GH-903: Update hoc page with new tutorials
This commit is contained in:
Matthew Taylor 2016-09-21 08:21:03 -04:00 committed by GitHub
commit 42b6e59443
23 changed files with 339 additions and 411 deletions

View file

@ -69,12 +69,6 @@
"general.studios": "Studios", "general.studios": "Studios",
"general.support": "Support", "general.support": "Support",
"general.tipsWindow": "Tips Window", "general.tipsWindow": "Tips Window",
"general.tipsAnimateYourNameTitle": "Animate Your Name",
"general.tipsBearstack": "Bearstack Story",
"general.tipsDanceTitle": "Dance, Dance, Dance",
"general.tipsGetStarted": "Getting Started",
"general.tipsHideAndSeekTitle": "Hide-and-Seek Game",
"general.tipsPongGame": "Create a Pong Game",
"general.termsOfUse": "Terms of Use", "general.termsOfUse": "Terms of Use",
"general.username": "Username", "general.username": "Username",
"general.validationEmail": "Please enter a valid email address", "general.validationEmail": "Please enter a valid email address",

View file

@ -30,55 +30,49 @@ var Hoc = React.createClass({
<div className="hoc"> <div className="hoc">
<TitleBanner className={this.state.bgClass}> <TitleBanner className={this.state.bgClass}>
<h1> <h1>
<FormattedMessage <FormattedMessage id='hoc.title' />
id='hoc.title'
defaultMessage={'Get Creative with Coding'} />
</h1> </h1>
<p> <p>
<FormattedMessage <FormattedMessage id='hoc.subTitle' />
id='hoc.subTitle'
defaultMessage={
'With Scratch, you can program your own stories, games, and animations — ' +
'and share them online.'
} />
</p> </p>
<section> <section className="hoc-section mod-title-banner">
<FlexRow> <FlexRow>
<div className="card"> <div className="flex-row-card">
<a href="/projects/editor/?tip_bar=name"> <a href="/projects/editor/?tip_bar=name">
<div className="card-info" onMouseEnter={this.onCardEnter.bind(this, 'name-bg')}> <div className="flex-row-card-info"
<img src="/images/hoc2015/name-tutorial.jpg" alt="" /> onMouseEnter={this.onCardEnter.bind(this, 'mod-name-bg')}>
<Button> <img className="flex-row-card-info-img"
<FormattedMessage src="/images/hoc/name-tutorial.jpg"
id='general.tipsAnimateYourNameTitle' alt="" />
defaultMessage={'Animate Your Name'} /> <Button className="flex-row-card-info-button">
<FormattedMessage id='hoc.tipsAnimateYourNameTitle' />
</Button> </Button>
</div> </div>
</a> </a>
</div> </div>
<div className="card" onMouseEnter={this.onCardEnter.bind(this, 'wbb-bg')}> <div className="flex-row-card" onMouseEnter={this.onCardEnter.bind(this, 'mod-wbb-bg')}>
<a href="/hide/"> <a href="/projects/editor/?tip_bar=fly">
<div className="card-info"> <div className="flex-row-card-info">
<img src="/images/hoc2015/hide-seek-tutorial.jpg" alt="" /> <img className="flex-row-card-info-img"
<Button> src="/images/hoc/make-it-fly-tutorial.png"
<FormattedMessage alt="" />
id='general.tipsHideAndSeekTitle' <Button className="flex-row-card-info-button">
defaultMessage={'Hide-and-Seek Game'} /> <FormattedMessage id='hoc.tipsMakeItFlyTitle' />
</Button> </Button>
</div> </div>
</a> </a>
</div> </div>
<div className="card" onMouseEnter={this.onCardEnter.bind(this, 'dance-bg')}> <div className="flex-row-card" onMouseEnter={this.onCardEnter.bind(this, 'mod-dance-bg')}>
<a href="/projects/editor/?tip_bar=dance"> <a href="/projects/editor/?tip_bar=music">
<div className="card-info"> <div className="flex-row-card-info">
<img src="/images/hoc2015/dance-tutorial.jpg" alt="" /> <img className="flex-row-card-info-img"
<Button> src="/images/hoc/make-music-tutorial.png"
<FormattedMessage alt="" />
id='general.tipsDanceTitle' <Button className="flex-row-card-info-button">
defaultMessage={'Dance, Dance, Dance'} /> <FormattedMessage id='hoc.tipsMakeMusicTitle' />
</Button> </Button>
</div> </div>
</a> </a>
@ -88,29 +82,21 @@ var Hoc = React.createClass({
<SubNavigation> <SubNavigation>
<li className="description"> <li className="description">
<FormattedMessage <FormattedMessage id='hoc.findOutMore' />:
id='hoc.findOutMore'
defaultMessage={'Find out more'} />:
</li> </li>
<a href="/about/"> <a href="/about/">
<li> <li>
<FormattedMessage <FormattedMessage id='general.about' />
id='footer.about'
defaultMessage={'About Scratch'} />
</li> </li>
</a> </a>
<a href="/parents/"> <a href="/parents/">
<li> <li>
<FormattedMessage <FormattedMessage id='general.forParents' />
id='general.forParents'
defaultMessage={'For Parents'} />
</li> </li>
</a> </a>
<a href="/educators/"> <a href="/educators/">
<li> <li>
<FormattedMessage <FormattedMessage id='general.forEducators'/>
id='general.forEducators'
defaultMessage={'For Educators'} />
</li> </li>
</a> </a>
</SubNavigation> </SubNavigation>
@ -120,163 +106,124 @@ var Hoc = React.createClass({
<div className="inner"> <div className="inner">
<Box title={''}> <Box title={''}>
<section id="teacher" className="one-up"> <section id="teacher" className="hoc-section">
<div className="column"> <div className="hoc-section-column">
<h3> <h3>
<FormattedMessage <FormattedMessage id='hoc.activityCardsHeader' />
id='hoc.activityCardsHeader'
defaultMessage={'Activity Cards and Guides'} />
</h3> </h3>
<p> <p className="section-paragraph">
<FormattedHTMLMessage <FormattedHTMLMessage id='hoc.activityCardsInfo1' />
id='hoc.activityCardsInfo1'
defaultMessage={
'Want tips and ideas for these Hour of Code&trade; activities? ' +
'Use the activity cards to get ideas for creating with ' +
'Scratch. Facilitator guides can help you plan ' +
'a group activity.'
} />
</p> </p>
</div> </div>
<div className="resource"> <div className="hoc-section-resource">
<img src="/svgs/tips-card.svg" alt="" /> <img className="hoc-section-resource-img"
<div className="resource-info"> src="/svgs/tips-card.svg"
<h5> alt="" />
<FormattedMessage <div className="hoc-section-resource-info">
id='general.tipsAnimateYourNameTitle' <h5 className="hoc-section-resource-info-header">
defaultMessage={'Animate Your Name'} /> <FormattedMessage id='hoc.tipsAnimateYourNameTitle' />
</h5> </h5>
<a href="/scratchr2/static/pdfs/help/AnimateYourNameCards.pdf"> <a className="hoc-section-resource-anchor"
<FormattedMessage href="/scratchr2/static/pdfs/help/AnimateYourNameCards.pdf">
id='hoc.activityCards' <FormattedMessage id='hoc.activityCards' />
defaultMessage={'Activity Cards'} />
</a> </a>
<a href="/scratchr2/static/pdfs/help/AnimateYourNameGuide.pdf"> <a className="hoc-section-resource-anchor"
<FormattedMessage href="/scratchr2/static/pdfs/help/AnimateYourNameGuide.pdf">
id='hoc.facilitatorGuide' <FormattedMessage id='hoc.facilitatorGuide' />
defaultMessage={'Facilitator Guide'} />
</a> </a>
</div> </div>
</div> </div>
<div className="hoc-section-resource">
<div className="resource"> <img className="hoc-section-resource-img"
<img src="/svgs/tips-card.svg" alt="" /> src="/svgs/tips-card.svg"
<div className="resource-info"> alt="" />
<h5> <div className="hoc-section-resource-info">
<FormattedMessage <h5 className="hoc-section-resource-info-header">
id='general.tipsHideAndSeekTitle' <FormattedMessage id='hoc.tipsMakeItFlyTitle' />
defaultMessage={'Hide-and-Seek Game'} />
</h5> </h5>
<a href="/scratchr2/static/pdfs/help/Hide-and-Seek-Cards.pdf"> <a className="hoc-section-resource-anchor"
<FormattedMessage href="/scratchr2/static/pdfs/help/FlyCards.pdf">
id='hoc.activityCards' <FormattedMessage id='hoc.activityCards' />
defaultMessage={'Activity Cards'} />
</a>
<a href="/scratchr2/static/pdfs/help/Hide-and-Seek-Guide.pdf">
<FormattedMessage
id='hoc.facilitatorGuide'
defaultMessage={'Facilitator Guide'} />
</a> </a>
</div> </div>
</div> </div>
<div className="hoc-section-resource">
<div className="resource"> <img className="hoc-section-resource-img"
<img src="/svgs/tips-card.svg" alt="" /> src="/svgs/tips-card.svg"
<div className="resource-info"> alt="" />
<h5> <div className="hoc-section-resource-info">
<FormattedMessage <h5 className="hoc-section-resource-info-header">
id='general.tipsDanceTitle' <FormattedMessage id='hoc.tipsMakeMusicTitle' />
defaultMessage={'Dance, Dance, Dance'} />
</h5> </h5>
<a href="/scratchr2/static/pdfs/help/DanceCards.pdf"> <a className="hoc-section-resource-anchor"
<FormattedMessage href="/scratchr2/static/pdfs/help/MusicCards.pdf">
id='hoc.activityCards' <FormattedMessage id='hoc.activityCards' />
defaultMessage={'Activity Cards'} />
</a>
<a href="/scratchr2/static/pdfs/help/DanceGuide.pdf">
<FormattedMessage
id='hoc.facilitatorGuide'
defaultMessage={'Facilitator Guide'} />
</a> </a>
</div> </div>
</div> </div>
</section> </section>
<section className="two-up"> <section className="hoc-section">
<div className="column"> <div className="hoc-section-column mod-split">
<h3> <h3>
<FormattedMessage <FormattedMessage id='hoc.helpScratch' />
id='hoc.helpScratch'
defaultMessage={'Help with Scratch'} />
</h3> </h3>
<p> <p className="hoc-section-paragraph">
<FormattedHTMLMessage <FormattedHTMLMessage id='hoc.helpScratchDescription' />
id='hoc.helpScratchDescription'
defaultMessage={
'You can find tutorials and helpful hints in the ' +
'<a href="/projects/editor/?tip_bar=home">Tips Window</a>. ' +
'For more resources, see <a href="/help/">Scratch Help</a>'
} />
</p> </p>
</div> </div>
<div className="column"> <div className="hoc-section-column mod-split">
<img src="/images/hoc2015/tips-test-animation.gif" alt="Tips Window Animation" /> <img className="hoc-section-column-img"
src="/images/hoc/tips-test-animation.gif"
alt="Tips Window Animation" />
</div> </div>
</section> </section>
<section className="one-up"> <section className="hoc-section">
<div className="column"> <div className="hoc-section-column">
<h3> <h3>
<FormattedMessage <FormattedMessage id='hoc.moreActivities' />
id='hoc.moreActivities'
defaultMessage={'Want More Activities?'} />
</h3> </h3>
<p> <p className="hoc-section-paragraph">
<FormattedHTMLMessage <FormattedHTMLMessage id='hoc.moreDescription' />
id='hoc.moreDescription'
defaultMessage={
'Check out these other tutorials. Or remix one of our ' +
'<a href="/starter_projects/">Starter Projects</a>'
} />
</p> </p>
</div> </div>
<FlexRow> <FlexRow>
<div className="card"> <div className="flex-row-card">
<a href="/projects/editor/?tip_bar=getStarted"> <a href="/projects/editor/?tip_bar=getStarted">
<div className="card-info"> <div className="flex-row-card-info">
<img src="/images/hoc2015/getting-started-tutorial.jpg" alt="" /> <img className="flex-row-card-info-img"
src="/images/hoc/getting-started-tutorial.jpg" alt="" />
<Button> <Button>
<FormattedMessage <FormattedMessage id='hoc.tipsGetStarted' />
id='general.tipsGetStarted'
defaultMessage={'Getting Started'} />
</Button> </Button>
</div> </div>
</a> </a>
</div> </div>
<div className="card"> <div className="flex-row-card">
<a href="/bearstack/"> <a href="/hide/">
<div className="card-info"> <div className="flex-row-card-info">
<img src="/images/hoc2015/bearstack-tutorial.jpg" alt="" /> <img className="flex-row-card-info-img"
src="/images/hoc/hide-seek-tutorial.jpg"
alt="" />
<Button> <Button>
<FormattedMessage <FormattedMessage id='hoc.tipsHideAndSeekTitle' />
id='general.tipsBearstack'
defaultMessage={'Bearstack Story'} />
</Button> </Button>
</div> </div>
</a> </a>
</div> </div>
<div className="card"> <div className="flex-row-card">
<a href="/hoops"> <a href="//projects/editor/?tip_bar=dance">
<div className="card-info"> <div className="flex-row-card-info">
<img src="/images/hoc2015/bball-tutorial.jpg" alt="" /> <img className="flex-row-card-info-img"
src="/images/hoc/dance-tutorial.jpg"
alt="" />
<Button> <Button>
<FormattedMessage <FormattedMessage id='hoc.tipsDanceTitle' />
id='general.tipsBBallHoops'
defaultMessage={'B-Ball Hoops'} />
</Button> </Button>
</div> </div>
</a> </a>
@ -284,47 +231,39 @@ var Hoc = React.createClass({
</FlexRow> </FlexRow>
</section> </section>
<section className="one-up"> <section className="hoc-section">
<div className="column"> <div className="hoc-section-column">
<h3> <h3>
<FormattedMessage <FormattedMessage id='hoc.addToStudios' />
id='hoc.addToStudios'
defaultMessage={'Add Your Projects to Studios'} />
</h3> </h3>
<p> <p className="hoc-section-paragraph">
<FormattedHTMLMessage <FormattedHTMLMessage id='hoc.addToStudiosDescription' />
id='hoc.addToStudiosDescription'
defaultMessage={
'These studios include projects created by young people ' +
'around the world. Take a look at the studios to get inspired - ' +
'or submit your own projects to the studios!'
} />
</p> </p>
</div> </div>
<FlexRow> <FlexRow>
<div className="studio"> <div className="hoc-section-studio">
<img src="/svgs/studio.svg" alt="" /> <img className="hoc-section-studio-img"
<div className="studio-info"> src="/svgs/studio.svg"
alt="" />
<div className="hoc-section-studio-info">
<a href="/studios/432299/"> <a href="/studios/432299/">
<h5> <h5 className="hoc-section-studio-info-header">
<FormattedMessage <FormattedMessage id='hoc.tipsAnimateYourNameTitle' />
id='general.tipsAnimateYourNameTitle'
defaultMessage={'Animate Your Name'} />
</h5> </h5>
</a> </a>
</div> </div>
</div> </div>
<div className="studio"> <div className="hoc-section-studio">
<img src="/svgs/studio.svg" alt="" /> <img className="hoc-section-studio-img"
<div className="studio-info"> src="/svgs/studio.svg"
alt="" />
<div className="hoc-section-studio-info">
<a href="/studios/1672166/"> <a href="/studios/1672166/">
<h5> <h5 className="hoc-section-studio-info-header">
<FormattedMessage <FormattedMessage id='hoc.studioWeBareBears' />
id='hoc.studioWeBareBears'
defaultMessage={'We Bare Bears Studio'} />
</h5> </h5>
</a> </a>
</div> </div>
@ -332,27 +271,27 @@ var Hoc = React.createClass({
</FlexRow> </FlexRow>
<FlexRow> <FlexRow>
<div className="studio"> <div className="hoc-section-studio">
<img src="/svgs/studio.svg" alt="" /> <img className="hoc-section-studio-img"
<div className="studio-info"> src="/svgs/studio.svg"
<a href="/studios/1065372/"> alt="" />
<h5> <div className="hoc-section-studio-info">
<FormattedMessage <a href="/studios/1999784/">
id='general.tipsDanceTitle' <h5 className="hoc-section-studio-info-header">
defaultMessage={'Dance, Dance, Dance'} /> <FormattedMessage id='hoc.tipsMakeMusicTitle' />
</h5> </h5>
</a> </a>
</div> </div>
</div> </div>
<div className="studio"> <div className="hoc-section-studio">
<img src="/svgs/studio.svg" alt="" /> <img className="hoc-section-studio-img"
<div className="studio-info"> src="/svgs/studio.svg"
alt="" />
<div className="hoc-section-studio-info">
<a href="/studios/1672164/"> <a href="/studios/1672164/">
<h5> <h5 className="hoc-section-studio-info-header">
<FormattedMessage <FormattedMessage id='hoc.studioAlice' />
id='hoc.studioAlice'
defaultMessage={'Alice in Wonderland Studio'} />
</h5> </h5>
</a> </a>
</div> </div>
@ -361,43 +300,48 @@ var Hoc = React.createClass({
</section> </section>
</Box> </Box>
<section className="one-up"> <section className="hoc-section">
<h3> <h3>
<FormattedMessage <FormattedMessage
id='general.collaborators' id='general.collaborators'
defaultMessage={'Collaborators'} /> defaultMessage={'Collaborators'} />
</h3> </h3>
<div className="logos"> <div className="hoc-section-logos">
<a href="http://scratched.gse.harvard.edu/"> <a href="http://scratched.gse.harvard.edu/">
<img src="/images/hoc2015/scratchEd-logo.png" alt="ScratchEd" /> <img className="hoc-section-logos-img"
src="/images/hoc/scratchEd-logo.png"
alt="ScratchEd" />
</a> </a>
<a href="https://code.org/"> <a href="https://code.org/">
<img src="/images/hoc2015/code-org-logo.png" alt="code.org" /> <img className="hoc-section-logos-img"
src="/images/hoc/code-org-logo.png"
alt="code.org" />
</a> </a>
<a href="http://www.cartoonnetwork.com/"> <a href="http://www.cartoonnetwork.com/">
<img src="/images/hoc2015/cn-logo.png" alt="Cartoon Network" /> <img className="hoc-section-logos-img"
src="/images/hoc/cn-logo.png"
alt="Cartoon Network" />
</a> </a>
<a href="http://www.madewithcode.com/"> <a href="http://www.madewithcode.com/">
<img src="/images/hoc2015/made-with-code-logo.png" alt="Made with Code" /> <img className="hoc-section-logos-img"
src="/images/hoc/made-with-code-logo.png"
alt="Made with Code" />
</a> </a>
<a href="http://www.paalive.org/"> <a href="http://www.paalive.org/">
<img src="/images/hoc2015/paa-logo.png" alt="Progressive Arts Alliance" /> <img className="hoc-section-logos-img"
src="/images/hoc/paa-logo.png"
alt="Progressive Arts Alliance" />
</a> </a>
<a href="http://www.catrobat.org/"> <a href="http://www.catrobat.org/">
<img src="/images/hoc2015/pocketcode-logo.png" alt="Pocket Code" /> <img className="hoc-section-logos-img"
src="/images/hoc/pocketcode-logo.png"
alt="Pocket Code" />
</a> </a>
</div> </div>
<div className="trademark"> <div className="hoc-section-trademark">
<p className="legal"> <p className="hoc-section-paragraph legal">
<FormattedHTMLMessage <FormattedHTMLMessage id='hoc.officialNotice' />
id='hoc.officialNotice'
defaultMessage={
'The "Hour of Code&trade;" is a nationwide initiative by ' +
'<a href="http://csedweek.org">Computer Science Education Week</a> ' +
'and <a href="http://code.org">Code.org</a> to introduce millions of ' +
'students to one hour of computer science and computer programming.'
} />
</p> </p>
</div> </div>
</section> </section>

View file

@ -7,224 +7,207 @@ $base-bg: $ui-white;
padding: 0; padding: 0;
} }
.hoc { .hoc-section {
.title-banner { display: flex;
&.wbb-bg { margin: 0 auto;
background-image: url("/images/hoc2015/hide-bg.jpg"); border-bottom: 1px solid $ui-border;
} padding: 50px 0;
width: 95%;
text-align: center;
&.dance-bg { justify-content: center;
background-image: url("/images/hoc2015/dance-bg.jpg"); flex-wrap: wrap;
} align-items: center;
}
&.name-bg { .hoc-section:last-child {
background-image: url("/images/hoc2015/name-bg.jpg"); border-bottom: 0;
} }
section { .hoc-section.mod-title-banner {
border: 0; border: 0;
padding: 10px 0; padding: 10px 0;
max-width: $desktop; max-width: $desktop;
}
.card-deck { .hoc-section-column {
padding: 0 20px; width: 100%;
} }
//6 columns .hoc-section-column.mod-split {
@media only screen and (min-width: $mobile) and (max-width: $tablet - 1) { min-width: 200px;
max-width: $mobile; max-width: 40%;
} text-align: left;
} }
}
.flex-row { .hoc-section-column-img {
.card { border-radius: 5px;
margin: 10px; width: 100%;
border-radius: 7px; }
background-color: $active-gray;
padding: 2px;
width: 30%; .hoc-section-paragraph {
min-width: 200px; margin: 10px auto 20px;
max-width: 230px; max-width: 600px;
}
.card-info { .title-banner.mod-wbb-bg {
border-radius: 5px; background-image: url("/images/hoc2015/hide-bg.jpg");
background-color: $base-bg; }
width: 100%;
height: 100%;
.title-banner.mod-dance-bg {
background-image: url("/images/hoc2015/dance-bg.jpg");
}
button, .title-banner.mod-name-bg {
img { background-image: url("/images/hoc2015/name-bg.jpg");
width: calc(100% - 20px); }
}
img { .flex-row-card {
margin: 10px 10px 5px 10px; margin: 10px;
border-radius: 5px; border-radius: 7px;
} background-color: $active-gray;
padding: 2px;
button { width: 30%;
margin: 0 10px 10px 10px; min-width: 200px;
} max-width: 230px;
} }
//8 columns .flex-row-card-info {
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) { border-radius: 5px;
margin: 2px; background-color: $base-bg;
min-width: 175px; width: 100%;
height: 100%;
}
button { .flex-row-card-info-img,
font-size: .7em; .button.flex-row-card-info-button {
} width: calc(100% - 20px);
} }
} .flex-row-card-info-img {
} margin: 10px 10px 5px 10px;
border-radius: 5px;
}
section { .button.flex-row-card-info-button {
display: flex; margin: 0 10px 10px 10px;
margin: 0 auto; }
border-bottom: 1px solid $ui-border;
padding: 50px 0;
width: 95%;
justify-content: center; .hoc-section-resource,
flex-wrap: wrap; .hoc-section-studio {
align-items: center; display: flex;
margin: 10px 0;
min-width: 200px;
p { text-align: left;
margin: 10px auto 20px; justify-content: center;
max-width: 600px; }
}
&:last-child { .hoc-section-resource-img,
border-bottom: 0; .hoc-section-studio-img {
} margin-right: 15px;
}
&.one-up { .hoc-section-resource {
text-align: center; width: 33%;
min-height: 4rem;
align-items: flex-start;
}
.column { .hoc-section-resource-anchor {
width: 100%; display: block;
} margin: 5px 0;
} font-size: .8em;
}
&.two-up { .hoc-section-resource-info-header {
.column { margin: 0;
min-width: 200px; line-height: inherit;
max-width: 40%; }
text-align: left;
img { .hoc-section-studio {
border-radius: 5px; width: 50%;
width: 100%; align-items: center;
} }
}
}
}
.resource, .hoc-section-studio-img {
.studio { float: left;
display: flex; }
margin: 10px 0;
min-width: 200px;
text-align: left; .hoc-section-studio-info-header {
justify-content: center; margin: 8px 0;
align-items: center; width: 200px;
color: $ui-blue;
font-weight: 500;
}
img { .hoc-section-studio-info-header:hover {
margin-right: 15px; color: darken($ui-blue, 15);
} }
a { .hoc-section-logos {
h5 { margin: 20px 0;
margin: 8px 0; width: 100%;
color: $ui-blue; }
font-weight: 500;
&:hover { .hoc-section-logos-img {
color: darken($ui-blue, 15); margin: 20px;
} max-width: 150px;
} max-height: 55px;
} vertical-align: middle;
}
//8 columns .hoc-section-trademark {
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) { margin-top: 20px;
display: block; }
width: 30%;
min-width: 180px;
text-align: center;
img { @media only screen and (max-width: $mobile - 1) {
margin: 0 auto; .hoc-section-studio {
} display: inline-block;
} }
} }
.resource { //6 columns
width: 33%; @media only screen and (min-width: $mobile) and (max-width: $tablet - 1) {
.hoc-section.mod-title-banner {
a { max-width: $mobile;
display: block; }
margin: 5px 0;
font-size: .8em; .hoc-section-studio {
} display: inline-block;
}
.resource-info { }
h5 {
margin: 0; //8 columns
line-height: inherit; @media only screen and (min-width: $tablet) and (max-width: $desktop - 1) {
} .flex-row-card {
} margin: 2px;
} min-width: 175px;
}
.studio {
width: 50%; .button.flex-row-card-info-button {
font-size: .7em;
h5 { }
width: 200px;
} .hoc-section-resource,
.hoc-section-studio {
img { display: block;
float: left; width: 30%;
} min-width: 180px;
text-align: center;
@media only screen and (max-width: $mobile - 1) { }
display: inline-block;
} .hoc-section-resource-img,
.hoc-section-studio-img {
@media only screen and (min-width: $mobile) and (max-width: $tablet - 1) { margin: 0 auto;
display: inline-block; }
}
.hoc-section-studio-img {
//8 columns float: none;
@media only screen and (min-width: $tablet) and (max-width: $desktop - 1) { }
h5 {
width: 100%; .hoc-section-studio-info-header {
} width: 100%;
img {
float: none;
}
}
}
.logos {
margin: 20px 0;
width: 100%;
img {
margin: 20px;
max-width: 150px;
max-height: 55px;
vertical-align: middle;
}
}
.trademark {
margin-top: 20px;
} }
} }

View file

@ -15,5 +15,12 @@
"hoc.studioWeBareBears": "We Bare Bears Studio", "hoc.studioWeBareBears": "We Bare Bears Studio",
"hoc.subTitle": "With Scratch, you can program your own stories, games, and animations — and share them online.", "hoc.subTitle": "With Scratch, you can program your own stories, games, and animations — and share them online.",
"hoc.tipsDescription": "Need help getting started? Looking for ideas?&nbsp; You can find tutorials and helpful hints in the <a href=\"/projects/editor/?tip_bar=home\">Tips Window</a>", "hoc.tipsDescription": "Need help getting started? Looking for ideas?&nbsp; You can find tutorials and helpful hints in the <a href=\"/projects/editor/?tip_bar=home\">Tips Window</a>",
"hoc.title": "Get Creative with Coding" "hoc.title": "Get Creative with Coding",
"hoc.tipsAnimateYourNameTitle": "Animate Your Name",
"hoc.tipsDanceTitle": "Dance, Dance, Dance",
"hoc.tipsGetStarted": "Getting Started",
"hoc.tipsHideAndSeekTitle": "Hide-and-Seek Game",
"hoc.tipsMakeMusicTitle": "Make Music",
"hoc.tipsMakeItFlyTitle": "Make it Fly",
"hoc.tipsPongGame": "Create a Pong Game"
} }

View file

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

View file

Before

Width:  |  Height:  |  Size: 4.8 KiB

After

Width:  |  Height:  |  Size: 4.8 KiB

View file

Before

Width:  |  Height:  |  Size: 36 KiB

After

Width:  |  Height:  |  Size: 36 KiB

View file

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

View file

Before

Width:  |  Height:  |  Size: 23 KiB

After

Width:  |  Height:  |  Size: 23 KiB

View file

Before

Width:  |  Height:  |  Size: 193 KiB

After

Width:  |  Height:  |  Size: 193 KiB

View file

Before

Width:  |  Height:  |  Size: 41 KiB

After

Width:  |  Height:  |  Size: 41 KiB

View file

Before

Width:  |  Height:  |  Size: 4.3 KiB

After

Width:  |  Height:  |  Size: 4.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 118 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 KiB

View file

Before

Width:  |  Height:  |  Size: 94 KiB

After

Width:  |  Height:  |  Size: 94 KiB

View file

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View file

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View file

Before

Width:  |  Height:  |  Size: 9.4 KiB

After

Width:  |  Height:  |  Size: 9.4 KiB

View file

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View file

Before

Width:  |  Height:  |  Size: 2.7 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

View file

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 26 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB