Update links for the header

This commit is contained in:
Korbs 2024-12-05 13:29:37 -05:00
parent 2235a35005
commit 459dc7e8f8

View file

@ -10,20 +10,22 @@
</div>
<div>
<a class="header-link-item" href="https://sudovanilla.org/blog/">Blog</a>
<a class="header-link-item" href="https://sudovanilla.org/docs/">Docs</a>
<a class="header-link-item" href="https://sudovanilla.org/instances/">Instances</a>
<a class="header-link-item" href="https://ark.sudovanilla.org/Docs/">Docs</a>
<a class="header-link-item" href="https://sudovanilla.org/donate/">Donate</a>
<a class="header-link-item" href="https://status.sudovanilla.org">Status</a>
{{if and .IsSigned}}
<a class="header-link-item" href data-url="{{AppSubUrl}}/user/logout">Log Out</a>
{{end}}
{{if and .IsSigned}}
<a class="header-link-item" href data-url="/user/logout">Log Out</a>
{{end}}
<div class="ui dropdown upward language">
<span class="flex-text-inline">{{svg "octicon-globe" 14}} {{ctx.Locale.LangName}}</span>
<div style="display: none !important" class="menu language-menu">
{{range .AllLangs}}
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq ctx.Locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
{{end}}
</div>
</div>
<div class="ui dropdown upward language">
<span class="flex-text-inline">{{svg "octicon-globe" 14}} {{ctx.Locale.LangName}}</span>
<div style="display: none !important" class="menu language-menu">
{{range .AllLangs}}
<a lang="{{.Lang}}" data-url="{{AppSubUrl}}/?lang={{.Lang}}" class="item {{if eq ctx.Locale.Lang .Lang}}active selected{{end}}">{{.Name}}</a>
{{end}}
</div>
</div>
</div>
</div>