Skip to content

Commit 0320715

Browse files
committed
Use h2 instead of h3: 統計情報ページのHTML構造を見直した
1 parent 38dc914 commit 0320715

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

app/views/stats/show.html.haml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
%br.ignore-sp<>
1616
全国の活動状況を把握したい場面などでご活用ください。
1717

18-
%h3#graph 📊 推移グラフ
18+
%h2#graph{style: "margin-top: 70px; color: #333333;"} 📊 推移グラフ
1919
%div{align: 'center'}
2020
= high_chart_globals(@high_charts_globals)
2121

@@ -31,7 +31,7 @@
3131
%p{style: 'margin: 40px auto;'}
3232
= high_chart("annual_participants", @annual_participants_chart)
3333

34-
%h3#data{style: "margin-bottom: 30px;"} 🆕 最新データ
34+
%h2#data{style: "margin-top: 70px; color: #333333;"} 🆕 最新データ
3535
%p
3636
#{Time.current.year}年のデータも含めた
3737
%br<>
@@ -51,7 +51,7 @@
5151
%br
5252
= high_chart("dojo_tag_chart", @dojo_tag_chart)
5353
54-
%h3#howto{style: "margin-bottom: 30px;"} ✅ 集計方法と集計対象について
54+
%h2#howto{style: "margin-top: 70px; color: #333333;"} ✅ 集計方法と集計対象について
5555
%ul{style: 'list-style: none; margin-left: -10px;'}
5656
%li 参加者数はユニーク数ではなく延べ数です。
5757
%li 集計対象は API などで集計可能な道場です。
@@ -82,15 +82,15 @@
8282
%small= num
8383

8484

85-
%h3#map 🗾 地域別の道場数
85+
%h2#map{style: "margin-top: 70px; color: #333333;"} 🗾 地域別の道場数
8686
.japan-map
8787
/%p#japan-map-text{style: "margin: 20px auto; font-size: 140%;"} 名前: 道場数
8888
#japan-map-container
8989

9090
/ NOTE: Always show dojos with accordion style to compact
9191
= render partial: 'shared/dojos_stats', locals: { regions_and_dojos: @regions_and_dojos }
9292

93-
%h4#prefectures 都道府県別の道場数
93+
%h2#prefectures{style: "margin-top: 70px; color: #333333;"} 🗾 都道府県別の道場数
9494
%div{style: "margin-top: 20px;", align: 'center' }
9595
%table{border: '1'}
9696
%tr
@@ -111,7 +111,7 @@
111111
%td{style: 'padding: 0px;'}
112112
%small= count
113113
114-
%h3#references 📚 関連リンク
114+
%h2#references{style: "margin-top: 70px; color: #333333;"} 📚 関連リンク
115115
%ul
116116
%li
117117
%a{href: "https://github.com/coderdojo-japan/coderdojo.jp/issues?utf8=%E2%9C%93&q=is%3Aclose+label%3A%E7%B5%B1%E8%A8%88%E6%83%85%E5%A0%B1+"} 統計情報に関する『これまで』の開発 - GitHub

0 commit comments

Comments
 (0)