Skip to content

Commit

Permalink
tweak footer
Browse files Browse the repository at this point in the history
  • Loading branch information
lislis committed Feb 7, 2019
1 parent 6f4b6f5 commit 853fd99
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 9 deletions.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions app/assets/stylesheets/layout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
border-top: 3px solid $foam;
background-color: $dark-color;
color: white;
font-size: 0.8rem;
a {
color: $foam;
}
Expand All @@ -35,6 +36,7 @@
.footer-logo {
width: 100%;
height: auto;
max-width: 170px;
margin-top: 0.4rem;
}

Expand Down
17 changes: 10 additions & 7 deletions app/views/layouts/_footer.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,19 @@
</footer>
<footer class="container footer">
<div class="columns">
<div class="column col-2 col-md-2 col-xs-8">
<div class="column col-3 col-xs-8">
<p><%= image_tag("datenschule_logo_Slogan_weiss_web.png", alt: "Datenschule logo", class: "footer-logo") %></p>
<p><%= image_tag("Logo_okfde_white_scaled.png", alt: "OKF DE logo", class: "footer-logo") %></p>
</div>
<div class="column col-3 col-md-5 col-xs-10">
<p><%= t 'app_about' %></p>
<p><%= t(:app_license) %>
<%= link_to t('link_github'), "https://github.com/Datenschule/spaziergang-creator"%></p>
<div class="column col-4 col-xs-10">
<p><%= t 'app_about' %><br>
<a href="https://datenschule.de">datenschule.de</a><br>
<a href="https://okfn.de">okfn.de</a></p>
</div>
<div class="column col-3 col-md-5 col-xs-10">
<a href="https://spaziergang.demokratielabore.de/"><%= t :mobile_app %></a>
<div class="column col-4 col-xs-10">
<p><%= t(:app_license) %>
<%= link_to t('link_github'), "https://github.com/Datenschule/spaziergang-creator"%></p>
<p><a href="https://spaziergang.demokratielabore.de/"><%= t :mobile_app %></a></p>
</div>
</div>
</footer>
2 changes: 1 addition & 1 deletion config/locales/de.yml
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ de:
question: "Frage"
answers: "Antworten"

app_about: "Spaziergang Creator ist ein Projekt der Open Knowledge Foundation Deutschland."
app_about: "Spaziergang Creator ist ein Projekt der Datenschule und der Open Knowledge Foundation Deutschland."
app_license: "Der Quellcode ist unter der MIT Lizenz veröffentlicht"
link_github: "und auf GitHub verfügbar."
imprint:
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ en:
question: "Question"
answers: "Answers"

app_about: "Spaziergang Creator is a project by Open Knowledge Foundation Deutschland."
app_about: "Spaziergang Creator is a project by Datenschule and Open Knowledge Foundation Deutschland."
app_license: "The source code is published under MIT license"
link_github: "and available on GitHub."
imprint:
Expand Down

0 comments on commit 853fd99

Please sign in to comment.