Skip to content

Commit 5ac3eaa

Browse files
committed
fix conflict with master
2 parents a82e37e + c247ee7 commit 5ac3eaa

File tree

8 files changed

+56
-37
lines changed

8 files changed

+56
-37
lines changed

README.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,34 @@
11
# coderdojo.jp
2+
23
Official website of CoderDojo Japan integrated with Rails-based CMS (Scrivito)
4+
5+
- 本番環境: http://coderdojo.jp (using Parse.com that will be shutdown on 2017 January)
6+
- GitHub: https://github.com/coderdojo-japan/web
7+
- デモ環境: http://coderdojo-japan.herokuapp.com/
8+
- GitHub: https://github.com/yasslab/coderdojo.jp
9+
10+
## TODO
11+
12+
This README would normally document whatever steps are necessary to get the
13+
application up and running.
14+
15+
Things you may want to cover:
16+
17+
* Ruby version
18+
19+
* System dependencies
20+
21+
* Configuration
22+
23+
* Database creation
24+
25+
* Database initialization
26+
27+
* How to run the test suite
28+
29+
* Services (job queues, cache servers, search engines, etc.)
30+
31+
* Deployment instructions
32+
33+
* ...
34+

README.rdoc

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

app/assets/stylesheets/application.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,5 @@
1818
@import "bootstrap";
1919

2020
.cover-bg-blue{background-color:#2275CA;}
21-
.cover-text-white{color:#FFFFFF;}
21+
.cover-text-white{color:#FFFFFF;}
22+
.a {color:#FFFFF;}

app/models/footer_widget.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
class FooterWidget < Widget
2+
attribute :headline, :html
3+
attribute :paragraph, :html
4+
end
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
<%= scrivito_medium_dialog do %>
2+
<%= scrivito_details_for FooterWidget.description_for_editor do %>
3+
<% end %>
4+
<% end %>

app/views/footer_widget/show.html.erb

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<div class="col-12">
2+
<div class="col-3 cover-bg-blue">
3+
<%= scrivito_tag :h5, widget, :headline, class:'cover-text-white', style:'padding-top:20px;' %>
4+
<%= scrivito_tag :p, widget, :paragraph, class:'cover-text-white', style:'padding-bottom:60; padding-top:20px;' %>
5+
</div>
6+
</div>
7+
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<%= scrivito_thumbnail FooterWidget.description_for_editor %>
Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
1-
<div class="row">
2-
<div class="col-12">
3-
<div class="col-3 cover-bg-blue ">
4-
<%= scrivito_image_tag widget, :image, class:'image-responsive'%>
5-
<%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'cover-text-white' %>
6-
<%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:25px;'%>
7-
</div>
1+
<div class="col-12">
2+
<div class="col-3 cover-bg-blue ">
3+
<%= scrivito_image_tag widget, :image, class:'image-responsive'%>
4+
<%= scrivito_tag :h1, widget, :headline, data: {newlines: false}, class:'cover-text-white' %>
5+
<%= scrivito_tag :p, widget, :text, class:'cover-text-white', style:'padding-bottom:30px;'%>
86
</div>
9-
</div>
7+
</div>

0 commit comments

Comments
 (0)