"use client"; import React, { useEffect } from "react"; import Link from "next/link"; interface InnerBannerProps { title: string; breadcrumb?: string; // overrides title in breadcrumb if different bgImage?: string; // optional custom background, defaults to hero-bg1 } const InnerBanner = ({ title, breadcrumb, bgImage = "/assets/img/bg/hero-bg1.png", }: InnerBannerProps) => { const crumb = breadcrumb ?? title; useEffect(() => { if (typeof window !== "undefined") { // @ts-ignore if (window.WOW) { // @ts-ignore new window.WOW({ live: false }).init(); } } }, []); return ( <>
{/* shape2 – bottom-left large */}
shape
{/* shape1 – bottom-left small (layered above shape2) */}
shape
{/* shape3 – right side with sway */}
shape
{/* text content */}

{title}

Home {crumb}
); }; export default InnerBanner;