2025-07-03 13:35:22 -04:00
|
|
|
"use client";
|
|
|
|
|
|
2025-07-08 14:57:06 -04:00
|
|
|
import { textColor, bgColor } from '@/interfaces/common'
|
2025-07-03 13:35:22 -04:00
|
|
|
|
|
|
|
|
interface TaglineProps {
|
|
|
|
|
className?: string;
|
|
|
|
|
bgColor: bgColor;
|
|
|
|
|
textColor: textColor;
|
|
|
|
|
textTop: string;
|
|
|
|
|
textBottom: string;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const Tagline: React.FC<TaglineProps> = (
|
|
|
|
|
{ className,
|
|
|
|
|
bgColor,
|
|
|
|
|
textColor,
|
|
|
|
|
textTop,
|
|
|
|
|
textBottom
|
|
|
|
|
}
|
|
|
|
|
) => {
|
|
|
|
|
|
|
|
|
|
return (
|
2025-07-08 14:57:06 -04:00
|
|
|
<div className='h-[calc(100vh-85px)]'>
|
|
|
|
|
<div className="w-full h-screen aspect-16/9 absolute top-0 left-0 bg-britton-medium bg-blend-soft-light bg-[url('/images/bg.jpg')] bg-cover bg-position-[center_-4.5rem] rounded-b-3xl">
|
|
|
|
|
<div className="flex flex-col justify-center items-center py-20">
|
|
|
|
|
<div className="w-11/12 flex justify-start mt-58">
|
|
|
|
|
<div className="w-1/2 relative bg-britton-light text-center text-britton-dark text-7xl rounded-l-3xl rounded-t-3xl rounded-out-br-3xl py-3 px-4 ml-110">
|
|
|
|
|
{textTop}
|
|
|
|
|
</div>
|
2025-07-03 13:35:22 -04:00
|
|
|
</div>
|
2025-07-08 14:57:06 -04:00
|
|
|
<div className="w-11/12 flex justify-end">
|
|
|
|
|
<div className="w-1/2 relative bg-britton-light text-center text-britton-dark text-7xl rounded-r-3xl rounded-b-3xl rounded-out-tl-3xl py-3 px-4 mr-20">
|
|
|
|
|
{textBottom}
|
2025-07-03 13:35:22 -04:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2025-07-08 14:57:06 -04:00
|
|
|
</div>
|
2025-07-03 13:35:22 -04:00
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default Tagline;
|