feat: add new logo

This commit is contained in:
Mikangeo
2026-06-14 18:42:31 +02:00 Unverified
parent 4dd7d1ff83
commit 762a42196c
3 changed files with 1006 additions and 128 deletions
+8 -8
View File
@@ -16,7 +16,7 @@ const otpStep = ref<1 | 2>(1)
const isLoading = ref(false)
const errorMessage = ref('')
// Form State
const email = ref('')
const password = ref('')
const otpCode = ref('')
@@ -68,9 +68,9 @@ const handlePasswordLogin = async () => {
<div class="row justify-content-center">
<div class="col-12 col-md-8 col-lg-5">
<!-- Intestazione istituzionale -->
<div class="text-center mb-4">
<BIIcon name="it-pa" size="xl" color="primary" class="mb-2" />
<BIIcon name="it-user" size="xl" color="primary" class="mb-2" />
<h1 class="h3 font-weight-bold">Accedi a Visione</h1>
<p class="text-muted">Il portale delle segnalazioni urbane</p>
</div>
@@ -78,7 +78,7 @@ const handlePasswordLogin = async () => {
<div class="card card-bg shadow-sm">
<div class="card-body p-4 p-md-5">
<!-- Finto Bottone CIE -->
<button class="btn btn-primary w-100 mb-4 d-flex align-items-center justify-content-center gap-2" disabled title="Integrazione CIE prevista per la fase successiva">
<BIIcon name="it-card" size="sm" color="white" />
Entra con CIE (Presto disponibile)
@@ -94,7 +94,7 @@ const handlePasswordLogin = async () => {
{{ errorMessage }}
</div>
<!-- FLUSSO OTP -->
<div v-if="loginMethod === 'otp'">
<form v-if="otpStep === 1" @submit.prevent="handleRequestOtp">
<div class="form-group mb-4">
@@ -125,14 +125,14 @@ const handlePasswordLogin = async () => {
</form>
</div>
<!-- FLUSSO PASSWORD -->
<form v-else @submit.prevent="handlePasswordLogin">
<div class="form-group mb-4">
<input type="email" class="form-control" id="emailPwd" v-model="email" required>
<label for="emailPwd" :class="{ 'active': email.length > 0 }">Indirizzo Email</label>
</div>
<!-- INPUT PASSWORD FIXATO -->
<div class="form-group mb-4 position-relative">
<input :type="showPassword ? 'text' : 'password'" class="form-control pe-5" id="password" v-model="password" required>
<label for="password" :class="{ 'active': password.length > 0 }">Password</label>
@@ -155,7 +155,7 @@ const handlePasswordLogin = async () => {
</button>
</form>
<!-- Switch Method -->
<div class="text-center mt-4">
<a href="#" class="small text-decoration-none" @click.prevent="loginMethod = loginMethod === 'otp' ? 'password' : 'otp'; errorMessage = ''">
{{ loginMethod === 'otp' ? 'Vuoi usare la password? Clicca qui' : 'Usa il login sicuro senza password (OTP)' }}