Add upcoming services

This commit is contained in:
Râu Cao 2022-09-17 10:20:18 +02:00
parent c11696aa90
commit 622e0ce9f6
Signed by: raucao
GPG Key ID: 15E65F399D084BA9
2 changed files with 20 additions and 0 deletions

View File

@ -34,3 +34,12 @@
- name: Wiki
url: https://wiki.kosmos.org
description: Kosmos documentation and knowledge base
- category: Coming Soon
items:
- name: Storage
url: https://remotestorage.io
description: Personal data storage and synchronization for the Web
coming_soon: true
- name: E-Mail
description: First sent in 1971, still useful and necessary today
coming_soon: true

View File

@ -3,10 +3,21 @@
<ul class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-6 mb-8">
{{ range .items }}
<li>
{{ if .coming_soon }}
<h4 class="text-lg font-bold mb-2">
{{ if .url }}
<a href="{{ .url }}" class="!text-zinc-500">{{ .name }}</a>
{{ else }}
<span class="!text-zinc-500">{{ .name }}</span>
{{ end }}
</h4>
<p class="text-zinc-500">{{ .description }}</p>
{{ else }}
<h4 class="text-lg font-bold mb-2">
<a href="{{ .url }}" class="!text-black">{{ .name }}</a>
</h4>
<p>{{ .description }}</p>
{{ end }}
</li>
{{ end }}
</ul>