mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 13:01: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
17 lines
465 B
TypeScript
17 lines
465 B
TypeScript
import { getI18n } from '@/i18n/i18n.server'
|
|
|
|
export const ProfileInformation: React.FC = () => {
|
|
const i18n = getI18n()
|
|
|
|
return (
|
|
<div className='mb-6 border-b-2 border-gray-600 pb-2 font-headline dark:border-gray-400'>
|
|
<h1 className='mb-2 text-4xl font-semibold text-yellow dark:text-yellow-dark'>
|
|
Théo LUDWIG
|
|
</h1>
|
|
<h2 className='mb-3 text-base'>
|
|
{i18n.translate('home.about.description')}
|
|
</h2>
|
|
</div>
|
|
)
|
|
}
|