added jitsi #12

Manually merged
samuel-p merged 4 commits from develop into master 2020-07-03 17:59:09 +00:00
7 changed files with 47 additions and 7 deletions
Showing only changes of commit 6ebcd13e67 - Show all commits

View file

@ -40,7 +40,7 @@ a {
color: #fea500; color: #fea500;
&:hover { &:hover {
color: darken(#fea500, .5); color: #d78c00;
} }
} }
@ -121,6 +121,24 @@ a {
top: 0; top: 0;
bottom: 0; bottom: 0;
right: 0; right: 0;
color: #fea500 !important;
&[href]:hover {
color: #d78c00 !important;
}
}
.beta {
position: absolute;
top: 1rem;
right: 0;
font-weight: bold;
background-color: #fea500;
color: #000000;
padding: .5rem 1rem;
border-radius: 10px;
transform: rotate(20deg);
box-shadow: -1px 8px 5px rgba(0, 0, 0, .7);
} }
.inner { .inner {
@ -148,6 +166,11 @@ a {
h2 { h2 {
margin-left: 0.5rem; margin-left: 0.5rem;
} }
.beta {
top: 0;
right: -1rem;
}
} }
} }
} }

View file

@ -51,10 +51,21 @@
{ {
"id": "firefox-sync", "id": "firefox-sync",
"name": "Firefox Sync", "name": "Firefox Sync",
"icon": "fab fa-firefox", "icon": "fab fa-firefox-browser",
"summary": { "summary": {
"de": "Ein Service um Firefox Einstellungen, Lesezeichen, offene Tabs und vieles mehr über verschiedene Geräte zu synchronisieren.", "de": "Ein Service um Firefox Einstellungen, Lesezeichen, offene Tabs und vieles mehr über verschiedene Geräte zu synchronisieren.",
"en": "A service to sync Firefox settings, bookmarks, open tabs and much more between multiple devices." "en": "A service to sync Firefox settings, bookmarks, open tabs and much more between multiple devices."
} }
},
{
"id": "jitsi",
"name": "Jitsi Meet",
"icon": "fas fa-users",
"url": "https://jitsi.sp-codes.de",
"beta": true,
"summary": {
"de": "Eine sichere, einfache und skalierbare Plattform für Videokonferenzen.",
"en": "A secure, simple and scalable platform for video conferencing."
}
} }
] ]

View file

@ -5,6 +5,6 @@ layout: base.njk
{{ content | safe }} {{ content | safe }}
<div class="row"> <div class="row justify-content-center">
{% include 'services-extended.html' %} {% include 'services-extended.html' %}
</div> </div>

View file

@ -1,7 +1,10 @@
{%- for service in services %} {%- for service in services %}
<div class="col-12 col-md-6 col-lg-4 p-3"> <div class="col-12 col-md-6 col-lg-4 p-3">
<div class="service"> <div class="service">
<a class="link" href="/{{locale}}/services/{{service.id}}"></a> <a class="link" {% if service.beta != true %} href="/{{locale}}/services/{{service.id}}" {% endif %}></a>
{% if service.beta == true %}
<div class="beta">TEST-PHASE</div>
{% endif %}
<div class="inner"> <div class="inner">
<i class="{{service.icon}} fa-4x"></i> <i class="{{service.icon}} fa-4x"></i>
<h2 class="mt-2">{{service.name}}{% if service.url %} <a href="{{service.url}}" target="_blank"><i <h2 class="mt-2">{{service.name}}{% if service.url %} <a href="{{service.url}}" target="_blank"><i

View file

@ -1,7 +1,10 @@
{%- for service in services %} {%- for service in services %}
<div class="col-12 col-md-6 p-3"> <div class="col-12 col-md-6 p-3">
<div class="service flat"> <div class="service flat">
<a class="link inner" href="/{{locale}}/services/{{service.id}}"> <a class="link inner" href="/{{locale}}/services{% if service.beta != true %}/{{service.id}}{% endif %}">
{% if service.beta == true %}
<div class="beta">TEST-PHASE</div>
{% endif %}
<i class="{{service.icon}} fa-fw fa-2x"></i> <i class="{{service.icon}} fa-fw fa-2x"></i>
<h2 class="mt-2">{{service.name}}</h2> <h2 class="mt-2">{{service.name}}</h2>
</a> </a>

View file

@ -20,7 +20,7 @@ eleventyNavigation:
<div class="row justify-content-center py-4 border-top"> <div class="row justify-content-center py-4 border-top">
<div class="col-lg-8 col-md-10 col-12"> <div class="col-lg-8 col-md-10 col-12">
<h1 class="heading"><a href="/{{locale}}/services">Dienste</a></h1> <h1 class="heading"><a href="/{{locale}}/services">Dienste</a></h1>
<div class="row"> <div class="row justify-content-center">
{% include services-simple.html %} {% include services-simple.html %}
</div> </div>
</div> </div>

View file

@ -20,7 +20,7 @@ eleventyNavigation:
<div class="row justify-content-center py-4 border-top"> <div class="row justify-content-center py-4 border-top">
<div class="col-lg-8 col-md-10 col-12"> <div class="col-lg-8 col-md-10 col-12">
<h1 class="heading"><a href="/{{locale}}/services">Services</a></h1> <h1 class="heading"><a href="/{{locale}}/services">Services</a></h1>
<div class="row"> <div class="row justify-content-center">
{% include services-simple.html %} {% include services-simple.html %}
</div> </div>
</div> </div>