Skip to content

Commit 21dbe7b

Browse files
committed
refactor: エラーページのshow.htmlを新規作成しfooter_links_and_timelineパーシャルをインライン化
1 parent 0103961 commit 21dbe7b

File tree

1 file changed

+49
-0
lines changed

1 file changed

+49
-0
lines changed

app/views/errors/show.html.erb

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<% provide(:title, @title) %>
2+
<% provide(:desc, @desc) %>
3+
4+
<div id="top" class="title text-center">
5+
<i class="cd cd-logo"></i>
6+
<h1>CoderDojo Japan</h1>
7+
<p>子どものためのプログラミング道場</p>
8+
<br>
9+
</div>
10+
11+
<section class="introduction text-center list">
12+
<h2><%= @title %></h2>
13+
<p>
14+
<%= @desc %>
15+
<br>
16+
</p>
17+
<p>
18+
フィードバックなどあれば [email protected] にメールしていただくか、
19+
<br>
20+
もしくは
21+
<a href="https://github.com/coderdojo-japan/coderdojo.jp/issues/" target="_blank" rel="noopener">
22+
GitHub Issue
23+
</a>
24+
に書いていただけると嬉しいです (>人< )✨
25+
</p>
26+
</section>
27+
28+
<section id="timeline" class="text-center grayscale-bg" style="padding-bottom: 100px;">
29+
<br>
30+
<h3 class="text-center">
31+
<a href="https://twitter.com/search?vertical=default&q=dojocon%20OR%20coderdojo%20OR%20%E3%82%B3%E3%83%BC%E3%83%80%E3%83%BC%E9%81%93%E5%A0%B4%20lang%3Aja"
32+
target="_blank" rel="noopener">
33+
🐣 最近の情報発信
34+
</a>
35+
</h3>
36+
<br>
37+
<div class="twitter-timeline-wrapper">
38+
<a class="twitter-timeline"
39+
href="https://twitter.com/CoderDojoJapan?ref_src=twsrc%5Etfw"
40+
data-lang="ja"
41+
data-chrome="noheader nofooter noborders"
42+
data-dnt="true"
43+
data-width="500"
44+
data-tweet-limit="5">
45+
@CoderDojoJapan アカウントのタイムライン
46+
</a>
47+
</div>
48+
<script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script>
49+
</section>

0 commit comments

Comments
 (0)