dev
This commit is contained in:
@@ -10,7 +10,7 @@ import {
|
||||
LifeBuoy,
|
||||
// Map,
|
||||
// PieChart,
|
||||
Send,
|
||||
Bell,
|
||||
// Settings2,
|
||||
SquareTerminal,
|
||||
Moon,
|
||||
@@ -140,7 +140,7 @@ const data = {
|
||||
{
|
||||
title: "反馈",
|
||||
url: "#",
|
||||
icon: Send,
|
||||
icon: Bell,
|
||||
},
|
||||
],
|
||||
// projects: [
|
||||
|
||||
@@ -1,52 +0,0 @@
|
||||
<script setup lang="ts">
|
||||
import type { HTMLAttributes } from "vue";
|
||||
|
||||
import { GalleryVerticalEnd } from "lucide-vue-next";
|
||||
import { cn } from "@/lib/utils";
|
||||
import { Button } from "@/components/ui/button";
|
||||
import {
|
||||
Field,
|
||||
FieldDescription,
|
||||
FieldGroup,
|
||||
FieldLabel,
|
||||
FieldSeparator,
|
||||
} from "@/components/ui/field";
|
||||
import { Input } from "@/components/ui/input";
|
||||
|
||||
const props = defineProps<{
|
||||
class?: HTMLAttributes["class"];
|
||||
}>();
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div :class="cn('flex flex-col gap-6', props.class)">
|
||||
<form>
|
||||
<FieldGroup>
|
||||
<div class="flex flex-col items-center gap-2 text-center">
|
||||
<a href="#" class="flex flex-col items-center gap-2 font-medium">
|
||||
<div class="flex size-8 items-center justify-center rounded-md">
|
||||
<GalleryVerticalEnd class="size-6" />
|
||||
</div>
|
||||
<span class="sr-only">DNF计算器</span>
|
||||
</a>
|
||||
<!-- <h1 class="text-xl font-bold">输入助手ID</h1> -->
|
||||
<!-- <FieldDescription>请输入助手的社区ID </FieldDescription> -->
|
||||
</div>
|
||||
<Field class="flex flex-col items-center">
|
||||
<FieldLabel for="helperId" class="sr-only"> 助手ID </FieldLabel>
|
||||
<Input id="helperId" type="number" placeholder="助手社区ID" required />
|
||||
<!-- <FieldDescription class="text-center">
|
||||
Didn't receive the code? <a href="#">Resend</a>
|
||||
</FieldDescription> -->
|
||||
</Field>
|
||||
<Field>
|
||||
<Button class="self-center w-sm!" type="submit"> 确认 </Button>
|
||||
</Field>
|
||||
</FieldGroup>
|
||||
</form>
|
||||
<FieldSeparator class="w-sm self-center">没有助手ID</FieldSeparator>
|
||||
<FieldDescription class="px-6 text-center">
|
||||
<Button variant="outline"> 选择职业 </Button>
|
||||
</FieldDescription>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user