mirror of
https://git.unlock-music.dev/um/um-react.git
synced 2024-11-24 00:02:16 +00:00
fix: reword footer to fit single line in mobile device (close #22)
This commit is contained in:
parent
4b9440ffc1
commit
d73a51a931
@ -16,6 +16,6 @@ test('should be able to render App', async () => {
|
|||||||
await waitFor(() => screen.getByTestId('sdk-version'));
|
await waitFor(() => screen.getByTestId('sdk-version'));
|
||||||
|
|
||||||
// Quick sanity check of known strings.
|
// Quick sanity check of known strings.
|
||||||
expect(screen.getByText(/仅在浏览器内对文件进行解锁/i)).toBeInTheDocument();
|
expect(screen.getByText(/在浏览器内对文件进行解锁/i)).toBeInTheDocument();
|
||||||
expect(screen.getByText(/UnlockMusic 团队/i)).toBeInTheDocument();
|
expect(screen.getByText(/UnlockMusic 团队/i)).toBeInTheDocument();
|
||||||
});
|
});
|
||||||
|
@ -20,23 +20,25 @@ export function Footer() {
|
|||||||
flexShrink={0}
|
flexShrink={0}
|
||||||
>
|
>
|
||||||
<Flex as={Text}>
|
<Flex as={Text}>
|
||||||
{'音乐解锁 (__APP_VERSION_SHORT__'}
|
<Link href="https://git.unlock-music.dev/um/um-react" isExternal>
|
||||||
|
音乐解锁
|
||||||
|
</Link>
|
||||||
|
{' (__APP_VERSION_SHORT__'}
|
||||||
<Suspense>
|
<Suspense>
|
||||||
<SDKVersion />
|
<SDKVersion />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
{') - 移除已购音乐的加密保护。'}
|
{') - 移除已购音乐的加密保护。'}
|
||||||
</Flex>
|
</Flex>
|
||||||
<Text>
|
<Text>
|
||||||
{'Copyright © 2019 - '}
|
{'© 2019 - '}
|
||||||
<CurrentYear />{' '}
|
<CurrentYear />{' '}
|
||||||
<Link href="https://git.unlock-music.dev/um" isExternal>
|
<Link href="https://git.unlock-music.dev/um" isExternal>
|
||||||
UnlockMusic 团队
|
UnlockMusic 团队
|
||||||
</Link>
|
</Link>
|
||||||
{' | 音乐解锁授权基于'}
|
{' | '}
|
||||||
<Link href="https://git.unlock-music.dev/um/um-react/src/branch/main/LICENSE" isExternal>
|
<Link href="https://git.unlock-music.dev/um/um-react/src/branch/main/LICENSE" isExternal>
|
||||||
MIT许可协议
|
使用 MIT 授权协议
|
||||||
</Link>
|
</Link>
|
||||||
。
|
|
||||||
</Text>
|
</Text>
|
||||||
</Center>
|
</Center>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user