um-react/src/Footer.tsx

42 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-05-07 22:29:37 +00:00
import { Center, Link, Text } from '@chakra-ui/react';
2023-05-14 23:09:54 +00:00
import { Suspense } from 'react';
import { SDKVersion } from './SDKVersion';
2023-05-07 22:29:37 +00:00
export function Footer() {
return (
<Center height="footer.container">
<Center
height="footer.content"
fontSize="sm"
textAlign="center"
position="fixed"
bottom="0"
w="full"
bg="gray.100"
color="gray.800"
left="0"
flexDir="column"
>
<Text>
2023-05-14 23:09:54 +00:00
{'音乐解锁 (x.x.x) '}
<Suspense>
<SDKVersion />
</Suspense>
{' - 移除已购音乐的加密保护。'}
</Text>
<Text>
{'Copyright © 2019 - 2023 '}
2023-05-07 22:29:37 +00:00
<Link href="https://git.unlock-music.dev/um" isExternal>
UnlockMusic
2023-05-14 23:09:54 +00:00
</Link>
{' | 音乐解锁授权基于'}
2023-05-07 22:29:37 +00:00
<Link href="https://git.unlock-music.dev/um/um-react/src/branch/main/LICENSE" isExternal>
MIT许可协议
</Link>
</Text>
</Center>
</Center>
);
}