fix(ui): restore brand across anonymous and error pages
giteabot / giteabot (push) Canceled after 0s
giteabot backport / giteabot (push) Canceled after 0s
release-nightly-snapcraft / build-and-publish (push) Canceled after 0s
release-nightly / nightly-binary (push) Canceled after 0s
release-nightly / nightly-container (push) Canceled after 0s
giteabot / giteabot (push) Canceled after 0s
giteabot backport / giteabot (push) Canceled after 0s
release-nightly-snapcraft / build-and-publish (push) Canceled after 0s
release-nightly / nightly-binary (push) Canceled after 0s
release-nightly / nightly-container (push) Canceled after 0s
Assisted-by: Codex:GPT-5
This commit is contained in:
@@ -1,13 +1,10 @@
|
||||
<nav id="navbar" aria-label="{{ctx.Locale.Tr "aria.navbar"}}">
|
||||
<div class="navbar-left">
|
||||
<!-- the logo -->
|
||||
<a class="item" id="navbar-logo" href="{{AppSubUrl}}/" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home_title"}}{{end}}">
|
||||
<a class="item navbar-brand-link" id="navbar-logo" href="{{AppSubUrl}}/" aria-label="{{if .IsSigned}}{{ctx.Locale.Tr "dashboard"}}{{else}}{{ctx.Locale.Tr "home_title"}}{{end}}">
|
||||
<img width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.png" alt="{{ctx.Locale.Tr "logo"}}" aria-hidden="true">
|
||||
{{if or .PageIsSignIn (eq .Title (ctx.Locale.Tr "auth.forgot_password_title")) (eq .Title (ctx.Locale.Tr "auth.reset_password")) (eq .Title (ctx.Locale.Tr "auth.prohibit_login"))}}
|
||||
<span class="navbar-brand-copy" aria-hidden="true">
|
||||
<strong>荣刻科技</strong>
|
||||
<small>RONCARVE TECHNOLOGY</small>
|
||||
</span>
|
||||
{{if or (not .IsSigned) .ShowNavbarBrand}}
|
||||
{{template "base/navbar_brand"}}
|
||||
{{end}}
|
||||
</a>
|
||||
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
<span class="navbar-brand-copy" aria-hidden="true">
|
||||
<strong>荣刻科技</strong>
|
||||
<small>RONCARVE TECHNOLOGY</small>
|
||||
</span>
|
||||
@@ -20,8 +20,9 @@
|
||||
<nav class="ui secondary menu">
|
||||
<div class="ui container tw-flex">
|
||||
<div class="item tw-flex-1">
|
||||
<a href="{{AppSubUrl}}/" aria-label="{{ctx.Locale.Tr "home_title"}}">
|
||||
<a class="navbar-brand-link tw-flex tw-items-center" href="{{AppSubUrl}}/" aria-label="{{ctx.Locale.Tr "home_title"}}">
|
||||
<img width="30" height="30" src="{{AssetUrlPrefix}}/img/logo.png" alt="{{ctx.Locale.Tr "logo"}}" aria-hidden="true">
|
||||
{{template "base/navbar_brand"}}
|
||||
</a>
|
||||
</div>
|
||||
<div class="item">
|
||||
|
||||
Reference in New Issue
Block a user