WIP
This commit is contained in:
parent
6d34293f62
commit
7560bc7cdc
17 changed files with 60 additions and 41 deletions
|
@ -42,3 +42,14 @@ html {
|
|||
.prose p {
|
||||
@apply mb-4;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: theme("colors.red.900");
|
||||
border-bottom: 4px solid theme("colors.red.100");
|
||||
transition: border-color 200ms;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
color: theme("colors.red.700");
|
||||
border-bottom: 4px solid theme("colors.red.200");
|
||||
}
|
||||
|
|
|
@ -616,6 +616,10 @@ video {
|
|||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.mt-12 {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.mb-6 {
|
||||
margin-bottom: 1.5rem;
|
||||
}
|
||||
|
@ -624,14 +628,14 @@ video {
|
|||
margin-top: 1.5rem;
|
||||
}
|
||||
|
||||
.mt-12 {
|
||||
margin-top: 3rem;
|
||||
}
|
||||
|
||||
.mb-2 {
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.mr-1 {
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.block {
|
||||
display: block;
|
||||
}
|
||||
|
@ -760,6 +764,17 @@ html {
|
|||
margin-bottom: 1rem;
|
||||
}
|
||||
|
||||
.link {
|
||||
color: #7f1d1d;
|
||||
border-bottom: 4px solid #fee2e2;
|
||||
transition: border-color 200ms;
|
||||
}
|
||||
|
||||
.link:hover {
|
||||
color: #b91c1c;
|
||||
border-bottom: 4px solid #fecaca;
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.md\:mr-auto {
|
||||
margin-right: auto;
|
||||
|
|
|
@ -78,6 +78,7 @@ languages:
|
|||
name: About
|
||||
url: /en
|
||||
weight: -1
|
||||
|
||||
- identifier: services
|
||||
name: Services
|
||||
url: /en/services
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Přeposílání příspěvků mezi decentralizovanou sociální sí
|
|||
href: https://bridge.nolog.cz
|
||||
image: bridge.png
|
||||
icon: send-plane-line
|
||||
weight: 80
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Videokonferenční a vzdělávací systém bez sledování uživate
|
|||
href: https://call.nolog.cz
|
||||
image: bbb.png
|
||||
icon: phone-line
|
||||
weight: 70
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: End-to-end šifrovaná sada nástrojů pro spolupráci a sdílení
|
|||
href: https://cryptpad.cz
|
||||
image: cryptpad.png
|
||||
icon: folder-keyhole-line
|
||||
weight: 20
|
||||
---
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
title: "Individuální služby"
|
||||
weight: 100
|
||||
---
|
||||
|
||||
Pro jednotlivce i organizace se kterými sdílíme [společné hodnoty](/about) dokážeme po individuální domluvě provozovat služby pro interní i veřejnou komunikaci.
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Alternativa k Doodle pro vytváření anket a hledání termínů.
|
|||
href: https://decide.nolog.cz
|
||||
image: decide.png
|
||||
icon: chat-poll-line
|
||||
weight: 50
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Zkracovač odkazů bez sledování uživatelů.
|
|||
href: https://nolog.link
|
||||
image: nolog-link.png
|
||||
icon: link
|
||||
weight: 40
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Sdílení a přehrávání videí, alternativa k YouTube apod. Proz
|
|||
href: https://nolog.media
|
||||
image: nolog-media.png
|
||||
icon: youtube-line
|
||||
weight: 90
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Alternativní rozhraní pro Twitter, které nesbírá osobní údaj
|
|||
href: https://nitter.cz
|
||||
image: nitter.png
|
||||
icon: twitter-line
|
||||
weight: 10
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Vytváření a úpravy textových souborů ve skupině. Pro citliv
|
|||
href: https://pad.nolog.cz
|
||||
image: pad.png
|
||||
icon: file-list-3-line
|
||||
weight: 100
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: Rychlé šifrované sdílení textu s možností "autodestrukce" po
|
|||
href: https://paste.nolog.cz
|
||||
image: paste.png
|
||||
icon: scissors-cut-line
|
||||
weight: 60
|
||||
---
|
||||
|
|
|
@ -4,4 +4,5 @@ description: End-to-end šifrované nahrávání a sdílení souborů do velikos
|
|||
href: https://upload.nolog.cz
|
||||
image: upload.png
|
||||
icon: upload-2-line
|
||||
weight: 30
|
||||
---
|
||||
|
|
|
@ -31,7 +31,7 @@
|
|||
|
||||
{{ if $.Param "sidebar" }}{{ partial "sidebar.html" . }}{{ end -}}
|
||||
|
||||
<footer>
|
||||
<footer class="mt-12">
|
||||
<div class="container mx-auto px-6 py-6">
|
||||
{{ if $.Param "feedlinks" }}
|
||||
{{ partial "feedlinks.html" . }}
|
||||
|
|
|
@ -1,36 +1,17 @@
|
|||
<nav class="container mx-auto px-6">
|
||||
<h2 class="sr-only">{{ i18n "menu_title" }}</h2>
|
||||
<ul class="flex gap-6">
|
||||
{{ if site.Menus.main -}}
|
||||
|
||||
{{ $currentPage := . -}}
|
||||
{{ range site.Menus.main -}}
|
||||
<li>
|
||||
<a href="{{ .URL | relLangURL }}"{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} class="active" aria-current="page"{{ end }}>{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end -}}
|
||||
|
||||
{{ else -}}
|
||||
|
||||
{{ $currentSection := .Section -}}
|
||||
{{ $currentID := "" -}}
|
||||
{{ with .File }}{{ $currentID = .UniqueID }}{{ end -}}
|
||||
{{ with site.Home }}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}"{{ if eq $currentID .File.UniqueID }} class="active" aria-current="page"{{ end }}>{{ i18n "menu_home" }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
{{ range where site.RegularPages "Section" "" -}}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}"{{ if eq $currentID .File.UniqueID }} class="active" aria-current="page"{{ end }}>{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end -}}
|
||||
{{ range site.Sections -}}
|
||||
<li>
|
||||
<a href="{{ .RelPermalink }}"{{ if eq $currentSection .Section }} class="active" aria-current="page"{{ end }}>{{ .Title }}</a>
|
||||
</li>
|
||||
{{ end -}}
|
||||
|
||||
{{ end -}}
|
||||
</ul>
|
||||
<h2 class="sr-only">{{ i18n "menu_title" }}</h2>
|
||||
<ul class="flex gap-6">
|
||||
{{ range site.Menus.main }}
|
||||
{{ $isActive := false }} {{/* TODO fix */}}
|
||||
<li>
|
||||
<a
|
||||
href="{{ .URL | relLangURL }}"
|
||||
class="font-bold link {{ if $isActive }}link--active{{ end }}"
|
||||
{{ if $isActive }}
|
||||
aria-current="page"
|
||||
{{ end }}
|
||||
>{{ .Name }}</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
</nav>
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
|
||||
<section class="container mx-auto px-6 mt-12">
|
||||
<ul class="grid grid-cols-1 md:grid-cols-3 gap-6">
|
||||
{{ range (where .Site.RegularPages "Type" "service") }}
|
||||
{{ range (where .Site.RegularPages.ByWeight "Type" "service") }}
|
||||
<li>
|
||||
<article>
|
||||
{{ .Params.iconSvg | safeHTML }}
|
||||
{{ if isset .Params "icon" }}
|
||||
<i class="ri-{{ .Params.icon }} block text-3xl mb-2"></i>
|
||||
{{ end }}
|
||||
<h4 class="font-bold inline"><a href="{{ .Params.href }}">{{ .Title }}</a></h4>
|
||||
<h4 class="inline mr-1"><a href="{{ .Params.href }}" class="font-bold link">{{ .Title }}</a></h4>
|
||||
<div class="inline">
|
||||
{{ .Params.description }} →
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue