mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 04:51:30 +01:00
Théo LUDWIG
6b29ce9b15
Improvements: - Hide switch theme input (ugly little white square) - i18n without subpath (e.g: /fr or /en), same url whatever the locale used
24 lines
593 B
TypeScript
24 lines
593 B
TypeScript
import { getI18n } from '@/i18n/i18n.server'
|
|
|
|
export const ProfileDescriptionBottom: React.FC = () => {
|
|
const i18n = getI18n()
|
|
|
|
return (
|
|
<p className='mb-8 mt-8 text-base font-normal text-gray dark:text-gray-dark'>
|
|
{i18n.translate('home.about.description-bottom')}
|
|
{i18n.locale === 'fr-FR' ? (
|
|
<>
|
|
<br />
|
|
<br />
|
|
<a
|
|
href='/curriculum-vitae/index.html'
|
|
className='text-yellow hover:underline dark:text-yellow-dark'
|
|
>
|
|
Curriculum vitæ
|
|
</a>
|
|
</>
|
|
) : null}
|
|
</p>
|
|
)
|
|
}
|