Files
mintel.me/apps/web/src/components/Signature.tsx
Marc Mintel b15c8408ff
Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 5s
Build & Deploy / 🏗️ Build (push) Failing after 14s
Build & Deploy / 🧪 QA (push) Failing after 1m48s
Build & Deploy / 🚀 Deploy (push) Has been skipped
Build & Deploy / 🩺 Health Check (push) Has been skipped
Build & Deploy / 🔔 Notify (push) Successful in 2s
fix(blog): optimize component share logic, typography, and modal layouts
2026-02-22 11:41:28 +01:00

37 lines
937 B
TypeScript

"use client";
import React from "react";
import { motion } from "framer-motion";
import { cn } from "../utils/cn";
import Image from "next/image";
import LogoBlack from "../assets/logo/Logo-Black-Transparent.svg";
interface SignatureProps {
className?: string;
delay?: number;
}
export const Signature: React.FC<SignatureProps> = ({
className,
delay = 0,
}) => {
return (
<div className={cn("relative", className)}>
<motion.div
initial={{ clipPath: "polygon(0 0, 0 0, 0 100%, 0% 100%)" }}
whileInView={{ clipPath: "polygon(0 0, 100% 0, 100% 100%, 0% 100%)" }}
viewport={{ once: true }}
transition={{ duration: 2.5, delay: delay, ease: "easeInOut" }}
className="relative"
>
<Image
src={LogoBlack}
alt="Marc Mintel Signature"
className="w-full h-auto opacity-90"
priority
/>
</motion.div>
</div>
);
};