From b8ca76a9eb848804b965822213520a8497d951c9 Mon Sep 17 00:00:00 2001 From: trancore Date: Thu, 25 Sep 2025 20:53:58 +0900 Subject: [PATCH 1/4] first commit From 9940c38dd9621d8eb4506d08476ec08545e0da54 Mon Sep 17 00:00:00 2001 From: trancore Date: Sat, 27 Sep 2025 22:26:26 +0900 Subject: [PATCH 2/4] feature: update TSDoc for cn method --- src/utils/cn/index.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/utils/cn/index.ts b/src/utils/cn/index.ts index f665a08..2008de2 100644 --- a/src/utils/cn/index.ts +++ b/src/utils/cn/index.ts @@ -2,11 +2,13 @@ import { twMerge } from "tailwind-merge"; /** - * クラス名管理カスタムヘルパー関数。 + * クラス名管理カスタムヘルパー関数。\ * 引数の順番に応じてグルーピングされたスタイルが定義される。 * - * 第1引数:余白 - * 第2引数:フォント + * 第1引数:余白、大きさ\ + * 第2引数:配置\ + * 第3引数:フォント\ + * 第4引数:装飾\ * 末端引数:オブジェクトとし、条件分岐によって変わるスタイル * * @param inputs クラス名 From cc287cb7e8c819021ae1df8c27c3fedf95ff5a3c Mon Sep 17 00:00:00 2001 From: trancore Date: Sat, 27 Sep 2025 22:26:50 +0900 Subject: [PATCH 3/4] feature: add pointer: cursor in tab component --- src/components/common/Tab/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/Tab/index.tsx b/src/components/common/Tab/index.tsx index 8036d41..6d152ce 100644 --- a/src/components/common/Tab/index.tsx +++ b/src/components/common/Tab/index.tsx @@ -10,7 +10,7 @@ type Props = { export default function Tab({ text, isActive = false, onClick }: Props) { return ( Date: Sat, 4 Oct 2025 22:50:51 +0900 Subject: [PATCH 4/4] feature: add path constants --- src/consts/index.ts | 1 + src/consts/page.ts | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 src/consts/index.ts create mode 100644 src/consts/page.ts diff --git a/src/consts/index.ts b/src/consts/index.ts new file mode 100644 index 0000000..b7e9e16 --- /dev/null +++ b/src/consts/index.ts @@ -0,0 +1 @@ +export * from "~/consts/page"; diff --git a/src/consts/page.ts b/src/consts/page.ts new file mode 100644 index 0000000..59353f9 --- /dev/null +++ b/src/consts/page.ts @@ -0,0 +1,13 @@ +/** + * ページ関連の定数 + */ + +/** + * パスの定数 + */ +export const PAGE_PATH = { + ABOUT: "/about", + HOME: "/home", + PRODUCTIONS: "/productions", + WORKS: "/works", +} as const;