style: redesigned card component
This commit is contained in:
1 parent
43054e98ad
commit
cbe0bd6e1d
2 files changed
+7
-1
No files matched your search
+1
-1
@@ -9,7 +9,7 @@ interface CardProps extends ComponentPropsWithoutRef<"section"> {
|
||||
export default function Card({ title, hasLeftBorder = false, children, className = "", ...props }: CardProps) {
|
||||
return (
|
||||
<section
|
||||
className={`p-5 flex flex-col justify-between ${className}`}
|
||||
className={`p-5 flex flex-col justify-between ${className} bg-slate-400/30 dark:bg-slate-700/30 rounded-xl`}
|
||||
{...props}
|
||||
>
|
||||
<h2 className="text-lg font-semibold mb-4 flex items-center gap-2">
|
||||
|
||||
Reference in new issue
Block a user