Redesign p1

This commit is contained in:
2025-12-17 02:03:33 +07:00
parent 11f7b59471
commit 332491454d
29 changed files with 5137 additions and 2587 deletions

View File

@@ -4,11 +4,18 @@ import { clsx } from 'clsx'
interface CardProps {
children: ReactNode
className?: string
hover?: boolean
}
export function Card({ children, className }: CardProps) {
export function Card({ children, className, hover = false }: CardProps) {
return (
<div className={clsx('bg-gray-800 rounded-xl p-6 shadow-lg', className)}>
<div
className={clsx(
'bg-dark-800 rounded-xl p-6 border border-dark-600',
hover && 'transition-all duration-300 hover:-translate-y-1 hover:border-neon-500/30 hover:shadow-[0_10px_40px_rgba(0,240,255,0.1)]',
className
)}
>
{children}
</div>
)