forked from Rosetta/landing
Добавить юридический футер
This commit is contained in:
9
src/components/Footer/Footer.module.css
Normal file
9
src/components/Footer/Footer.module.css
Normal file
@@ -0,0 +1,9 @@
|
||||
.footer {
|
||||
padding: var(--mantine-spacing-xl) var(--mantine-spacing-md);
|
||||
border-top: 1px solid light-dark(var(--mantine-color-gray-2), var(--mantine-color-dark-5));
|
||||
}
|
||||
|
||||
.legal {
|
||||
max-width: 720px;
|
||||
margin: 0 auto;
|
||||
}
|
||||
16
src/components/Footer/Footer.tsx
Normal file
16
src/components/Footer/Footer.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Text } from '@mantine/core';
|
||||
import classes from './Footer.module.css';
|
||||
|
||||
const LEGAL_NAME = 'ROSETTA CLOUD SERVICES LIMITED';
|
||||
|
||||
export function Footer() {
|
||||
const currentYear = new Date().getFullYear();
|
||||
|
||||
return (
|
||||
<footer className={classes.footer}>
|
||||
<Text c="dimmed" fz="sm" ta="center" className={classes.legal}>
|
||||
© {currentYear} {LEGAL_NAME}. All rights reserved.
|
||||
</Text>
|
||||
</footer>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user