"use client" import type React from "react" import { useState } from "react" import { Eye, EyeOff, Lock, User, Loader2, ArrowRight } from "lucide-react" import { Input } from "@/components/ui/input" import { Label } from "@/components/ui/label" import { Checkbox } from "@/components/ui/checkbox" import { cn } from "@/lib/utils" export function LoginForm() { const [showPassword, setShowPassword] = useState(false) const [loading, setLoading] = useState(false) const [username, setUsername] = useState("") const [password, setPassword] = useState("") function handleSubmit(e: React.FormEvent) { e.preventDefault() setLoading(true) setTimeout(() => setLoading(false), 1600) } const demoAccounts = [ { icon: "👑", role: "Admin", user: "admin", pass: "password" }, { icon: "📝", role: "Petugas", user: "petugas", pass: "password" }, { icon: "👁️", role: "Guest", user: "guest", pass: "password" }, ] function fillDemo(user: string, pass: string) { setUsername(user) setPassword(pass) } return (
WebGIS Geospasial
Sistem Analisis Spasial
Masuk ke akun Anda untuk mengakses peta dan data analisis spasial.
Info Akun Demo
· klik untuk mengisi© {new Date().getFullYear()} WebGIS Geospasial · Kementerian Analisis Spasial