add header to login and register page, modified header class but not fit for all circumstances

This commit is contained in:
Annie Huang committed 2024-04-06 22:06:29 +08:00
1 parent ad29137b86
commit 8c4a9ea871
7 files changed
+40 -22

No files matched your search

+4 -2
View File
@@ -1,6 +1,7 @@
<script setup lang="ts">
import AuthForm from '../components/AuthForm.vue'
import Background from '../components/DynamicBackground.vue'
import DynamicBackground from '../components/DynamicBackground.vue'
import HeaderPart from '../components/header/HeaderPart.vue'
import {
TooManyRequestsError,
@@ -45,10 +46,11 @@ const handleLogin = async ({
<template>
<div class="w-screen h-screen">
<Background class="w-full h-full" />
<DynamicBackground class="w-full h-full" />
<div
class="w-screen h-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<HeaderPart />
<div class="w-fit">
<AuthForm @onSubmit="handleLogin" type="login" />
</div>