Skip to content

Commit

Permalink
Add skinny banner and logo section to /districts page (#58530)
Browse files Browse the repository at this point in the history
* add skinny banner and logos

* pr feedback
  • Loading branch information
TurnerRiley committed May 10, 2024
1 parent 73f82a1 commit b48dac2
Show file tree
Hide file tree
Showing 7 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pegasus/sites.v3/code.org/public/districts.haml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ theme: responsive_full_width
-# Button urls
- url_learn_more = "#email-signup-form"
- url_enroll_now = "https://share.hsforms.com/1_4JKSt-hS1OCz86gmiczdgqs0ef"
- district_partners_url = "https://code.org/educate/district/partners"

-# FontAwesome icons
- icon_laptop_file = "fa-solid fa-laptop-file"
Expand All @@ -24,6 +25,8 @@ theme: responsive_full_width
- icon_smile = "fa-solid fa-smile"
- icon_money_check_dollar_pen = "fa-solid fa-money-check-dollar-pen"

= view :top_skinny_banner, banner_id: "banner-districts", banner_url: nil, banner_icon: "fa-solid fa-megaphone", banner_text: hoc_s("districts_skinny_banner_title", markdown: :inline, locals: {district_partners_url: district_partners_url}), external_link: false, light_theme: true

%section.hero-banner-basic.bg-neutral-dark{style: "display: block !important"}
.wrapper
.text-wrapper
Expand Down Expand Up @@ -111,6 +114,20 @@ theme: responsive_full_width
%a.link-button{href: url_learn_more} Learn more
%a.link-button.secondary{href: url_enroll_now, target: "_blank", rel: "noopener noreferrer"} Enroll now

%section.bg-neutral-light
%h2.centered
Meet the Districts in our District Program
%p.centered
Over 100 school districts have already joined!
.logos-wrapper
%img{src: "/images/marketing/fill-110x60/detroit_public_schools_logo.png", alt: "Detroit Public Schools logo", style: "max-width: 110px"}
%img{src: "/images/marketing/fill-110x60/hartford_public_schools_logo.png", alt: "Hartford Public Schools logo", style: "max-width: 110px"}
%img{src: "/images/marketing/fill-86x60/miami_dade_county_public_schools_logo.png", alt: "Miami Dade County Public Schools logo", style: "max-width: 86px"}
%img{src: "/images/marketing/fill-180x60/lausd_unified_logo.png", alt: "LAUSD Unified logo", style: "max-width: 180px"}
%img{src: "/images/marketing/fill-111x60/clark_county_school_district_logo.png", alt: "Clark County School District logo", style: "max-width: 111px"}
%div.centered
%a.link-button.secondary{href: district_partners_url, target: "_blank", rel: "noopener noreferrer"} See full district partner list
%section.bg-primary-light.centered
.wrapper
%p.no-margin-bottom Want to see how your district stacks up for computer science offerings? Check out the <a href="/yourschool" target="_blank" rel="noopener noreferrer">CS Access Report</a>!
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions pegasus/sites.v3/hourofcode.com/i18n/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10838,6 +10838,8 @@
about_page_donors_link_1: "Make a donations"
about_page_donors_link_2: "[see our list of donors](%{donors_url})"

districts_skinny_banner_title: "Over 100+ Districts have joined our District Program! [See district partners](%{district_partners_url})"

teach_ai_title: "Real-world Examples. Practical Resources."
teach_ai_description: "The AI Guidance for Schools Toolkit is a resource for policymakers, school leaders, and staff to develop initial guidance on AI in their schools."
teach_ai_button_label: "View the Toolkit"
Expand Down

0 comments on commit b48dac2

Please sign in to comment.