mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-23 22:42:16 +00:00
Revert "feat: 修改底部版权区域,使用 Wrap 组件来实现文字间的间隔,把结束年份动态获取当前年份"
This reverts commit d2bc92c39d
.
This commit is contained in:
parent
4b7ed90247
commit
0f99f9ac4f
@ -1,9 +1,8 @@
|
|||||||
import { Center, Flex, Link, Text, Wrap, WrapItem } from '@chakra-ui/react';
|
import { Center, Flex, Link, Text } from '@chakra-ui/react';
|
||||||
import { Suspense, useMemo } from 'react';
|
import { Suspense } from 'react';
|
||||||
import { SDKVersion } from './SDKVersion';
|
import { SDKVersion } from './SDKVersion';
|
||||||
|
|
||||||
export function Footer() {
|
export function Footer() {
|
||||||
const year = useMemo(() => new Date().getFullYear(), []);
|
|
||||||
return (
|
return (
|
||||||
<Center height="footer.container">
|
<Center height="footer.container">
|
||||||
<Center
|
<Center
|
||||||
@ -19,23 +18,23 @@ export function Footer() {
|
|||||||
flexDir="column"
|
flexDir="column"
|
||||||
>
|
>
|
||||||
<Flex as={Text}>
|
<Flex as={Text}>
|
||||||
音乐解锁 (__APP_VERSION_SHORT__
|
{'音乐解锁 (__APP_VERSION_SHORT__'}
|
||||||
<Suspense>
|
<Suspense>
|
||||||
<SDKVersion />
|
<SDKVersion />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
) - 移除已购音乐的加密保护
|
{') - 移除已购音乐的加密保护。'}
|
||||||
</Flex>
|
</Flex>
|
||||||
<Wrap>
|
<Text>
|
||||||
<WrapItem>Copyright © 2019 - {year}</WrapItem>
|
{'Copyright © 2019 - 2023 '}
|
||||||
<WrapItem>
|
<Link href="https://git.unlock-music.dev/um" isExternal>
|
||||||
<Link href="https://git.unlock-music.dev/um" isExternal>UnlockMusic 团队</Link>
|
UnlockMusic 团队
|
||||||
</WrapItem>
|
</Link>
|
||||||
<WrapItem>|</WrapItem>
|
{' | 音乐解锁授权基于'}
|
||||||
<WrapItem>音乐解锁授权基于</WrapItem>
|
<Link href="https://git.unlock-music.dev/um/um-react/src/branch/main/LICENSE" isExternal>
|
||||||
<WrapItem>
|
MIT许可协议
|
||||||
<Link href="https://git.unlock-music.dev/um/um-react/src/branch/main/LICENSE" isExternal>MIT许可协议</Link>
|
</Link>
|
||||||
</WrapItem>
|
。
|
||||||
</Wrap>
|
</Text>
|
||||||
</Center>
|
</Center>
|
||||||
</Center>
|
</Center>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user