redesign website #1

Merged
l3d merged 80 commits from ui into main 2022-05-18 00:35:38 +02:00
2 changed files with 22 additions and 63 deletions
Showing only changes of commit 2719c4cc3a - Show all commits

View file

@ -27,5 +27,5 @@ url_prefix = /en/
[packages] [packages]
lektor-scss = 1.4.1 lektor-scss = 1.4.1
lektor-image-resize = 0.6.1 lektor-image-resize = 1.0.0
lektor-image-filter = 2.1 lektor-image-filter = 3.0

View file

@ -143,78 +143,37 @@ __ ____ _| |_| |_| | ___
<p>Waffeln im Internet:<br> <p>Waffeln im Internet:<br>
<a rel="me" href="https://chaos.social/@C3WOC" title="Mastodon"> <a rel="me" href="https://chaos.social/@C3WOC" title="Mastodon">
{% if '/images/icons/social/mastodon.svg'|asseturl is defined -%} {% if '/images/icons/social/mastodon.svg'|asseturl is defined -%}
<img alt="Mastodon" class="footer__social_logo" src="{{ '/images/icons/social/mastodon.svg'|asseturl }}" width="100" height="50"/> <img alt="Mastodon" class="footer__social_logo" src="{{ '/images/icons/social/mastodon.svg'|asseturl }}" width="142"/>
{%- else -%} {%- else -%}
Mastodon Mastodon
{%- endif %} {%- endif %}
</a> </a>
<a href="https://twitter.com/c3woc" title="Twitter"> {%- for ziel, name, icon in [
{% if '/images/icons/social/twitter.svg'|asseturl is defined -%} ['https://twitter.com/c3woc/', 'Twitter', '/images/icons/social/twitter.svg'],
<img alt="Twitter" class="footer__social_logo" src="{{ '/images/icons/social/twitter.svg'|asseturl }}" width="100" height="50"/> ['https://waffel.reddit.com/', 'Reddit', '/images/icons/social/reddit.svg'],
['https://t.me/c3woc', 'Telegram', '/images/icons/social/telegram.svg'],
['https://webirc.hackint.org/#irc://irc.hackint.org/#waffel', 'IRC', '/images/icons/social/hackint.svg'],
['https://podcast.c3woc.de/', 'Das heiße Eisen - Der Waffel-Podcast', '/images/icons/social/podcast.svg'],
['https://podcast.c3woc.de/podcast-he.xml', 'Podcast Feed', '/images/icons/social/feed.svg'],
['https://backwesen.de/c3woc/', 'Source Code', '/images/icons/social/gitea.svg'],
['https://github.com/c3woc/', 'Github', '/images/icons/social/github.svg']
] -%}
{{- '\n' }} <a href="{{- ziel -}}" title="{{- name -}}">
{%- if icon|asseturl is defined -%}
{{- '\n' }} <img alt="{{- name -}}" class="footer__social_logo" src="{{- icon|asseturl -}}" width="142"/>
{%- else -%} {%- else -%}
Twitter {{- name -}}
{%- endif %} {%- endif %}
</a> {{- '\n' }} </a>
<a href="https://waffel.reddit.com" title="Reddit"> {%- endfor %}
{% if '/images/icons/social/reddit.svg'|asseturl is defined -%}
<img alt="Twitter" class="footer__social_logo" src="{{ '/images/icons/social/reddit.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
Reddit
{%- endif %}
</a>
<a href="https://t.me/c3woc" title="Telegram">
{% if '/images/icons/social/telegram.svg'|asseturl is defined -%}
<img alt="Telegram" class="footer__social_logo" src="{{ '/images/icons/social/telegram.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
Telegram
{%- endif %}
</a>
<a href="https://webirc.hackint.org/#irc://irc.hackint.org/#waffel" title="IRC">
{% if '/images/icons/social/hackint.svg'|asseturl is defined -%}
<img alt="IRC" class="footer__social_logo" src="{{ '/images/icons/social/hackint.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
IRC
{%- endif %}
</a>
<a href="https://podcast.c3woc.de/" title="Das heiße Eisen - Der Waffel-Podcast">
{% if '/images/icons/social/podcast.svg'|asseturl is defined -%}
<img alt="Waffel Podcast" class="footer__social_logo" src="{{ '/images/icons/social/podcast.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
Podcast
{%- endif %}
</a>
<a href="https://podcast.c3woc.de/podcast-he.xml" title="Podcast Feed">
{% if '/images/icons/social/feed.svg'|asseturl is defined -%}
<img alt="Podcast Feed" class="footer__social_logo" src="{{ '/images/icons/social/feed.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
Podcast Feed
{%- endif %}
</a>
</p>
<p>Quellcode und Versionsverwaltung:<br/>
<a href="https://backwesen.de/c3woc/" title="Gitea">
{% if '/images/icons/social/gitea.svg'|asseturl is defined -%}
<img alt="Gitea" class="footer__social_logo" src="{{ '/images/icons/social/gitea.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
Gitea
{%- endif %}
</a>
<a href="https://github.com/c3woc/" title="Github">
{% if '/images/icons/social/github.svg'|asseturl is defined -%}
<img alt="Github" class="footer__social_logo" src="{{ '/images/icons/social/github.svg'|asseturl }}" width="100" height="50"/>
{%- else -%}
Github
{%- endif %}
</a>
</p> </p>
<a class="footer__navlink" href="{{ '/impressum'|url }}">Impressum</a>
|
<a class="footer__navlink" href="{{ '/datenschutz'|url }}">Datenschutz</a>
</li> </li>
<li class="footer__navitem -second"> <li class="footer__navitem -second">
</li> </li>
<li class="footer__navitem -third"> <li class="footer__navitem -third">
<a class="footer__navlink" href="{{ '/impressum'|url }}">Impressum</a>
|
<a class="footer__navlink" href="{{ '/datenschutz'|url }}">Datenschutz</a>
<br/>
<img class="footer__wtf_logo" src="/images/logo.svg" alt="C3WOC - Logo" height="50%"> <img class="footer__wtf_logo" src="/images/logo.svg" alt="C3WOC - Logo" height="50%">
<br/> <br/>
© {{ none|datetimeformat('YYYY', 'UTC', locale='de_DE') }} C3 Waffel Operation Center © {{ none|datetimeformat('YYYY', 'UTC', locale='de_DE') }} C3 Waffel Operation Center