完成布局

This commit is contained in:
2025-07-25 11:36:11 +08:00
parent 9dafb6ff47
commit c4995bbe9a
22 changed files with 381 additions and 124 deletions

View File

@@ -0,0 +1,42 @@
<script setup lang="ts">
const providers = ref([
{
label: 'Google',
icon: 'i-simple-icons-google',
color: 'neutral',
variant: 'subtle'
},
{
label: 'GitHub',
icon: 'i-simple-icons-github',
color: 'neutral',
variant: 'subtle'
}
])
const fields = ref([
{
name: 'email',
type: 'text',
label: 'Email'
},
{
name: 'password',
type: 'password',
label: 'Password'
}
])
</script>
<template>
<UAuthForm
class="max-w-md"
title="Login"
description="Enter your credentials to access your account."
icon="i-lucide-user"
:fields="fields"
:providers="providers"
:separator="{
icon: 'i-lucide-user'
}"
/>
</template>