Initial Changes
This commit is contained in:
@@ -3,11 +3,17 @@ import { FaArrowRightLong } from "react-icons/fa6";
|
||||
import { FaWhatsapp } from "react-icons/fa";
|
||||
import { useRouter } from "next/navigation";
|
||||
|
||||
const PremiumBannerOne = ({ data }) => {
|
||||
const PremiumBannerOne = ({ data, bannerImage }) => {
|
||||
const { header2, description2 } = data ?? {};
|
||||
const router = useRouter();
|
||||
const banner = bannerImage ?? "/consultation_banner_1.webp";
|
||||
return (
|
||||
<div className="h-[65vh] bg-[url('/consultation_banner_1.webp')] ">
|
||||
<div
|
||||
className={"h-[45vh] "}
|
||||
style={{
|
||||
backgroundImage: `url(${banner})`,
|
||||
}}
|
||||
>
|
||||
<div className="flex flex-col justify-start sm:w-3/4 p-4 sm:pl-52 sm:pt-28 ">
|
||||
<h1 className="sm:text-5xl text-3xl sm:text-left text-center mb-5 tracking-wider sm:w-3/4 font-serif">
|
||||
{header2 ??
|
||||
|
||||
Reference in New Issue
Block a user