mirror of
https://github.com/theoludwig/theoludwig.git
synced 2024-11-05 13:01:30 +01:00
29 lines
639 B
TypeScript
29 lines
639 B
TypeScript
import useTranslation from 'next-translate/useTranslation'
|
|
|
|
export const Footer: React.FC = () => {
|
|
const { t } = useTranslation()
|
|
|
|
return (
|
|
<>
|
|
<footer className='Footer text-center'>
|
|
<p>
|
|
<span className='important'>Divlo</span> | {t('common:allRightsReserved')}
|
|
</p>
|
|
</footer>
|
|
|
|
<style jsx>
|
|
{`
|
|
.Footer {
|
|
border-top: var(--border-header-footer);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 10px;
|
|
}
|
|
`}
|
|
</style>
|
|
</>
|
|
)
|
|
}
|