2021-04-18 01:56:23 +02:00
|
|
|
import htmlParser from 'html-react-parser'
|
|
|
|
|
|
|
|
export interface InterestParagraphProps {
|
|
|
|
title: string
|
|
|
|
description: string
|
|
|
|
}
|
|
|
|
|
2023-08-01 17:22:09 +02:00
|
|
|
export const InterestParagraph = (
|
|
|
|
props: InterestParagraphProps
|
|
|
|
): JSX.Element => {
|
2021-04-18 01:56:23 +02:00
|
|
|
const { title, description } = props
|
|
|
|
|
|
|
|
return (
|
|
|
|
<>
|
2021-12-04 15:52:51 +01:00
|
|
|
<p className='my-6 text-center text-gray dark:text-gray-dark'>
|
|
|
|
<strong className='text-lg font-semibold text-yellow dark:text-yellow-dark'>
|
2021-05-08 19:52:04 +02:00
|
|
|
{title}
|
|
|
|
</strong>
|
2021-04-18 01:56:23 +02:00
|
|
|
<br />
|
2021-06-10 00:17:52 +02:00
|
|
|
<span>{htmlParser(description)}</span>
|
2021-04-18 01:56:23 +02:00
|
|
|
</p>
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|