Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 3 additions & 5 deletions src/components/content/cover/ScrollUpCover.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
'use client';

import { usePageEntryStore } from '@/stores/pageEntry';
import Image from 'next/image';
import { twMerge } from 'tailwind-merge';

const coverWrapperClass = twMerge(
Expand Down Expand Up @@ -32,12 +31,11 @@ export default function ScrollUpCover({ data }: { data: CoverData }) {
opacity: isInitialized ? 1 : 0
} }
>
<figure className="min-w-[80%] max-w-[80%] relative h-[60%] my-3 opacity-80 mt-20">
<Image
<figure className="min-w-[80%] max-w-[80%] relative h-[60%] my-3 mt-20">
<img
src={ data.coverImage }
alt="coverImage"
fill
unoptimized
className="w-full h-full object-cover"
/>
</figure>

Expand Down