design login-register pages
This commit is contained in:
@@ -32,6 +32,8 @@ const isWideGuest = computed(() => {
|
||||
]
|
||||
return wideRoutes.includes(route.name as string)
|
||||
})
|
||||
|
||||
const isImmersiveAuth = computed(() => route.name === 'login' || route.name === 'register')
|
||||
</script>
|
||||
|
||||
<template>
|
||||
@@ -41,6 +43,7 @@ const isWideGuest = computed(() => {
|
||||
'app-shell--no-nav': !showNav,
|
||||
'app-shell--wide': isWideGuest,
|
||||
'app-shell--with-nav': showNav,
|
||||
'app-shell--immersive': isImmersiveAuth,
|
||||
}"
|
||||
>
|
||||
<div class="app-layout">
|
||||
|
||||
Reference in New Issue
Block a user