diff --git a/frontend/messages/en.json b/frontend/messages/en.json index 8dd4005..f89421b 100644 --- a/frontend/messages/en.json +++ b/frontend/messages/en.json @@ -1,6 +1,7 @@ { "Index": { "get_started": "Get Started", + "oss_tcmt": "Open Source Test Case Management Tool", "integrate_and_manage": "Integrate and manage all your software testing." }, "Header": { diff --git a/frontend/messages/ja.json b/frontend/messages/ja.json index 70fd64b..113cf77 100644 --- a/frontend/messages/ja.json +++ b/frontend/messages/ja.json @@ -1,6 +1,7 @@ { "Index": { "get_started": "テスト管理を始める", + "oss_tcmt": "オープンソーステストケース管理ツール", "integrate_and_manage": "ソフトウェア開発にかかわるすべてのテストを統合管理" }, "Header": { diff --git a/frontend/src/app/[locale]/MainTitle.tsx b/frontend/src/app/[locale]/MainTitle.tsx new file mode 100644 index 0000000..2fcb4b9 --- /dev/null +++ b/frontend/src/app/[locale]/MainTitle.tsx @@ -0,0 +1,55 @@ +import { title, subtitle } from "@/components/primitives"; +import { Link } from "@/src/navigation"; +import { button as buttonStyles } from "@nextui-org/react"; +import { useTranslations } from "next-intl"; + +export default function MainTitle() { + const t = useTranslations("Index"); + + return ( +
+

TestPlat

+
+
+

{t("oss_tcmt")}

+

+ {t("integrate_and_manage")} +

+ +
+ + {t("get_started")} + + + + Features + + + + View on GitHub + +
+
+ ); +} diff --git a/frontend/src/app/[locale]/hero.png b/frontend/src/app/[locale]/hero.png new file mode 100644 index 0000000..11f5b0f Binary files /dev/null and b/frontend/src/app/[locale]/hero.png differ diff --git a/frontend/src/app/[locale]/page.tsx b/frontend/src/app/[locale]/page.tsx index 0d36fa4..24430da 100644 --- a/frontend/src/app/[locale]/page.tsx +++ b/frontend/src/app/[locale]/page.tsx @@ -1,33 +1,44 @@ -import { button as buttonStyles } from "@nextui-org/react"; -import { title, subtitle } from "@/components/primitives"; import { useTranslations } from "next-intl"; -import { Link } from "@/src/navigation"; +import MainTitle from "./MainTitle"; +import Image from "next/image"; +import heroImage from "./hero.png"; export default function Home() { const t = useTranslations("Index"); return ( -
-
-

Open Source 

-

Test Case Management Tool 

-
-

- {t("integrate_and_manage")} -

+ //
+ // + //
+
+
+
+ +
+ +
+
+ + ⚗️ + +
+
+
-
- - {t("get_started")} - +
+ Hero
);