2025-10-13 14:57:11 +02:00
|
|
|
import classNames from "classnames";
|
|
|
|
|
import {FC} from "react";
|
|
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
|
children: string,
|
|
|
|
|
className?: string,
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const PageTitle: FC<Props> = ({ children, className }) => {
|
|
|
|
|
const styles = classNames(
|
2025-10-13 17:39:00 +02:00
|
|
|
'ml-4 text-2xl font-default uppercase w-full text-accent font-bold',
|
2025-10-13 14:57:11 +02:00
|
|
|
className,
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
return <h1 className={styles}>{ children }</h1>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default PageTitle
|