Skip to content

Commit

Permalink
Update explorer/src/pages/Attestation/components/AttestationCard/inde…
Browse files Browse the repository at this point in the history
…x.tsx
  • Loading branch information
alainncls committed Nov 8, 2024
1 parent edcbc34 commit 28bec4f
Showing 1 changed file with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -108,9 +108,14 @@ export const AttestationCard: React.FC<IAttestationCardProps> = ({
}`}
>
<div>
{revoked && (
<RevokedWatermark className="absolute inset-0 w-full h-full pointer-events-none"></RevokedWatermark>
)}
{revoked && (
<div
className="absolute inset-0 flex items-center justify-center text-red-500 text-4xl md:text-6xl font-bold opacity-50 pointer-events-none"
style={{ transform: "rotate(-45deg)" }}
>
Revoked
</div>
)}
<div className="flex items-start gap-3 text-xl md:text-md font-semibold text-blackDefault dark:text-whiteDefault">
<div className="w-[2.5rem] h-[2.5rem] md:w-[3rem] md:h-[3rem] flex items-center mr-2 justify-center">
{displayLogo()}
Expand Down

0 comments on commit 28bec4f

Please sign in to comment.