sp-codes.de/src/_includes/layouts/service.njk
Samuel Philipp 805012ef26
All checks were successful
Build and Deploy Website / Build Website (push) Successful in 1m5s
Build and Deploy Website / Deploy Website (push) Has been skipped
Build and Deploy Website / Deploy Dev Website (push) Successful in 11s
layout ng
2023-12-13 02:55:14 +01:00

36 lines
1.6 KiB
Plaintext

---
layout: base.njk
---
{% set service = services | getServiceById(key) %}
{% if service %}
<h1><i class="{{service.icon}}"></i> {{title}} <a href="https://status.sp-codes.de" class="float-end"><img alt="{{strings.state[locale]}}" src="https://status.sp-codes.de/api/badge/1/status?label=Status&upLabel=Online&downLabel=Ausfall&maintenanceLabel=Wartung"></a></h1>
<div class="row">
<div class="col-lg-8 col-12">
{{ content | safe }}
</div>
<div class="col-lg-4 col-12">
<div class="tab-card">
<div class="title"><h1 class="text-center fw-bold">sp-codes</h1></div>
<div class="card">
Seit Anfang 2020 betreibe ich einen öffentlichen Matrix-Server: <a href="https://matrix.sp-codes.de">matrix.sp-codes.de</a> und eine öffentliche Element-Web Instanz: <a href="https://chat.sp-codes.de" target="_blank">chat.sp-codes.de</a>
<div class="text-center mt-2">
<a class="btn btn-primary" target="_blank" href="https://chat.sp-codes.de/#/register">Jetzt registrieren</a>
</div>
</div>
</div>
{% if service.ossrox %}
<div class="tab-card ossrox">
<div class="title"><img class="ossrox" src="/img/ossrox-white.svg" alt="Ossrox"></div>
<div class="card">
{{service.ossrox.description[locale]}}
</div>
</div>
{% endif %}
</div>
</div>
{% else %}
Service not found
{% endif %}