added communitypage; dockerfile; upgraded jekyll

This commit is contained in:
Leo Maroni 2018-05-08 18:35:40 +02:00
parent 705f924fa6
commit 0aaa83a2f8
5 changed files with 121 additions and 23 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM nginx:1
MAINTAINER Freifunk Rhein-Sieg e.V. <technik@freifunk-rhein-sieg.net>
EXPOSE 80
RUN mkdir -p /project/
WORKDIR /project
RUN apt-get update -y && apt-get install -y git ruby ruby-dev rubygems build-essential
RUN gem install bundle
CMD git init && git remote add origin https://labcode-de@bitbucket.org/labcode-de/ffrsk.git && git fetch && git pull origin v2 && bundle install && bundle exec jekyll build && rm -rf /usr/share/nginx/html/* && cp -r _site/* /usr/share/nginx/html && echo "ready" && nginx -g "daemon off;"

View File

@ -8,7 +8,7 @@ source "https://rubygems.org"
#
# This will help ensure the proper Jekyll version is running.
# Happy Jekylling!
gem "jekyll", "~> 3.8.0"
gem "jekyll", "~> 3.8.1"
# If you want to use GitHub Pages, remove the "gem "jekyll"" above and

View File

@ -8,13 +8,13 @@ GEM
em-websocket (0.5.1)
eventmachine (>= 0.12.9)
http_parser.rb (~> 0.6.0)
eventmachine (1.2.5)
eventmachine (1.2.6)
ffi (1.9.23)
forwardable-extended (2.6.0)
http_parser.rb (0.6.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
jekyll (3.8.0)
jekyll (3.8.1)
addressable (~> 2.4)
colorator (~> 1.0)
em-websocket (~> 0.5)
@ -59,7 +59,7 @@ PLATFORMS
ruby
DEPENDENCIES
jekyll (~> 3.8.0)
jekyll (~> 3.8.1)
jekyll-feed (~> 0.6)
tzinfo-data

View File

@ -7,14 +7,14 @@ main {
h3 {
@extend .light-text
}
.linear-gradient-card-wrapper > .col {
.communitycard-wrapper > .col {
@media only screen and (max-width: 991px) {
float: none;
margin: 0 auto;
}
.linear-gradient-card {
background-color: $black;
color: $white;
.communitycard {
background-color: $ff_yellow;
color: $black;
width: 100%;
border-radius: 10px;
padding: 25px;
@ -22,21 +22,6 @@ main {
margin-bottom: 15px;
-webkit-box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);
box-shadow: 0 4px 5px 0 rgba(0,0,0,0.14), 0 1px 10px 0 rgba(0,0,0,0.12), 0 2px 4px -1px rgba(0,0,0,0.3);
&.blue-gradient {
@include background-linear-gradient(40deg, #2196f3, #01579b)
}
&.pink-gradient {
@include background-linear-gradient(40deg, #ec407a, #880e4f)
}
&.orange-gradient {
@include background-linear-gradient(40deg, #ff9800, #bf360c)
}
&.green-gradient {
@include background-linear-gradient(40deg, #7cb342, #1b5e20)
}
&.purple-gradient {
@include background-linear-gradient(40deg, #311b92, #673ab7)
}
.title {
font-size: 1.75rem;
display: block;
@ -52,10 +37,14 @@ main {
margin: 5px;
-webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.3);
box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.3);
&:hover {
-webkit-box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.3);
box-shadow: 0 6px 10px 0 rgba(0,0,0,0.14), 0 1px 18px 0 rgba(0,0,0,0.12), 0 3px 5px -1px rgba(0,0,0,0.3);
}
i {
color: $black;
}
}
}
}

100
communities.html Normal file
View File

@ -0,0 +1,100 @@
---
layout: page
---
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/solid.css" integrity="sha384-VxweGom9fDoUf7YfLTHgO0r70LVNHP5+Oi8dcR4hbEjS8UnpRtrwTx7LpHq/MWLI" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/brands.css" integrity="sha384-Pln/erVatVEIIVh7sfyudOXs5oajCSHg7l5e2Me02e3TklmDuKEhQ8resTIwyI+w" crossorigin="anonymous">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.12/css/fontawesome.css" integrity="sha384-rnr8fdrJ6oj4zli02To2U/e6t1qG8dvJ8yNZZPsKHcU7wFK3MGilejY5R/cUc5kf" crossorigin="anonymous">
<div class="container" id="section-wrapper">
<section id="communities">
<div class="center">
<h2>Unterstützte Communities oder Communities unserer Mitglieder</h2>
</div>
<div class="row communitycard-wrapper">
<div class="col s12 m10 l4">
<div class="communitycard">
<span class="title">
Freifunk Siegburg
</span>
<span class="description">
Die nichtkommerzielle Initiative für den Aufbau freier WLAN-Netzwerke in Siegburg
</span>
<div class="links">
<a class="btn-floating btn-large" target="_blank" href="http://www.freifunk-siegburg.de"><i class="fas fa-globe"></i></a>
<a class="btn-floating btn-large" target="_blank" href="https://de-de.facebook.com/freifunksiegburg"><i class="fab fa-facebook-f"></i></a>
<a class="btn-floating btn-large" target="_blank" href="https://twitter.com/ff_siegburg"><i class="fab fa-twitter"></i></a>
<a class="btn-floating btn-large" target="_blank" href="{{ 'kontakt/?rcp=cmy_su' | relative_url }}"><i class="fas fa-envelope"></i></a>
</div>
</div>
</div>
<div class="col s12 m10 l4">
<div class="communitycard">
<span class="title">
Freifunk Troisdorf
</span>
<span class="description">
Die nichtkommerzielle Initiative für den Aufbau freier WLAN-Netzwerke in Troisdorf
</span>
<div class="links">
<a class="btn-floating btn-large" target="_blank" href="https://freifunk-troisdorf.de"><i class="fas fa-globe"></i></a>
<a class="btn-floating btn-large" target="_blank" href="https://www.facebook.com/freifunktdf"><i class="fab fa-facebook-f"></i></a>
<a class="btn-floating btn-large" target="_blank" href="{{ 'kontakt/?rcp=cmy_tdf' | relative_url }}"><i class="fas fa-envelope"></i></a>
</div>
</div>
</div>
<div class="col s12 m10 l4">
<div class="communitycard">
<span class="title">
Freifunk Rheinbach
</span>
<span class="description">
Die nichtkommerzielle Initiative für den Aufbau freier WLAN-Netzwerke in Rheinbach
</span>
<div class="links">
<a class="btn-floating btn-large" target="_blank" href="http://freifunk-rheinbach.de"><i class="fas fa-globe"></i></a>
<a class="btn-floating btn-large" target="_blank" href="https://www.facebook.com/ffrhb"><i class="fab fa-facebook-f"></i></a>
<a class="btn-floating btn-large" target="_blank" href="{{ 'kontakt/?rcp=cmy_rhb' | relative_url }}"><i class="fas fa-envelope"></i></a>
</div>
</div>
</div>
<div class="col s12 m10 l4">
<div class="communitycard">
<span class="title">
Freifunk Lohmar
</span>
<span class="description">
Die nichtkommerzielle Initiative für den Aufbau freier WLAN-Netzwerke in Lohmar
</span>
<div class="links">
<a class="btn-floating btn-large" target="_blank" href="{{ 'kontakt/?rcp=cmy_lo' | relative_url }}"><i class="fas fa-envelope"></i></a>
</div>
</div>
</div>
<div class="col s12 m10 l4">
<div class="communitycard">
<span class="title">
Freifunk Sankt Augustin
</span>
<span class="description">
Die nichtkommerzielle Initiative für den Aufbau freier WLAN-Netzwerke in St. Augustin
</span>
<div class="links">
<a class="btn-floating btn-large" target="_blank" href="{{ 'kontakt/?rcp=cmy_sta' | relative_url }}"><i class="fas fa-envelope"></i></a>
</div>
</div>
</div>
<div class="col s12 m10 l4">
<div class="communitycard">
<span class="title">
Freifunk Altenkirchen
</span>
<span class="description">
Die nichtkommerzielle Initiative für den Aufbau freier WLAN-Netzwerke in Altenkirchen
</span>
<div class="links">
<a class="btn-floating btn-large" target="_blank" href="{{ 'kontakt/?rcp=cmy_ak' | relative_url }}"><i class="fas fa-envelope"></i></a>
</div>
</div>
</div>
</div>
</section>
</div>