mirror of
https://github.com/nunocoracao/blowfish.git
synced 2025-01-23 06:55:43 -06:00
updated ux
This commit is contained in:
parent
18b0736c46
commit
be48836fce
5 changed files with 4 additions and 44 deletions
|
@ -1,5 +1,5 @@
|
||||||
global:
|
global:
|
||||||
language: "Language"
|
language: "🇬🇧"
|
||||||
|
|
||||||
article:
|
article:
|
||||||
anchor_label: "Anchor"
|
anchor_label: "Anchor"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
global:
|
global:
|
||||||
language: "Lingua"
|
language: "🇵🇹"
|
||||||
|
|
||||||
article:
|
article:
|
||||||
anchor_label: "Anchor"
|
anchor_label: "Anchor"
|
||||||
|
|
|
@ -61,7 +61,7 @@
|
||||||
|
|
||||||
<span></span>
|
<span></span>
|
||||||
|
|
||||||
{{ partial "translations-mobile.html" . }}
|
{{ partial "translations.html" . }}
|
||||||
|
|
||||||
{{ if .Site.Params.enableSearch | default false }}
|
{{ if .Site.Params.enableSearch | default false }}
|
||||||
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
<button id="search-button-mobile" class="text-base hover:text-primary-600 dark:hover:text-primary-400"
|
||||||
|
|
|
@ -1,28 +0,0 @@
|
||||||
{{ if .IsTranslated }}
|
|
||||||
<!--div class="inline">
|
|
||||||
{{ range .AllTranslations }}
|
|
||||||
<a href="{{ .RelPermalink }}">{{ .Language.Params.displayName | emojify }}</a>
|
|
||||||
{{ end }}
|
|
||||||
</div-->
|
|
||||||
|
|
||||||
<div>
|
|
||||||
<div class="cursor-pointer flex items-center nested-menu">
|
|
||||||
<span>
|
|
||||||
{{ partial "icon.html" "globe" }}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
<div class="absolute menuhide">
|
|
||||||
<div class="pt-2 p-5 mt-2 rounded-xl backdrop-blur shadow-2xl">
|
|
||||||
<div class="flex flex-col space-y-3">
|
|
||||||
{{ range .AllTranslations }}
|
|
||||||
<a href="{{ .RelPermalink }}" class="flex items-center">
|
|
||||||
<p class="text-sm font-sm text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
|
||||||
{{ .Language.Params.displayName | emojify }}
|
|
||||||
</p>
|
|
||||||
</a>
|
|
||||||
{{ end }}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{{ end }}
|
|
|
@ -1,21 +1,9 @@
|
||||||
{{ if .IsTranslated }}
|
{{ if .IsTranslated }}
|
||||||
<!--div class="inline">
|
|
||||||
{{ range .AllTranslations }}
|
|
||||||
<a href="{{ .RelPermalink }}">{{ .Language.Params.displayName | emojify }}</a>
|
|
||||||
{{ end }}
|
|
||||||
</div-->
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<div class="cursor-pointer flex items-center nested-menu">
|
<div class="cursor-pointer flex items-center nested-menu">
|
||||||
<span class="mr-2">
|
|
||||||
{{ partial "icon.html" "globe" }}
|
|
||||||
</span>
|
|
||||||
<a class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
<a class="text-base font-medium text-gray-500 hover:text-gray-900" title="{{ .Title }}">
|
||||||
{{- i18n "global.language" | markdownify | emojify -}}
|
{{- i18n "global.language" | markdownify | emojify -}}
|
||||||
</a>
|
</a>
|
||||||
<span>
|
|
||||||
{{ partial "icon.html" "chevron-down" }}
|
|
||||||
</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="absolute menuhide">
|
<div class="absolute menuhide">
|
||||||
<div class="pt-2 p-5 mt-2 rounded-xl backdrop-blur shadow-2xl">
|
<div class="pt-2 p-5 mt-2 rounded-xl backdrop-blur shadow-2xl">
|
||||||
|
|
Loading…
Reference in a new issue