mirror of
https://github.com/openobserve/openobserve.git
synced 2026-11-04 08:09:27 +00:00
fix(login): link the OpenObserve logo to the website (#15024)
This commit is contained in:
@@ -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
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user