Skip to content

Commit

Permalink
Platoniq and EU logos in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
HHassig committed Jun 26, 2024
1 parent fb47b05 commit 3f84ae1
Show file tree
Hide file tree
Showing 11 changed files with 61 additions and 0 deletions.
Binary file added app/packs/images/eu-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added app/packs/images/platoniq-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions app/views/layouts/decidim/footer/_mini.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<div class="mini-footer">
<div class="container flex flex-wrap items-center gap-4 text-white pb-8">
<%= image_pack_tag "media/images/eu-logo.png", alt: t("eu.footer.logo"), class: "max-h-16 flex-none" %>
<p class="text-xs max-w-md">
<%= t("eu.footer.text") %>
</p>
</div>
<div class="mini-footer__content flex-wrap gap-8">
<div class="flex justify-start gap-10 items-center text-white">
<div>
<a rel="decidim noopener noreferrer" href="https://journal.platoniq.net/" target="_blank" data-external-link="false">
<span class="text-xs"><%= t("platoniq.footer.text") %></span>
<%= image_pack_tag("media/images/platoniq-logo.png", alt: t("platoniq.footer.logo"), class: "max-h-8 block") %>
</a>
</div>
<div>
<a rel="decidim noopener noreferrer" href="https://decidim.org/" target="_blank" data-external-link="false">
<%= image_pack_tag("media/images/decidim-logo.svg", alt: t("layouts.decidim.footer.decidim_logo"), class: "max-h-8 block") %>
</a>
<div class="text-xs mt-2 [&_a]:underline">
<%= t("layouts.decidim.footer.made_with_open_source").html_safe %>
</div>
</div>
</div>
<a class="flex gap-1 hover:opacity-50" rel="license noopener noreferrer" href="http://creativecommons.org/licenses/by-sa/4.0/" target="_blank" data-external-link="false">
<span class="sr-only"><%= t("layouts.decidim.footer.cc_by_license") %></span>
<%= icon "creative-commons-line", class: "w-6 h-6 fill-current" %>
<%= icon "creative-commons-by-line", class: "w-6 h-6 fill-current" %>
<%= icon "creative-commons-sa-line", class: "w-6 h-6 fill-current" %>
</a>
</div>
</div>
13 changes: 13 additions & 0 deletions config/i18n-tasks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---

base_locale: en
locales: [en]

data:
read:
- 'config/locales/*.%{locale}.yml'

ignore_missing:
- layouts.decidim.footer.cc_by_license
- layouts.decidim.footer.decidim_logo
- layouts.decidim.footer.made_with_open_source
9 changes: 9 additions & 0 deletions config/locales/eu.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
---
en:
eu:
footer:
logo: 'European Union flag: Funded by the European Union'
text: Views and opinions expressed are however those of the author(s) only and
do not necessarily reflect those of the European Union or the European Research
Executive Agency. Neither the European Union nor the granting authority can
be held responsible for them.
6 changes: 6 additions & 0 deletions config/locales/platoniq.en.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
en:
platoniq:
footer:
logo: Platoniq Foundation - Creativity and Democracy
text: Made with ♥ by
1 change: 1 addition & 0 deletions public/sw.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
Binary file added public/sw.js.br
Binary file not shown.
Binary file added public/sw.js.gz
Binary file not shown.
Binary file added public/sw.js.map.br
Binary file not shown.
Binary file added public/sw.js.map.gz
Binary file not shown.

0 comments on commit 3f84ae1

Please sign in to comment.