162 lines
4.6 KiB
Vue
162 lines
4.6 KiB
Vue
|
|
<template>
|
||
|
|
<div class="verification-success">
|
||
|
|
<v-container class="fill-height" fluid>
|
||
|
|
<v-row align="center" justify="center">
|
||
|
|
<v-col cols="12" sm="8" md="6" lg="4">
|
||
|
|
<v-card class="elevation-12 rounded-lg">
|
||
|
|
<v-card-text class="text-center pa-8">
|
||
|
|
<div class="mb-6">
|
||
|
|
<v-icon
|
||
|
|
color="success"
|
||
|
|
size="80"
|
||
|
|
class="mb-4"
|
||
|
|
>
|
||
|
|
mdi-check-circle
|
||
|
|
</v-icon>
|
||
|
|
|
||
|
|
<h1 class="text-h4 font-weight-bold text-success mb-3">
|
||
|
|
Email Verified Successfully!
|
||
|
|
</h1>
|
||
|
|
|
||
|
|
<p class="text-body-1 text-medium-emphasis mb-2" v-if="email">
|
||
|
|
Your email address <strong>{{ email }}</strong> has been verified.
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<p class="text-body-1 text-medium-emphasis mb-6">
|
||
|
|
Your MonacoUSA Portal account is now active and ready to use.
|
||
|
|
You can now log in to access your dashboard and member features.
|
||
|
|
</p>
|
||
|
|
|
||
|
|
<!-- Warning message for partial verification -->
|
||
|
|
<v-alert
|
||
|
|
v-if="partialWarning"
|
||
|
|
type="warning"
|
||
|
|
variant="tonal"
|
||
|
|
class="mb-4 text-start"
|
||
|
|
icon="mdi-information"
|
||
|
|
>
|
||
|
|
<div class="text-body-2">
|
||
|
|
<strong>Note:</strong> Your email has been verified, but there may have been
|
||
|
|
a minor issue updating your account status. If you experience any login
|
||
|
|
problems, please contact support.
|
||
|
|
</div>
|
||
|
|
</v-alert>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<div class="d-flex flex-column gap-3">
|
||
|
|
<v-btn
|
||
|
|
color="primary"
|
||
|
|
size="large"
|
||
|
|
variant="elevated"
|
||
|
|
block
|
||
|
|
:to="{ path: '/login', query: { verified: 'true' } }"
|
||
|
|
class="text-none"
|
||
|
|
>
|
||
|
|
<v-icon start>mdi-login</v-icon>
|
||
|
|
Log In to Portal
|
||
|
|
</v-btn>
|
||
|
|
|
||
|
|
<v-btn
|
||
|
|
color="secondary"
|
||
|
|
size="large"
|
||
|
|
variant="outlined"
|
||
|
|
block
|
||
|
|
to="/"
|
||
|
|
class="text-none"
|
||
|
|
>
|
||
|
|
<v-icon start>mdi-home</v-icon>
|
||
|
|
Return to Home
|
||
|
|
</v-btn>
|
||
|
|
</div>
|
||
|
|
|
||
|
|
<!-- Additional help -->
|
||
|
|
<div class="mt-6 pt-4 border-t">
|
||
|
|
<p class="text-caption text-medium-emphasis mb-2">
|
||
|
|
Need help? Contact support at:
|
||
|
|
</p>
|
||
|
|
<v-chip
|
||
|
|
size="small"
|
||
|
|
variant="outlined"
|
||
|
|
prepend-icon="mdi-email"
|
||
|
|
>
|
||
|
|
support@monacousa.org
|
||
|
|
</v-chip>
|
||
|
|
</div>
|
||
|
|
</v-card-text>
|
||
|
|
</v-card>
|
||
|
|
</v-col>
|
||
|
|
</v-row>
|
||
|
|
</v-container>
|
||
|
|
</div>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script setup lang="ts">
|
||
|
|
definePageMeta({
|
||
|
|
layout: false,
|
||
|
|
middleware: 'guest'
|
||
|
|
});
|
||
|
|
|
||
|
|
// Get query parameters
|
||
|
|
const route = useRoute();
|
||
|
|
const email = computed(() => route.query.email as string || '');
|
||
|
|
const partialWarning = computed(() => route.query.warning === 'partial');
|
||
|
|
|
||
|
|
// Set page title
|
||
|
|
useHead({
|
||
|
|
title: 'Email Verified - MonacoUSA Portal',
|
||
|
|
meta: [
|
||
|
|
{
|
||
|
|
name: 'description',
|
||
|
|
content: 'Your email has been successfully verified. You can now log in to the MonacoUSA Portal.'
|
||
|
|
}
|
||
|
|
]
|
||
|
|
});
|
||
|
|
|
||
|
|
// Track successful verification
|
||
|
|
onMounted(() => {
|
||
|
|
console.log('[verify-success] Email verification completed', {
|
||
|
|
email: email.value,
|
||
|
|
partialWarning: partialWarning.value
|
||
|
|
});
|
||
|
|
});
|
||
|
|
</script>
|
||
|
|
|
||
|
|
<style scoped>
|
||
|
|
.verification-success {
|
||
|
|
min-height: 100vh;
|
||
|
|
background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
|
||
|
|
}
|
||
|
|
|
||
|
|
.fill-height {
|
||
|
|
min-height: 100vh;
|
||
|
|
}
|
||
|
|
|
||
|
|
.border-t {
|
||
|
|
border-top: 1px solid rgba(var(--v-border-color), var(--v-border-opacity));
|
||
|
|
}
|
||
|
|
|
||
|
|
.gap-3 {
|
||
|
|
gap: 12px;
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Animation for the success icon */
|
||
|
|
.v-icon {
|
||
|
|
animation: bounce 0.6s ease-in-out;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes bounce {
|
||
|
|
0%, 20%, 53%, 80%, 100% {
|
||
|
|
transform: translate3d(0, 0, 0);
|
||
|
|
}
|
||
|
|
40%, 43% {
|
||
|
|
transform: translate3d(0, -8px, 0);
|
||
|
|
}
|
||
|
|
70% {
|
||
|
|
transform: translate3d(0, -4px, 0);
|
||
|
|
}
|
||
|
|
90% {
|
||
|
|
transform: translate3d(0, -2px, 0);
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</style>
|