fixes
Build And Push Image / docker (push) Failing after 2m41s
Details
Build And Push Image / docker (push) Failing after 2m41s
Details
This commit is contained in:
parent
2eaf9cda95
commit
21bc4909b1
|
|
@ -91,7 +91,6 @@
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script setup lang="ts">
|
<script setup lang="ts">
|
||||||
import { useMobileDetection } from '~/composables/useMobileDetection';
|
|
||||||
|
|
||||||
definePageMeta({
|
definePageMeta({
|
||||||
layout: false,
|
layout: false,
|
||||||
|
|
@ -103,17 +102,8 @@ const route = useRoute();
|
||||||
const email = computed(() => route.query.email as string || '');
|
const email = computed(() => route.query.email as string || '');
|
||||||
const partialWarning = computed(() => route.query.warning === 'partial');
|
const partialWarning = computed(() => route.query.warning === 'partial');
|
||||||
|
|
||||||
// Use unified mobile detection
|
// Static CSS classes based on device (no reactive dependencies)
|
||||||
const mobileDetection = useMobileDetection();
|
const containerClasses = ref('verification-success');
|
||||||
|
|
||||||
// Mobile Safari optimization classes
|
|
||||||
const containerClasses = computed(() => {
|
|
||||||
const classes = ['verification-success'];
|
|
||||||
if (mobileDetection.isMobile) classes.push('is-mobile');
|
|
||||||
if (mobileDetection.isMobileSafari) classes.push('is-mobile-safari');
|
|
||||||
if (mobileDetection.isIOS) classes.push('is-ios');
|
|
||||||
return classes.join(' ');
|
|
||||||
});
|
|
||||||
|
|
||||||
// Setup password URL for Keycloak - Fixed URL structure
|
// Setup password URL for Keycloak - Fixed URL structure
|
||||||
const setupPasswordUrl = computed(() => {
|
const setupPasswordUrl = computed(() => {
|
||||||
|
|
@ -149,6 +139,19 @@ const goToPasswordSetup = () => {
|
||||||
|
|
||||||
// Track verification
|
// Track verification
|
||||||
onMounted(() => {
|
onMounted(() => {
|
||||||
|
// Static device detection from Nuxt Device Module - no reactive dependencies
|
||||||
|
const { isMobile, isIos, isSafari } = useDevice();
|
||||||
|
|
||||||
|
// Detect mobile Safari specifically
|
||||||
|
const isMobileSafari = isMobile && isIos && isSafari;
|
||||||
|
|
||||||
|
// Apply classes once (static, no reactivity)
|
||||||
|
const containerClassList = ['verification-success'];
|
||||||
|
if (isMobile) containerClassList.push('is-mobile');
|
||||||
|
if (isMobileSafari) containerClassList.push('is-mobile-safari');
|
||||||
|
if (isIos) containerClassList.push('is-ios');
|
||||||
|
containerClasses.value = containerClassList.join(' ');
|
||||||
|
|
||||||
console.log('[verify-success] Email verification completed', {
|
console.log('[verify-success] Email verification completed', {
|
||||||
email: email.value,
|
email: email.value,
|
||||||
partialWarning: partialWarning.value,
|
partialWarning: partialWarning.value,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue