feat: implement logout functionality and enhance contact layout

This commit is contained in:
2025-11-17 13:35:33 +05:30
parent 38f305067a
commit e83e2b2161
13 changed files with 205 additions and 133 deletions
+7 -13
View File
@@ -1,7 +1,13 @@
<div class="verify-wrapper">
<div class="verify-card">
<h2 class="title">🔐 OTP Verification</h2>
@if(!isOtpSent()){
<h2 class="title">🔐 Login</h2>
}
@if(isOtpSent() && !isVerified()){
<h2 class="title">🔐 OTP Verification</h2>
}
<!-- Step 1: Enter Email -->
@if (!isOtpSent()) {
@@ -35,17 +41,5 @@
</button>
</div>
}
<!-- Step 3: Success -->
<!-- @if (isVerified()) {
<div>
<p class="success-msg">{{ message() }}✅</p>
</div>
}
@if (isError()) {
<p class="error-message">{{ message() }}</p>
} -->
</div>
</div>