Skip to content
This repository was archived by the owner on Mar 19, 2020. It is now read-only.

Commit fcbd42a

Browse files
author
Yuma Soga
committed
#35 Add learn-with-each-other section and Update next-event-button
1 parent 457c2c7 commit fcbd42a

File tree

5 files changed

+45
-14
lines changed

5 files changed

+45
-14
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
#thinking-together.bg-dark{
2+
background-color: $gray-100 !important;
3+
}
4+
#language.bg-dark{
5+
background-color: $gray-100 !important;
6+
}

app/assets/stylesheets/bootstrap-creative/_thinking-together.scss

Lines changed: 0 additions & 3 deletions
This file was deleted.

app/assets/stylesheets/bootstrap-creative/_variables.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ $black: #000 !default;
1414

1515
$p_color: #f0f8ff !default;
1616

17-
$primary: #4169e1 !default;
17+
$primary: #ffa500 !default;
1818

1919
// $primary: #F05F40 !default;

app/assets/stylesheets/bootstrap-creative/creative.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@
88
@import "portfolio";
99
@import "animation";
1010
@import "about";
11-
@import "thinking-together";
11+
@import "other-sections";

app/views/staticpages/index.html.haml

Lines changed: 37 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@
22
.container.my-auto
33
.row
44
.col-lg-10.mx-auto
5-
%h2.text-uppercase 子供のためのプログラミング道場
6-
%h1.text-uppercase
5+
%h2 子供のためのプログラミング道場
6+
%h1
77
%strong> CoderDojo Konan Okayama
8-
%hr/
8+
%hr.light.my-4/
99
.col-lg-10.mx-auto
1010
%p.mb-2
1111
%strong>"CoderDojo"
@@ -35,14 +35,14 @@
3535
になれ!
3636

3737
- unless next_event_url.nil?
38-
= link_to "次回の開催をCheck!", next_event_url, class: 'btn btn-primary btn-xl js-scroll-trigger', target: "_new"
38+
= link_to "次回の開催をCheck!", next_event_url, class: 'btn btn-primary btn-xl js-scroll-trigger text-white', target: "_new"
3939
- else
40-
= link_to "申し込みページは只今準備中です!", root_url, class: 'btn btn-disabled btn-primary btn-xl js-scroll-trigger'
41-
%section#about.bg-primary
40+
= link_to "申し込みページは只今準備中です!", "#{root_url}#page-top", class: 'btn btn-disabled btn-xl border border-primary js-scroll-trigger text-white'
41+
%section#about.bg-primary.p-5
4242
.container
4343
.row
4444
.col-lg-8.mx-auto.text-center
45-
%h2.section-heading.text-white What's CoderDojo? - CoderDojo とは
45+
%h2.section-heading.text-white What's the CoderDojo? - CoderDojo とは
4646
%hr.light.my-4/
4747
%p.mb-4.text-white
4848
CoderDojo は7〜17歳の子どもを対象にした無料で参加できるプログラミング道場(サークル)です。
@@ -59,7 +59,7 @@
5959
- unless next_event_url.nil?
6060
= link_to "次回の開催をCheck!", next_event_url, class: 'btn btn-light btn-xl js-scroll-trigger', target: "_new"
6161
- else
62-
= link_to "申し込みページは只今準備中です!", root_url, class: 'btn btn-disabled btn-primary btn-xl js-scroll-trigger'
62+
= link_to "申し込みページは只今準備中です!", "#{root_url}#page-top", class: 'btn btn-disabled border border-white btn-xl js-scroll-trigger text-white'
6363
%section#thinking-together.bg-dark.p-3
6464
.container
6565
.row
@@ -85,7 +85,35 @@
8585
などに掲載されているテキストをやったりもしています。
8686
%br/
8787
とても自由な雰囲気で、そして楽しみながらやることに重点を置いているのです。
88-
%section#language
88+
%section#learn-with-each-other.bg-white.p-3
89+
.container
90+
.row
91+
.col-lg-8.mx-auto.p-3.my-3
92+
%img.img-fluid{:alt => "開催風景 2", :src => "#{asset_path "index/introduction-image/dojo-image-01.jpg"}"}/
93+
.col-lg-8.mx-auto.my-3.text-center
94+
%h2.section-heading
95+
Learn with each other and co-polish
96+
%br - 共に学び、共に磨く
97+
%hr.my-4/
98+
%p.mb-4
99+
それぞれが違うことをやっているからと言って、
100+
%br/
101+
全くもって交流しないというわけではありません。
102+
%p.mb-4
103+
自分も、他人も、それぞれがお互いにきちんと尊重し、
104+
%br/
105+
同じことをやっているNinja同士、互いにそのやり方を教えあったり、
106+
%br/
107+
また別のことをやっていたとしても、そのNinjaに関心を持ち、
108+
%br/
109+
積極的に交流ができ、どんどん知見や関係を深め、広めることができる。
110+
%p.mb-4
111+
CoderDojo 岡山 岡南 運営一同 は、そういう場でありたいと願っております。
112+
%p.mb-4
113+
中には全くもって初対面だったのに、Dojoを通し、仲良くなったNinja達も居ます。
114+
%br/
115+
彼らは互いに切磋琢磨し、めきめきと上達してきているのです。
116+
%section#language.bg-dark
89117
.container
90118
.row
91119
.col-lg-12.text-center

0 commit comments

Comments
 (0)