Init v1.0.0
Build & Push Docker Image / build (push) Failing after 53s

This commit is contained in:
2026-02-24 18:14:16 +01:00
commit 54d6ee553a
49 changed files with 10410 additions and 0 deletions
+25
View File
@@ -0,0 +1,25 @@
import { X } from 'lucide-react';
export default function Modal({ title, children, onClose, maxWidth = 'max-w-lg' }) {
return (
<div className="fixed inset-0 z-50 flex items-center justify-center p-4">
<div className="fixed inset-0 bg-black/60 backdrop-blur-sm" onClick={onClose} />
<div className={`relative bg-th-card rounded-2xl border border-th-border shadow-2xl w-full ${maxWidth} overflow-hidden`}>
{/* Header */}
<div className="flex items-center justify-between px-6 py-4 border-b border-th-border">
<h2 className="text-lg font-semibold text-th-text">{title}</h2>
<button
onClick={onClose}
className="p-2 rounded-lg hover:bg-th-hover text-th-text-s transition-colors"
>
<X size={20} />
</button>
</div>
{/* Body */}
<div className="p-6">
{children}
</div>
</div>
</div>
);
}