mirror of
https://github.com/YunoHost/yunohost-portal.git
synced 2024-09-03 20:06:23 +02:00
readd base layout onto Login
This commit is contained in:
parent
9db0745505
commit
34092041e6
1 changed files with 11 additions and 2 deletions
|
@ -5,9 +5,12 @@ definePageMeta({
|
|||
layout: false,
|
||||
})
|
||||
|
||||
const isLoggedIn = useIsLoggedIn()
|
||||
|
||||
const head = useLocaleHead({
|
||||
addDirAttribute: true,
|
||||
addSeoAttributes: true,
|
||||
})
|
||||
const { t } = useI18n()
|
||||
const isLoggedIn = useIsLoggedIn()
|
||||
|
||||
async function login(form) {
|
||||
const { error } = await useApi('/login', {
|
||||
|
@ -31,6 +34,7 @@ const schema = {
|
|||
|
||||
<template>
|
||||
<main class="w-50 m-auto">
|
||||
<Html :lang="head.htmlAttrs?.lang" :dir="head.htmlAttrs?.dir"></Html>
|
||||
<img
|
||||
class="flex-none mx-auto w-1/2 mb-10"
|
||||
src="/assets/img/logo-white.svg"
|
||||
|
@ -67,6 +71,11 @@ const schema = {
|
|||
</template>
|
||||
|
||||
<style>
|
||||
/* FIXME add in css file */
|
||||
body {
|
||||
font-family: 'Source Sans 3';
|
||||
}
|
||||
|
||||
#__nuxt {
|
||||
@apply min-h-screen flex;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue