fix: add header for ChooseUsernamePage

This commit is contained in:
neilchen0812 committed 2026-10-10 00:29:25 +10:30
1 parent b47e52406f
commit 54f73504ec
1 file changed
+4 -2
+4 -2
View File
@@ -1,7 +1,8 @@
<script setup lang="ts">
import { isValidUsername } from '../../../packages/utils'
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, ValidationError } from '../utils/errors'
import { checkUsername, chooseUsername } from '../utils/auth'
@@ -63,10 +64,11 @@ async function handleSubmit({
<template>
<div class="w-screen h-screen">
<Background class="w-full h-full" />
<DynamicBackground class="w-full h-full" />
<div
class="h-screen w-screen absolute top-0 left-0 flex flex-wrap justify-center content-center"
>
<HeaderPart />
<div class="w-fit">
<AuthForm
@onSubmit="handleSubmit"