fix(login): link the OpenObserve logo to the website (#15024)

This commit is contained in:
Bhargav
2026-09-30 17:07:35 +00:00
committed by GitHub
parent ff3cc7ab04
commit ace01d321d
2 changed files with 44 additions and 31 deletions
+32 -22
View File
@@ -49,31 +49,41 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
style="max-width: 9.375rem; max-height: 1.9375rem"
/>
</span>
<img
<a
v-if="store.state.zoConfig.custom_hide_self_logo == false"
class="appLogo h-auto"
:style="
store.state.zoConfig.custom_logo_text != '' ? 'width: 9.375rem;' : 'width: 15.625rem;'
"
:src="
isDark
? getImageURL('images/common/openobserve_latest_dark_2.svg')
: getImageURL('images/common/openobserve_latest_light_2.svg')
"
/>
href="https://openobserve.ai/"
target="_blank"
rel="noopener noreferrer"
>
<img
class="appLogo h-auto"
:style="
store.state.zoConfig.custom_logo_text != '' ? 'width: 9.375rem;' : 'width: 15.625rem;'
"
:src="
isDark
? getImageURL('images/common/openobserve_latest_dark_2.svg')
: getImageURL('images/common/openobserve_latest_light_2.svg')
"
:alt="t('login.openObserveLogoAlt')"
/>
</a>
</div>
<div class="mb-4 flex justify-center" v-else>
<img
class="appLogo h-auto"
:style="
store.state.zoConfig.custom_logo_text != '' ? 'width: 9.375rem;' : 'width: 15.625rem;'
"
:src="
isDark
? getImageURL('images/common/openobserve_latest_dark_2.svg')
: getImageURL('images/common/openobserve_latest_light_2.svg')
"
/>
<a href="https://openobserve.ai/" target="_blank" rel="noopener noreferrer">
<img
class="appLogo h-auto"
:style="
store.state.zoConfig.custom_logo_text != '' ? 'width: 9.375rem;' : 'width: 15.625rem;'
"
:alt="t('login.openObserveLogoAlt')"
:src="
isDark
? getImageURL('images/common/openobserve_latest_dark_2.svg')
: getImageURL('images/common/openobserve_latest_light_2.svg')
"
/>
</a>
</div>
<div v-if="autoRedirectDexLogin">
+12 -9
View File
@@ -18,15 +18,18 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<Login v-if="user.email == '' && !showInvitations" />
<div v-if="showInvitations && config.isCloud == 'true'">
<div class="relative-position flex px-3 pt-2">
<img
class="h-10 max-h-10 w-auto max-w-50 cursor-pointer"
loading="lazy"
:src="
isDark
? getImageURL('images/common/openobserve_latest_dark_2.svg')
: getImageURL('images/common/openobserve_latest_light_2.svg')
"
/>
<a href="https://openobserve.ai/" target="_blank" rel="noopener noreferrer">
<img
class="h-10 max-h-10 w-auto max-w-50 cursor-pointer"
loading="lazy"
:alt="t('login.openObserveLogoAlt')"
:src="
isDark
? getImageURL('images/common/openobserve_latest_dark_2.svg')
: getImageURL('images/common/openobserve_latest_light_2.svg')
"
/>
</a>
</div>
<InvitationList
v-if="showInvitations"