New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Recruitment: restart banners #34762
Recruitment: restart banners #34762
Conversation
The call to action everywhere is "Join us", except on /yourschool where it's "Apply Now" - double checking that's intentional? |
I have nit picky wonders about the signed out homepage buttons and text update because it's kind of unclear what I should be checking out. The text says "Check out our other home learning resources" but the "Check it out" button refers to Code Break. Maybe "Take a Break" instead of "Check it out"? 🤷 |
- elsif entry[:type] == "code_break_video" | ||
%div | ||
%a{onclick: "return showVideo_mainvideo();", style: "cursor: pointer"} | ||
%img{src: "images/homepage/watch_video_drawn_button.png", style: "width: 250px; margin-top: 10px; "} | ||
%img{src: "images/homepage/watch_video_drawn_button.png", style: "width: 250px; margin-top: 10px"} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
keeping this around in case we need it again even though it's not currently in use?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For now, yes. Also I forgot :)
Looks like test failures are legit, but should be straightforward to resolve. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A couple questions, but code changes look good to me! Approved pending test updates.
Handful of comments:
|
@@ -179,7 +179,7 @@ class ProfessionalLearningApplyBanner extends React.Component { | |||
> | |||
<div> | |||
<button type="button" style={this.styles.button}> | |||
Apply Now | |||
Join us |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be translated?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Professional Learning is only done in en...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
oh, looking at the code it looked like we were displaying these to everyone, regardless of language
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's true we don't do a language check, but ProfessionalLearningApplyBanner
is used by YourSchool
which, while partially translated (to my surprise), is only intended for US schools.
@@ -134,7 +142,7 @@ | |||
.right.col-50.mobile-center{style: "margin-top: 14px; padding-left: 5px; padding-right: 5px; text-align: center"} | |||
%div | |||
%img{src: "images/homepage/codebreak_logo_hand.png", style: "width: 400px; max-width: 100%"} | |||
%h3{style: "font-weight: 800; color:#191919; font-size: 16px;"}Take a Code Break! Your weekly dose of inspiration, community, and computer science. | |||
%h3{style: "font-weight: 800; color:#191919; font-size: 16px;"}Take a Code Break! Your weekly dose of inspiration, community, and computer science. And check out our other home learning resources! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
also this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Code Break content is also only done in en...
Followup to #34762. Don't show the recruitment banner on non-en teacher homepage.
Homepage for Code Break
Homepage not for Code Break
https://studio.code.org/courses?view=teacher
https://studio.code.org/home for signed-in teacher
https://studio.code.org/courses
https://code.org/yourschool