add new marking-content layout
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
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>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user