detail page done
This commit is contained in:
@@ -29,12 +29,12 @@ export function LoginForm() {
|
||||
<>
|
||||
{/* Backdrop */}
|
||||
<div
|
||||
className="fixed inset-0 z-10 bg-black/40 backdrop-blur-sm"
|
||||
className="fixed inset-0 z-20 bg-black/40 backdrop-blur-sm"
|
||||
onClick={toggleLoginModal}
|
||||
/>
|
||||
|
||||
{/* Modal */}
|
||||
<div className="fixed inset-0 z-20 flex items-center justify-center pointer-events-none px-6">
|
||||
<div className="fixed inset-0 z-30 flex items-center justify-center pointer-events-none px-6">
|
||||
<MotionWrapper>
|
||||
<div className="pointer-events-auto w-full max-w-sm rounded border border-stone-200 bg-white px-8 pb-8 pt-10 shadow-sm">
|
||||
{/* Close */}
|
||||
|
||||
@@ -1,3 +1,5 @@
|
||||
'use client';
|
||||
|
||||
import { useCallback, useState } from 'react';
|
||||
import { useRegisterZustand } from './registerZustand';
|
||||
import { validateRegister, RegisterErrors } from './validateRegister';
|
||||
|
||||
@@ -12,12 +12,12 @@ export function RegisterForm() {
|
||||
<>
|
||||
{/* Backdrop */}
|
||||
<div
|
||||
className="fixed inset-0 z-10 bg-black/40 backdrop-blur-sm"
|
||||
className="fixed inset-0 z-20 bg-black/40 backdrop-blur-sm"
|
||||
onClick={toggleRegisterModal}
|
||||
/>
|
||||
|
||||
{/* Modal */}
|
||||
<div className="fixed inset-0 z-20 flex items-center justify-center pointer-events-none">
|
||||
<div className="fixed inset-0 z-30 flex items-center justify-center pointer-events-none">
|
||||
<MotionWrapper>
|
||||
<div className="pointer-events-auto bg-background rounded-2xl shadow-2xl p-8 w-full max-w-sm mx-4">
|
||||
{/* Close button */}
|
||||
|
||||
Reference in New Issue
Block a user