Fix logo on Login screen

This commit is contained in:
praveen-livspace 2024-08-07 11:15:02 +05:30 committed by GitHub
parent 90ffea9fb6
commit 005d357a8d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -23,7 +23,8 @@
</div> </div>
<div v-if="config && config.oidc && !config.authenticated" class="mx-auto max-w-md pt-12"> <div v-if="config && config.oidc && !config.authenticated" class="mx-auto max-w-md pt-12">
<img src="./assets/logo.svg" alt="Gatus" class="mx-auto" style="max-width:160px; min-width:50px; min-height:50px;"/> <img v-if="logo" :src="logo" alt="Gatus" class="mx-auto" style="max-width:160px; min-width:50px; min-height:50px;"/>
<img v-else src="./assets/logo.svg" alt="Gatus" class="mx-auto" style="max-width:160px; min-width:50px; min-height:50px;"/>
<h2 class="mt-4 text-center text-4xl font-extrabold text-gray-800 dark:text-gray-200"> <h2 class="mt-4 text-center text-4xl font-extrabold text-gray-800 dark:text-gray-200">
Gatus Gatus
</h2> </h2>
@ -103,4 +104,4 @@ export default {
this.fetchConfig(); this.fetchConfig();
} }
} }
</script> </script>