mirror of
https://github.com/hpware/news-analyze.git
synced 2025-06-23 15:51:01 +08:00
20 lines
809 B
Vue
20 lines
809 B
Vue
<script setup lang="ts">
|
|
import DraggableWindow from "~/components/DraggableWindow.vue";
|
|
|
|
const title = ref("Login");
|
|
</script>
|
|
<template>
|
|
<DraggableWindow :title="title">
|
|
<div class="flex flex-col items-center justify-center h-full">
|
|
<form class="flex flex-col items-center justify-center h-full">
|
|
<div class="text-xl mb-4 text-bold">Login / Register</div>
|
|
|
|
<input type="text" placeholder="Username" class="mb-2 p-2 border rounded" />
|
|
<input type="password" placeholder="Password" class="p-2 border rounded mb-2" />
|
|
<button class="bg-black text-white p-2 rounded transition duration-200">
|
|
Log In
|
|
</button>
|
|
</form>
|
|
</div>
|
|
</DraggableWindow>
|
|
</template> |