feat: refactor PopupModal to use Headless UI components and update FormLogin layout

This commit is contained in:
Ardeman
2025-02-22 15:17:46 +08:00
parent 531871d349
commit 54faf57262
4 changed files with 154 additions and 27 deletions
+2 -15
View File
@@ -2,27 +2,14 @@
import { useState } from 'react'
import { Link } from 'react-router'
import { LeftArrow } from '~/components/icons/left-arrow'
import { APP } from '~/data/meta'
const FormLogin = () => {
const [showPassword, setShowPassword] = useState(false)
return (
<div className="flex min-h-screen items-center justify-center">
<div className="w-full max-w-md p-6">
<div className="absolute top-[80px] left-[50px]">
<Link
to="/#"
className="mt-2 h-full py-2"
>
<LeftArrow
width={'70px'}
height={'70px'}
></LeftArrow>
</Link>
</div>
<div className="flex items-center justify-center">
<div className="w-full max-w-md">
<div className="mb-6 flex justify-center">
<Link to="/news">
<img