Change name
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
# LandTCMS Frontend
|
||||
# UnitTCMS 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": "LandTCMS is free and open source. The application can be self-hosted. It can be deployed in environments with strict security requirements.",
|
||||
"oss_detail": "UnitTCMS 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": "LandTCMSは無料でオープンソースです。アプリケーションをセルフホストすることができます。セキュリティ要件の厳しい環境でも導入することができます。",
|
||||
"oss_detail": "UnitTCMSは無料でオープンソースです。アプリケーションをセルフホストすることができます。セキュリティ要件の厳しい環境でも導入することができます。",
|
||||
"organize_title": "テストケースの整理",
|
||||
"organize_detail": "プロジェクトやフォルダーでテストケースを整理できます。モダンなUIフレームワークによりそれらを高速に表示します。",
|
||||
"usability_title": "ユーザビリティ",
|
||||
|
||||
@@ -54,7 +54,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
},
|
||||
{
|
||||
uid: 'docs',
|
||||
href: 'https://kimatata.github.io/landtcms/docs/getstarted/selfhost',
|
||||
href: 'https://kimatata.github.io/unittcms/docs/getstarted/selfhost',
|
||||
label: messages.docs,
|
||||
isExternal: true,
|
||||
},
|
||||
@@ -80,7 +80,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/icon-192.png" width={32} height={32} alt="Logo" />
|
||||
<p className="font-bold text-inherit ms-1">LandTCMS</p>
|
||||
<p className="font-bold text-inherit ms-1">UnitTCMS</p>
|
||||
</Link>
|
||||
</NavbarBrand>
|
||||
<NavbarItem className="hidden md:block">
|
||||
@@ -95,7 +95,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
<NavbarItem key={link.uid} className="hidden md:block">
|
||||
<NextUiLink
|
||||
isExternal
|
||||
href="https://kimatata.github.io/landtcms/docs/getstarted/selfhost"
|
||||
href="https://kimatata.github.io/unittcms/docs/getstarted/selfhost"
|
||||
aria-label="docs"
|
||||
showAnchorIcon
|
||||
anchorIcon={<MoveUpRight size={12} className="ms-1" />}
|
||||
@@ -129,7 +129,7 @@ export default function HeaderNavbarMenu({ messages, locale }: Props) {
|
||||
</NavbarContent>
|
||||
|
||||
<NavbarContent className="basis-1 pl-4" justify="end">
|
||||
<NextUiLink isExternal href="https://github.com/kimatata/landtcms" aria-label="Github">
|
||||
<NextUiLink isExternal href="https://github.com/kimatata/unittcms" 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',
|
||||
})}
|
||||
>
|
||||
LandTCMS
|
||||
UnitTCMS
|
||||
</h1>
|
||||
<br />
|
||||
<br />
|
||||
@@ -41,7 +41,7 @@ export default function MainTitle({ locale }: Props) {
|
||||
</Button>
|
||||
</Link>
|
||||
|
||||
<NextUiLink isExternal href="https://kimatata.github.io/landtcms/docs/getstarted/selfhost" aria-label="docs">
|
||||
<NextUiLink isExternal href="https://kimatata.github.io/unittcms/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/landtcms" aria-label="Github">
|
||||
<NextUiLink size="sm" isExternal href="https://github.com/kimatata/unittcms" aria-label="Github">
|
||||
<Button
|
||||
color="primary"
|
||||
variant="bordered"
|
||||
|
||||
@@ -33,10 +33,9 @@ export default function Home(params: { locale: string }) {
|
||||
fontSize: '10rem',
|
||||
position: 'relative',
|
||||
zIndex: 1,
|
||||
marginLeft: '2.5rem',
|
||||
}}
|
||||
>
|
||||
🏝
|
||||
📋
|
||||
</span>
|
||||
<div
|
||||
style={{
|
||||
@@ -68,8 +67,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 LandTCMS</div>
|
||||
<div>Copyright © 2024 UnitTCMS</div>
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -13,7 +13,7 @@ import {
|
||||
fetchMyRoles,
|
||||
} from './token';
|
||||
import { ToastContext } from './ToastProvider';
|
||||
const LOCAL_STORAGE_KEY = 'landtcms-auth-token';
|
||||
const LOCAL_STORAGE_KEY = 'unittcms-auth-token';
|
||||
|
||||
function storeTokenToLocalStorage(token: TokenType) {
|
||||
localStorage.setItem(LOCAL_STORAGE_KEY, JSON.stringify(token));
|
||||
|
||||
Reference in New Issue
Block a user