Change name
@@ -1,4 +1,4 @@
|
||||
# TestPlat Frontend
|
||||
# LandTCMS Frontend
|
||||
|
||||
## Install dependencies
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"web_application": "Web Application",
|
||||
"integrate_and_manage": "Integrate and manage all your software testing.",
|
||||
"oss_title": "Open Source",
|
||||
"oss_detail": "TestPlat is free and open source. The application can be self-hosted. It can be deployed in environments with strict security requirements.",
|
||||
"oss_detail": "LandTCMS is free and open source. The application can be self-hosted. It can be deployed in environments with strict security requirements.",
|
||||
"organize_title": "Organize Test Cases",
|
||||
"organize_detail": "Test cases can be organized by projects and folders. Modern UI framework makes them fast.",
|
||||
"usability_title": "Usability",
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
"web_application": "ウェブアプリケーション",
|
||||
"integrate_and_manage": "ソフトウェア開発にかかわるすべてのテストを統合管理",
|
||||
"oss_title": "オープンソース",
|
||||
"oss_detail": "TestPlatは無料でオープンソースです。アプリケーションをセルフホストすることができます。セキュリティ要件の厳しい環境でも導入することができます。",
|
||||
"oss_detail": "LandTCMSは無料でオープンソースです。アプリケーションをセルフホストすることができます。セキュリティ要件の厳しい環境でも導入することができます。",
|
||||
"organize_title": "テストケースの整理",
|
||||
"organize_detail": "プロジェクトやフォルダーでテストケースを整理できます。モダンなUIフレームワークによりそれらを高速に表示します。",
|
||||
"usability_title": "ユーザビリティ",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
This favicon was generated using the following graphics from Twitter Twemoji:
|
||||
|
||||
- Graphics Title: 2697.svg
|
||||
- Graphics Title: 1f3dd.svg
|
||||
- Graphics Author: Copyright 2020 Twitter, Inc and other contributors (https://github.com/twitter/twemoji)
|
||||
- Graphics Source: https://github.com/twitter/twemoji/blob/master/assets/svg/2697.svg
|
||||
- Graphics Source: https://github.com/twitter/twemoji/blob/master/assets/svg/1f3dd.svg
|
||||
- Graphics License: CC-BY 4.0 (https://creativecommons.org/licenses/by/4.0/)
|
||||
|
||||
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 51 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 699 B After Width: | Height: | Size: 747 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 15 KiB |
@@ -48,7 +48,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
},
|
||||
{
|
||||
uid: 'docs',
|
||||
href: 'https://kimatata.github.io/TestPlat/docs/getstarted/selfhost',
|
||||
href: 'https://kimatata.github.io/landtcms/docs/getstarted/selfhost',
|
||||
label: messages.docs,
|
||||
isExternal: true,
|
||||
},
|
||||
@@ -60,7 +60,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
<NavbarBrand as="li" className="gap-3 max-w-fit">
|
||||
<Link className="flex justify-start items-center gap-1" href="/" locale={locale}>
|
||||
<Image src="/favicon/android-chrome-192x192.png" width={32} height={32} alt="Logo" />
|
||||
<p className="font-bold text-inherit">TestPlat</p>
|
||||
<p className="font-bold text-inherit">LandTCMS</p>
|
||||
</Link>
|
||||
</NavbarBrand>
|
||||
<NavbarItem className="hidden md:block">
|
||||
@@ -75,7 +75,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
<NavbarItem key={link.uid} className="hidden md:block">
|
||||
<NextUiLink
|
||||
isExternal
|
||||
href="https://kimatata.github.io/TestPlat/docs/getstarted/selfhost"
|
||||
href="https://kimatata.github.io/landtcms/docs/getstarted/selfhost"
|
||||
aria-label="docs"
|
||||
showAnchorIcon
|
||||
anchorIcon={<MoveUpRight size={12} className="ms-1" />}
|
||||
@@ -109,7 +109,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
</NavbarContent>
|
||||
|
||||
<NavbarContent className="basis-1 pl-4" justify="end">
|
||||
<NextUiLink isExternal href="https://github.com/kimatata/TestPlat" aria-label="Github">
|
||||
<NextUiLink isExternal href="https://github.com/kimatata/landtcms" aria-label="Github">
|
||||
<GithubIcon className="text-default-500" />
|
||||
</NextUiLink>
|
||||
<ThemeSwitch />
|
||||
|
||||
@@ -19,7 +19,7 @@ export default function MainTitle({ locale }: Props) {
|
||||
class: 'lg:text-7xl md:text-7xl sm:text-7xl text-7xl',
|
||||
})}
|
||||
>
|
||||
TestPlat
|
||||
LandTCMS
|
||||
</h1>
|
||||
<br />
|
||||
<br />
|
||||
@@ -41,7 +41,7 @@ export default function MainTitle({ locale }: Props) {
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
<NextUiLink isExternal href="https://kimatata.github.io/TestPlat/docs/getstarted/selfhost" aria-label="docs">
|
||||
<NextUiLink isExternal href="https://kimatata.github.io/landtcms/docs/getstarted/selfhost" aria-label="docs">
|
||||
<Button
|
||||
color="primary"
|
||||
variant="bordered"
|
||||
@@ -53,7 +53,7 @@ export default function MainTitle({ locale }: Props) {
|
||||
</Button>
|
||||
</NextUiLink>
|
||||
|
||||
<NextUiLink size="sm" isExternal href="https://github.com/kimatata/TestPlat" aria-label="Github">
|
||||
<NextUiLink size="sm" isExternal href="https://github.com/kimatata/landtcms" aria-label="Github">
|
||||
<Button
|
||||
color="primary"
|
||||
variant="bordered"
|
||||
|
||||
@@ -36,7 +36,7 @@ export default function Home(params: { locale: string }) {
|
||||
marginLeft: '2.5rem',
|
||||
}}
|
||||
>
|
||||
⚗️
|
||||
🏝
|
||||
</span>
|
||||
<div
|
||||
style={{
|
||||
@@ -69,7 +69,7 @@ export default function Home(params: { locale: string }) {
|
||||
<Divider className="my-12" />
|
||||
<div className="w-full text-center py-2">
|
||||
<div>Released under the MIT License.</div>
|
||||
<div>Copyright © 2024 TestPlat</div>
|
||||
<div>Copyright © 2024 LandTCMS</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -11,7 +11,7 @@ import {
|
||||
fetchMyRoles,
|
||||
} from './token';
|
||||
import { ToastContext } from './ToastProvider';
|
||||
const LOCAL_STORAGE_KEY = 'testplat-auth-token';
|
||||
const LOCAL_STORAGE_KEY = 'landtcms-auth-token';
|
||||
|
||||
function storeTokenToLocalStorage(token: TokenType) {
|
||||
localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(token));
|
||||
|
||||