fix: fixed html nest issue
This commit is contained in:
1 parent
3d82ef9671
commit
14be41befd
1 file changed
+3
-1
@@ -31,7 +31,9 @@ export function Card({ title, href, children }: { title: string, href: string, c
|
|||||||
return (
|
return (
|
||||||
<a href={href} className="block p-6 bg-zinc-900 border border-zinc-800 rounded-xl hover:border-blue-500 transition-colors group">
|
<a href={href} className="block p-6 bg-zinc-900 border border-zinc-800 rounded-xl hover:border-blue-500 transition-colors group">
|
||||||
<h3 className="text-lg font-bold text-white group-hover:text-blue-400 m-0 mb-2">{title}</h3>
|
<h3 className="text-lg font-bold text-white group-hover:text-blue-400 m-0 mb-2">{title}</h3>
|
||||||
<p className="text-zinc-400 text-sm m-0 leading-relaxed">{children}</p>
|
<div className="text-zinc-400 text-sm m-0 leading-relaxed">
|
||||||
|
{children}
|
||||||
|
</div>
|
||||||
</a>
|
</a>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user