2025-11-21 10:53:33 +00:00
|
|
|
import clsx from "clsx";
|
2025-10-12 17:42:17 +00:00
|
|
|
import React from "react";
|
|
|
|
|
|
2025-11-21 10:53:33 +00:00
|
|
|
export const Title = ({
|
|
|
|
|
text,
|
|
|
|
|
className,
|
|
|
|
|
}: {
|
|
|
|
|
text: string | boolean;
|
|
|
|
|
className?: string;
|
|
|
|
|
}) => {
|
2025-10-12 17:42:17 +00:00
|
|
|
return (
|
2025-11-21 10:53:33 +00:00
|
|
|
<h2
|
|
|
|
|
className={clsx(
|
|
|
|
|
`text-[26px] sm:text-[34px] leading-[115%] font-normal`,
|
|
|
|
|
className
|
|
|
|
|
)}
|
|
|
|
|
>
|
2025-10-12 17:42:17 +00:00
|
|
|
{text}
|
|
|
|
|
</h2>
|
|
|
|
|
);
|
|
|
|
|
};
|