Skip to content

Commit 98bc047

Browse files
committed
Merge pull request code-dot-org#5446 from code-dot-org/hocimagesizes
A few more sane image sizes for some Pegasus hoc UI.
2 parents b08e3d7 + 092bf5c commit 98bc047

File tree

4 files changed

+3
-3
lines changed

4 files changed

+3
-3
lines changed

pegasus/sites.v3/code.org/public/mc.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ social:
2828
- if page_mode == 'minecraft'
2929
.mc-container
3030
.img-container
31-
%img.mc-img{src:"/images/mc/MC_Wide_Big_2_V4.jpg"}
31+
%img.mc-img{src:"/images/fit-1940/mc/MC_Wide_Big_2_V4.jpg"}
3232
3333
3434
.mc-tutorial{style: "left: 470px;"}

pegasus/sites.v3/code.org/public/starwars.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ social:
2525

2626
%div.starwars-container
2727
%div.img-container
28-
%img.starwars-img{src:"/images/sw_landingpage.jpg"}
28+
%img.starwars-img{src:"/images/fit-1940/sw_landingpage.jpg"}
2929
%h1.starwars-heading= I18n.t(:starwars_subtitle)
3030
3131
.col-25.starwars-tutorial{style: "right: 20px;"}

pegasus/sites.v3/code.org/views/homepage_hero.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
- heroes = DB[:cdo_homepage].where(id_s: "hero_#{page_mode}", type_s: "widehero", active_s: ["show","hide"], site_s: [request.site,"both"], language_supported_s: ["all", languageFilter]).all
77

88
- if page_mode == "minecraft"
9-
- heroes = [{:id=>2, :id_s=>"hero_minecraft", :type_s=>"widehero", :param1_s=>"15% 50%", :param2_s=>"celeba", :param3_s=>"bottom", :image_t=>"/images/mc/MC_Panorama_V2.jpg", :site_s=>"both", :active_s=>"show", :language_supported_s=>"all"}]
9+
- heroes = [{:id=>2, :id_s=>"hero_minecraft", :type_s=>"widehero", :param1_s=>"15% 50%", :param2_s=>"celeba", :param3_s=>"bottom", :image_t=>"/images/homepage/minecraft.jpg", :site_s=>"both", :active_s=>"show", :language_supported_s=>"all"}]
1010

1111

1212
- if rack_env != :production && request.params["preview"]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy