Skip to content

Commit

Permalink
Merge branch 'pr/34' - Add supporters
Browse files Browse the repository at this point in the history
Co-authored-by: Felix Wohlfrom <FelixWohlfrom@users.noreply.github.com>
  • Loading branch information
robbi5 and FelixWohlfrom committed Dec 29, 2023
2 parents 78712d2 + 839dcb2 commit 2593149
Show file tree
Hide file tree
Showing 9 changed files with 115 additions and 4 deletions.
13 changes: 13 additions & 0 deletions assets/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,19 @@ li.active a, li.active a:hover {
margin-left: 0;
}

/* --- sidebar --- */
.supporter-list {
list-style: none;
margin: 0;
padding: 0;
}

ul.supporter-list li {
margin: 0;
padding: 0;
opacity: 1;
}

/* inconsolata-regular - latin */
@font-face {
font-family: 'Inconsolata';
Expand Down
11 changes: 10 additions & 1 deletion i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ other = "Mehr erfahren"
other = "dein „Experimentierfeld für die Welt von morgen“, mit 3D-Druckern, offenen Werkstätten, Vortragsräumen und vor allem jeder Menge Inhalte, um unsere Region Ulm/Neu-Ulm gemeinsam in die Zukunft begleiten zu können!"

[new_heading]
other = "Neues im und aus dem Haus:"
other = "Neues im und aus dem Haus:"

[wikimedia_thank_you]
other = "Wir danken Wikimedia Deutschland für die großzügige Unterstützung"

[wikimedia_logo_license]
other = "Logo: Jon Harald Søby, CC BY-SA 3.0, via Wikimedia Commons"

[dsee_thank_you]
other = "Wir danken der Deutsche Stiftung für Engagement und Ehrenamt für die großzügige Unterstützung"
11 changes: 10 additions & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,13 @@ other = "learn more"
other = "your “Experimentation platform for the world of tomorrow”! We have 3D Printers, an Open Workshop Area, Lecture rooms – and, most importantly, a lot of ideas and content to accompany our home region of Ulm/Neu-Ulm into the future!"

[new_heading]
other = "News from and in the house:"
other = "News from and in the house:"

[wikimedia_thank_you]
other = "We would like to thank Wikimedia Deutschland for their generous support"

[wikimedia_logo_license]
other = "Logo: Jon Harald Søby, CC BY-SA 3.0, via Wikimedia Commons"

[dsee_thank_you]
other = "We would like to thank Deutsche Stiftung für Engagement und Ehrenamt for their generous support"
4 changes: 4 additions & 0 deletions layouts/partials/supporter.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<ul class="supporter-list">
<li><a href="https://www.wikimedia.de/" title="{{ i18n "wikimedia_thank_you" }}. {{ i18n "wikimedia_logo_license" }}"><img src="/wp-content/uploads/supporters/wikimedia_deutschland-logo.svg" alt="{{ i18n "wikimedia_thank_you" }}. {{ i18n "wikimedia_logo_license" }}" /></a></li>
<li><a href="https://www.deutsche-stiftung-engagement-und-ehrenamt.de/" title="{{ i18n "dsee_thank_you" }}"><img src="/wp-content/uploads/supporters/dsee.svg" alt="{{ i18n "dsee_thank_you" }}" /></a></li>
</ul>
60 changes: 60 additions & 0 deletions static/wp-content/uploads/supporters/dsee.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion themes/twentysixteen/i18n/de.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,7 @@ other = "Dezember"
other = "Zurück"

[new_heading]
other = "Neue Beiträge:"
other = "Neue Beiträge:"

[supporter]
other = "Unsere Unterstützer*innen"
5 changes: 4 additions & 1 deletion themes/twentysixteen/i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -122,4 +122,7 @@ other = "December"
other = "Back"

[new_heading]
other = "New Posts:"
other = "New Posts:"

[supporter]
other = "Our Supporters"
6 changes: 6 additions & 0 deletions themes/twentysixteen/layouts/partials/site-sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,10 @@ <h2 class="widget-title">Tags</h2>
</ul>
</div>
</section>

{{/* supporter */}}
<section class="widget qtranxs_widget">
<h2 class="widget-title">{{ i18n "supporter" }}</h2>
{{ partial "supporter.html" }}
</section>
</aside>

0 comments on commit 2593149

Please sign in to comment.