Skip to content

Commit 26d9e32

Browse files
committed
Replace image_tag with lazy's one in /sotechsha[2]
1 parent 93e9e26 commit 26d9e32

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

app/views/login_page/index.html.haml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44

55
%body
66
%section
7-
= image_tag "/cover.png", alt: 'CoderDojo Japan カバー画像', class: 'lazyload', loading: 'lazy', "data-src" => "/cover.png", style: 'border-radius: 0; '
8-
7+
= lazy_image_tag "/cover.png", alt: 'CoderDojo Japan カバー画像', style: 'border-radius: 0;'
98

109
%h1.text-center.intro-header{style: "margin-top: 40px; padding-bottom: 20px;"} ログイン
1110
%div{style: 'margin: 0 60px 100px'}

app/views/sotechsha_overview2_page/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.container-fluid
22
#top.col-md-6
3-
= image_tag "sotechsha-2_book-cover.png", class: "img-responsive center-block", alt: "Scratchでつくる! たのしむ! プログラミング道場", style: "width: 90%"
3+
= lazy_image_tag 'sotechsha-2_book-cover.png', class: "img-responsive center-block", alt: "Scratchでつくる! たのしむ! プログラミング道場", style: "width: 90%"
44
%div{:style => "text-align: center; font-size: 19.2px;"}
55
= scrivito_tag :div, @obj, :body, class: "img-responsive center-block"
66
.col-md-6

app/views/sotechsha_overview_page/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.container-fluid
22
#top.col-md-6
3-
= image_tag "sotechsha-1_book-cover.png", class: "img-responsive center-block", alt: "Scratchでつくる! たのしむ! プログラミング道場", style: "width: 90%"
3+
= lazy_image_tag 'sotechsha-1_book-cover.png', class: "img-responsive center-block", alt: "Scratchでつくる! たのしむ! プログラミング道場", style: "width: 90%"
44
%div{:style => "text-align: center; font-size: 19.2px;"}
55
= scrivito_tag :div, @obj, :body, class: "img-responsive center-block"
66
.col-md-6

0 commit comments

Comments
 (0)