corrected shadow and glow

This commit is contained in:
2025-09-28 20:36:01 +02:00
parent e2f0aaf37e
commit 6a2bc6659f

View File

@@ -45,14 +45,14 @@ export function ProjectCard({
return ( return (
<Link <Link
href={href || "#"} href={href || "#"}
className={cn("block cursor-pointer font-normal cards", className)} className={cn(
> "block cursor-pointer font-normal cards rounded-xl",
className
)}>
<Card <Card
className={ className={
"group flex flex-col overflow-hidden h-75 gap-2 py-3 border" "group flex flex-col overflow-hidden h-75 gap-2 py-3 border"
} }>
>
{video && ( {video && (
<video <video
src={video} src={video}
@@ -77,18 +77,17 @@ export function ProjectCard({
<div className="space-y-1"> <div className="space-y-1">
<CardTitle className="mt-1 text-base flex items-center"> <CardTitle className="mt-1 text-base flex items-center">
<span className="truncate max-w-65">{title}</span> <span className="truncate max-w-65">{title}</span>
<ChevronRightIcon <ChevronRightIcon className="size-4 shrink-0 translate-x-0 transform opacity-0 transition-all duration-300 ease-out group-hover:translate-x-1 group-hover:opacity-100" />
className="size-4 shrink-0 translate-x-0 transform opacity-0 transition-all duration-300 ease-out group-hover:translate-x-1 group-hover:opacity-100"
/>
</CardTitle> </CardTitle>
<time className="font-sans text-xs">{dates}</time> <time className="font-sans text-xs">{dates}</time>
<div className="hidden font-sans text-xs underline print:visible"> <div className="hidden font-sans text-xs underline print:visible">
{link?.replace("https://", "").replace("www.", "").replace("/", "")} {link
?.replace("https://", "")
.replace("www.", "")
.replace("/", "")}
</div> </div>
<div className="prose max-w-full text-pretty font-sans text-xs text-muted-foreground dark:prose-invert"> <div className="prose max-w-full text-pretty font-sans text-xs text-muted-foreground dark:prose-invert">
<Markdown> <Markdown>{description}</Markdown>
{description}
</Markdown>
</div> </div>
</div> </div>
</CardHeader> </CardHeader>