We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e075eb3 commit a62b793Copy full SHA for a62b793
src/components/project-summary.tsx
@@ -37,8 +37,7 @@ const ProjectSummary: React.FC<ProjectSummaryProps> = ({
37
fill
38
className="object-cover rounded"
39
/>
40
- <div className="absolute inset-0 dark:bg-black bg-white opacity-80"></div>
41
- <div className="relative z-10 p-2">
+ <div className="w-full h-full relative z-10 p-2 hover:opacity-0 dark:bg-black bg-white dark:opacity-90 opacity:90 transition-opacity duration-500">
42
<h2 className="text-lg font-bold">{title}</h2>
43
<p className="text-sm">{dateWorked}</p>
44
<p className="text-sm pt-2" dangerouslySetInnerHTML={{ __html: description }}></p>
0 commit comments