All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 27s
Build & Deploy / 🧪 QA (push) Successful in 1m31s
Build & Deploy / 🏗️ Build (push) Successful in 2m56s
Build & Deploy / 🚀 Deploy (push) Successful in 31s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 58s
Build & Deploy / 🔔 Notify (push) Successful in 3s
28 lines
829 B
TypeScript
28 lines
829 B
TypeScript
'use client';
|
|
|
|
import { motion } from 'framer-motion';
|
|
import Image from 'next/image';
|
|
|
|
export function EUFundingBadge() {
|
|
return (
|
|
<motion.div
|
|
initial={{ opacity: 0 }}
|
|
animate={{ opacity: 1 }}
|
|
transition={{ duration: 2, ease: [0.16, 1, 0.3, 1] }}
|
|
className="absolute top-0 right-0 w-[350px] md:w-[550px] h-[350px] md:h-[550px] z-[40] pointer-events-none select-none"
|
|
style={{
|
|
maskImage: 'radial-gradient(ellipse at top right, black 10%, transparent 70%)',
|
|
WebkitMaskImage: 'radial-gradient(ellipse at top right, black 10%, transparent 70%)',
|
|
}}
|
|
>
|
|
<Image
|
|
src="/assets/eu-flag-perspective.png"
|
|
alt="European Union Background"
|
|
fill
|
|
className="object-cover object-top opacity-70"
|
|
priority
|
|
/>
|
|
</motion.div>
|
|
);
|
|
}
|