Skip to content

Commit

Permalink
Move 'news' section next to 'Kata' one to be better internal jump
Browse files Browse the repository at this point in the history
  • Loading branch information
yasulab committed Mar 22, 2024
1 parent 1b0cba3 commit 840baee
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions app/views/home/show.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -185,27 +185,13 @@
をお読みください。
%div.kata
= link_to lazy_image_tag('/kata_cover.webp', alt: 'Kata カバー画像', min: true, style: 'margin-bottom: 15px;'), '/kata'
.btn-cover{style: 'margin-top: 20px; margin-bottom: 100px;'}
.btn-cover{style: 'margin-top: 20px; margin-bottom: 0px;'}
%a.btn-blue{href: kata_path}<>
%i.far.fa-books
資料集「Kata」を読む
%section.detail-introduction.partners_logo.text-center#partners{style: "padding-top: 50px;"}
%h2{style: "color: dimgray;"}
%a{href: '#partners'} 🤝
パートナー法人
%p{style: "margin: 50px 0px 20px 0px;"}
様々な法人が CoderDojo の取り組みを支援しています。
= render partial: 'shared/partners'
.btn-cover{style: 'margin-top: 40px; margin-bottom: 100px;'}
%a.btn-blue{href: partnership_path}<>
%i.far.fa-handshake
法人向け資料を読む
/ Start with 'div' not 'section' due to grayscale-bg area
.text-center.grayscale-bg{style: "padding-top: 20px; padding-bottom: 50px;"}
.text-center.grayscale-bg{style: "padding-top: 40px; padding-bottom: 50px;"}
%section.detail-introduction#news
%br
%h2{style: "color: dimgray;"}
Expand All @@ -222,6 +208,20 @@
%a.btn-blue{href: dojoletter_url, target: '_blank', rel: 'noopener'}<>
%i.far.fa-newspaper
過去の配信を読む
%section.detail-introduction.partners_logo.text-center#partners{style: "padding-top: 50px;"}
%h2{style: "color: dimgray;"}
%a{href: '#partners'} 🤝
パートナー法人
%p{style: "margin: 50px 0px 20px 0px;"}
様々な法人が CoderDojo の取り組みを支援しています。
= render partial: 'shared/partners'
.btn-cover{style: 'margin-top: 40px; margin-bottom: 100px;'}
%a.btn-blue{href: partnership_path}<>
%i.far.fa-handshake
法人向け資料を読む
%section.detail-introduction#contact{style: "padding-top: 30px;"}
%br
Expand Down

0 comments on commit 840baee

Please sign in to comment.