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

Commit 10f427b

Browse files
author
Yuma Soga
committed
#35 Update header section
1 parent 5cbfabb commit 10f427b

File tree

2 files changed

+24
-7
lines changed

2 files changed

+24
-7
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11

22
// Styling for the masthead
33
header.masthead {
4+
color: snow;
45
padding-top: 10rem;
56
padding-bottom: calc(10rem - 56px);
6-
background-image: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .3)), image-url('coderdojo-konan-header-image-1.jpg');
7+
background-image: linear-gradient(rgba(0, 0, 0, .4), rgba(0, 0, 0, .4)), image-url('coderdojo-konan-header-image-1.jpg');
78
background-position: center center;
89
@include background-cover;
910
hr {
@@ -15,10 +16,12 @@ header.masthead {
1516
}
1617
p {
1718
font-weight: 300;
19+
color: #f5f5f5;
1820
}
1921
@media (min-width: 768px) {
2022
p {
21-
font-size: 1.15rem;
23+
font-size: 1.5rem;
24+
color: #f5f5f5;
2225
}
2326
}
2427
@media (min-width: 992px) {

app/views/staticpages/index.html.haml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,27 @@
1717
%header.masthead.text-center.text-white.d-flex
1818
.container.my-auto
1919
.row
20-
.col-lg-10.mx-auto
20+
.col-lg-12.mx-auto
21+
%h2.text-uppercase 子供のためのプログラミング道場
2122
%h1.text-uppercase
22-
%strong Your Favorite Source of Free Bootstrap Themes
23+
%strong> CoderDojo Konan Okayama
2324
%hr/
24-
.col-lg-8.mx-auto
25-
%p.text-faded.mb-5 Start Bootstrap can help you build better websites using the Bootstrap CSS framework! Just download your template and start going, no strings attached!
26-
%a.btn.btn-primary.btn-xl.js-scroll-trigger{:href => "#about"} Find Out More
25+
.col-lg-12.mx-auto
26+
%p.mb-5
27+
小中高生を対象とした "無料プログラミング道場"
28+
%br/
29+
アイデアを形にする楽しさを体感し、
30+
%br/
31+
プロのプログラマーからアドバイスや刺激を受け、
32+
%br/
33+
友達たちと交流して切磋琢磨し、
34+
%br/
35+
未来を創るクリエイターになれ!
36+
37+
- unless next_event_url.nil?
38+
= link_to "次回の開催をCheck!", next_event_url, class: 'btn btn-primary btn-xl js-scroll-trigger', target: "_new"
39+
- else
40+
= link_to "申し込みページは只今準備中です!", root_url, class: 'btn btn-disabled btn-primary btn-xl js-scroll-trigger'
2741
%section#about.bg-primary
2842
.container
2943
.row

0 commit comments

Comments
 (0)