diff --git a/components/HomeBanner.tsx b/components/HomeBanner.tsx index c2a50be..aa40bc8 100644 --- a/components/HomeBanner.tsx +++ b/components/HomeBanner.tsx @@ -165,7 +165,7 @@ export default function HomeBanner() { data-alt="home-banner" className={`absolute inset-0 z-10 isolate overflow-hidden rounded-3xl px-6 py-6 text-white border-2 border-transparent hover:border-custom-blue/50 transition-all duration-400 ease-in-out ${ isFlying - ? "translate-x-[90%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" + ? isDesktop ? "translate-x-[90%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" : "translate-x-[80%] -translate-y-[70%] scale-[0.85] opacity-95 rotate-3" : "translate-x-0 translate-y-0 scale-100 opacity-100 rotate-0" }`} aria-label="Home banner"