https://dev.kronoz.win/r/marzneshin.git
| 1 |
bf7c131 |
Mardin |
2y ago |
import { BoxProps, HStack, Link, Text } from '@chakra-ui/react'; |
| 2 |
6aab6f0 |
Mrdn |
2y ago |
import { ORGANIZATION_URL, CO_CONTRIBUTOR, REPO_URL } from 'constants/Project'; |
| 3 |
89f8f93 |
Mardin |
2y ago |
import { useDashboard } from 'stores'; |
| 4 |
bf7c131 |
Mardin |
2y ago |
import { FC } from 'react'; |
| 5 |
a47eb4c |
Dawsh |
2y ago |
|
| 6 |
a47eb4c |
Dawsh |
2y ago |
export const Footer: FC<BoxProps> = (props) => { |
| 7 |
a47eb4c |
Dawsh |
2y ago |
const { version } = useDashboard(); |
| 8 |
a47eb4c |
Dawsh |
2y ago |
return ( |
| 9 |
6aab6f0 |
Mrdn |
2y ago |
<HStack w="full" position="fixed" justifyContent="center" {...props}> |
| 10 |
a47eb4c |
Dawsh |
2y ago |
<Text |
| 11 |
a47eb4c |
Dawsh |
2y ago |
display="inline-block" |
| 12 |
a47eb4c |
Dawsh |
2y ago |
color="gray.500" |
| 13 |
a47eb4c |
Dawsh |
2y ago |
fontSize="xs" |
| 14 |
a47eb4c |
Dawsh |
2y ago |
> |
| 15 |
a47eb4c |
Dawsh |
2y ago |
<Link color="blue.400" href={REPO_URL}> |
| 16 |
112aaed |
Mardin |
2y ago |
Marzneshin |
| 17 |
a47eb4c |
Dawsh |
2y ago |
</Link> |
| 18 |
bf7c131 |
Mardin |
2y ago |
{version ? ` (v${version}), ` : ', '} |
| 19 |
6aab6f0 |
Mrdn |
2y ago |
Made by{' '} |
| 20 |
a47eb4c |
Dawsh |
2y ago |
<Link color="blue.400" href={ORGANIZATION_URL}> |
| 21 |
bedeeff |
Mardin |
2y ago |
khodedawsh |
| 22 |
a47eb4c |
Dawsh |
2y ago |
</Link> |
| 23 |
6aab6f0 |
Mrdn |
2y ago |
{' & '} |
| 24 |
6aab6f0 |
Mrdn |
2y ago |
<Link color="blue.400" href={CO_CONTRIBUTOR}> |
| 25 |
6aab6f0 |
Mrdn |
2y ago |
mardin.cc |
| 26 |
6aab6f0 |
Mrdn |
2y ago |
</Link> |
| 27 |
a47eb4c |
Dawsh |
2y ago |
</Text> |
| 28 |
a47eb4c |
Dawsh |
2y ago |
</HStack> |
| 29 |
a47eb4c |
Dawsh |
2y ago |
); |
| 30 |
a47eb4c |
Dawsh |
2y ago |
}; |