mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-10 06:18:07 +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
20 lines
385 B
TypeScript
20 lines
385 B
TypeScript
import Link from 'next/link'
|
|
|
|
import { getI18n } from '@/i18n/i18n.server'
|
|
|
|
export const FooterText = (): JSX.Element => {
|
|
const i18n = getI18n()
|
|
|
|
return (
|
|
<p>
|
|
<Link
|
|
href='/'
|
|
className='text-yellow hover:underline dark:text-yellow-dark'
|
|
>
|
|
Théo LUDWIG
|
|
</Link>{' '}
|
|
| {i18n.translate('common.all-rights-reserved')}
|
|
</p>
|
|
)
|
|
}
|