2026-02-04 16:57:25 +07:00
|
|
|
<script setup lang="ts">
|
|
|
|
|
const $q = useQuasar()
|
|
|
|
|
|
|
|
|
|
// บังคับให้หน้า Auth เคลียร์ Dark Mode ของระบบทิ้ง
|
|
|
|
|
useHead({
|
|
|
|
|
htmlAttrs: {
|
|
|
|
|
class: 'light',
|
|
|
|
|
style: 'background-color: #ffffff'
|
|
|
|
|
},
|
|
|
|
|
bodyAttrs: {
|
|
|
|
|
class: 'light',
|
|
|
|
|
style: 'background-color: #ffffff'
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
onMounted(() => {
|
|
|
|
|
$q.dark.set(false)
|
|
|
|
|
})
|
|
|
|
|
</script>
|
|
|
|
|
|
2026-01-13 10:46:40 +07:00
|
|
|
<template>
|
|
|
|
|
<!-- Auth Shell: Wrapper for authentication pages (Login, Register, etc.) -->
|
2026-02-04 16:57:25 +07:00
|
|
|
<div class="auth-shell bg-white w-full min-h-screen">
|
2026-01-13 10:46:40 +07:00
|
|
|
<slot />
|
|
|
|
|
</div>
|
|
|
|
|
</template>
|