import { useTranslations } from 'next-intl';

export default function PageTitleColorFrame({ title, description }: { title: string, description: string }) {
	const t = useTranslations('Global');

	return (
		<div className="page-title-color-frame">
			<h1>
				{t(title)}
			</h1>
			<p>
				{t(description)}
			</p>
		</div>
	)
}