idk bro, viewing works
This commit is contained in:
@@ -34,7 +34,7 @@ export default function BlogCard({ blog }: BlogCardProps) {
|
||||
return (
|
||||
<div
|
||||
className="group flex flex-col justify-between p-6 border border-slate-200/80 rounded-2xl bg-gradient-to-b from-white to-slate-50/50 dark:from-slate-900 dark:to-slate-950 text-card-foreground shadow-sm hover:shadow-xl hover:-translate-y-1 hover:border-emerald-600/40 transition-all duration-300 h-64 relative overflow-hidden"
|
||||
onClick={() => router.push(`/write/${blog.id}`)}
|
||||
onClick={() => router.push(`/write/edit?id=${blog.id}`)}
|
||||
>
|
||||
{/* Decorative background glow that triggers on hover */}
|
||||
<div className="absolute -right-10 -top-10 w-24 h-24 bg-emerald-500/10 rounded-full blur-2xl group-hover:bg-emerald-500/20 transition-all duration-500" />
|
||||
|
||||
Reference in New Issue
Block a user