Update for #3
This commit is contained in:
parent
a6b9786bf3
commit
2235a35005
1 changed files with 14 additions and 45 deletions
|
@ -11,17 +11,26 @@
|
|||
<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/init/">Init Privacy</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}}
|
||||
|
||||
<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>
|
||||
<div class="header-row-bottom" data-astro-cid-eiyd7voq="">
|
||||
<div>
|
||||
{{if not .IsSigned}}
|
||||
<p>Ark</p>
|
||||
<p style="color: var(--sudovanilla-forgejo-color) !important;font-weight: bold !important;padding: 0px 32px !important;border-right: 1px #3f3c3c solid !important;display: flex !important;align-items: center !important;font-size: 16px;margin-top: 15px;">Ark</p>
|
||||
{{end}}
|
||||
{{if and .IsSigned}}
|
||||
<a href="/{{.SignedUser.Name}}/" class="header-sub-service">{{.SignedUser.Name}}</a>
|
||||
|
@ -47,45 +56,6 @@
|
|||
{{end}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<script>
|
||||
/*
|
||||
@licstart The following is the entire license notice for the
|
||||
JavaScript code in this page.
|
||||
|
||||
Copyright (C) 2024 SudoVanilla
|
||||
|
||||
The JavaScript code in this page is free software: you can
|
||||
redistribute it and/or modify it under the terms of the GNU
|
||||
General Public License (GNU GPL) as published by the Free Software
|
||||
Foundation, either version 3 of the License, or (at your option)
|
||||
any later version. The code is distributed WITHOUT ANY WARRANTY;
|
||||
without even the implied warranty of MERCHANTABILITY or FITNESS
|
||||
FOR A PARTICULAR PURPOSE. See the GNU GPL for more details.
|
||||
|
||||
As additional permission under GNU GPL version 3 section 7, you
|
||||
may distribute non-source (e.g., minimized or compacted) forms of
|
||||
that code without the copy of the GNU GPL normally required by
|
||||
section 4, provided you include this license notice and a URL
|
||||
through which recipients can access the Corresponding Source.
|
||||
|
||||
|
||||
@licend The above is the entire license notice
|
||||
for the JavaScript code in this page.
|
||||
*/
|
||||
window.addEventListener(
|
||||
"scroll",
|
||||
function () {
|
||||
if (window.scrollY > 50) {
|
||||
document.querySelector(".header-row-bottom").style.position = "fixed";
|
||||
} else {
|
||||
document.querySelector(".header-row-bottom").style.position = "inherit";
|
||||
}
|
||||
},
|
||||
false
|
||||
);
|
||||
</script>
|
||||
<script>
|
||||
/*
|
||||
@licstart The following is the entire license notice for the
|
||||
|
@ -125,10 +95,9 @@
|
|||
|
||||
<mobilebar data-astro-cid-eiyd7voq="">
|
||||
<div class="mobile-popup-menu" data-astro-cid-eiyd7voq="" style="display: none;">
|
||||
<a class="header-link-item" href="/blog/" data-astro-cid-eiyd7voq="">Blog</a>
|
||||
<a class="header-link-item" href="#" data-astro-cid-eiyd7voq="">Ark</a>
|
||||
<a class="header-link-item" href="/docs/" data-astro-cid-eiyd7voq="">Docs</a>
|
||||
<a class="header-link-item" href="/init/" data-astro-cid-eiyd7voq="">Init Privacy</a>
|
||||
<a class="header-link-item" href="https://sudovanilla.org/blog/" data-astro-cid-eiyd7voq="">Blog</a>
|
||||
<a class="header-link-item" href="https://sudovanilla.org/docs/" data-astro-cid-eiyd7voq="">Docs</a>
|
||||
<a class="header-link-item" href="https://status.sudovanilla.org/">Status</a>
|
||||
<hr/>
|
||||
<a href="/explore/repos/">Explore</a>
|
||||
{{if not .IsSigned}}
|
||||
|
|
Loading…
Reference in a new issue