diff --git a/.claude/hooks/branch-guard.sh b/.claude/hooks/branch-guard.sh new file mode 100755 index 0000000..1144a2a --- /dev/null +++ b/.claude/hooks/branch-guard.sh @@ -0,0 +1,33 @@ +#!/bin/bash +# PreToolUse hook: 保護ブランチ (develop / prod / main) での直接編集をブロック +set -euo pipefail + +PROTECTED_BRANCHES="^(develop|prod|main)$" + +# git リポジトリでない場合はスキップ +if ! git rev-parse --git-dir >/dev/null 2>&1; then + exit 0 +fi + +BRANCH=$(git rev-parse --abbrev-ref HEAD 2>/dev/null || echo "") + +if [ -z "$BRANCH" ]; then + exit 0 +fi + +if echo "$BRANCH" | grep -qE "$PROTECTED_BRANCHES"; then + cat >&2 < + +または + + git checkout -b feature/ +EOF + exit 2 +fi + +exit 0 diff --git a/.claude/settings.json b/.claude/settings.json index 17a029c..9624a4c 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -66,6 +66,12 @@ { "matcher": "Write|Edit", "hooks": [ + { + "type": "command", + "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/branch-guard.sh", + "timeout": 5, + "statusMessage": "ブランチ保護チェック中..." + }, { "type": "command", "command": "$CLAUDE_PROJECT_DIR/.claude/hooks/pre-edit-guard.sh", diff --git a/app/company/page.tsx b/app/company/page.tsx index 0f32164..eed644f 100644 --- a/app/company/page.tsx +++ b/app/company/page.tsx @@ -1,11 +1,22 @@ import type { Metadata } from "next"; -import { Card, CardContent } from "@/components/ui/card"; +import Image from "next/image"; import { - Table, - TableBody, - TableCell, - TableRow, -} from "@/components/ui/table"; + ArrowRight, + Briefcase, + Building2, + Calculator, + Calendar, + Coins, + Cpu, + Hash, + MapPin, + Phone, + Sparkles, + TrendingUp, + User, +} from "lucide-react"; +import { Card, CardContent, CardHeader, CardTitle } from "@/components/ui/card"; +import { Separator } from "@/components/ui/separator"; export const metadata: Metadata = { title: "会社概要", @@ -13,131 +24,264 @@ export const metadata: Metadata = { "株式会社 Ic-Growth の会社概要。所在地、設立、代表者、事業内容などをご案内します。", }; -const rows: { label: string; content: React.ReactNode }[] = [ +const CONTACT_FORM_URL = + "https://docs.google.com/forms/d/e/1FAIpQLScEXuDiU9GfCsL2Q4nmK9En8xLd8UzVYR6B95K9IKwNAL6GTQ/viewform"; + +const MAP_QUERY = "東京都板橋区志村1-30-15"; + +const heroFacts = [ { - label: "会社名", - content: ( - <> - - アイシイグロウス - - 株式会社 Ic-Growth - - ), + icon: Building2, + label: "Company", + value: "株式会社 Ic-Growth", + sub: "アイシイグロウス", + }, + { + icon: Calendar, + label: "Founded", + value: "2020年1月22日", + sub: "令和2年", }, - { label: "法人番号", content: "8011401022351" }, { - label: "住所", + icon: User, + label: "Representative", + value: "前田 剛", + sub: "代表取締役", + }, +] as const; + +const detailRows = [ + { icon: Hash, label: "法人番号", content: "8011401022351" }, + { + icon: MapPin, + label: "本社所在地", content: ( <> - 本社: -
〒174-0056
東京都板橋区志村1丁目30番15号 -
-
- Tel:03-3960-3311 ), }, - { label: "設立", content: "令和2年(2020年)1月22日" }, - { label: "代表者", content: "前田 剛" }, - { label: "資本金", content: "800千円(2024年月日現在)" }, { - label: "事業内容", + icon: Phone, + label: "電話番号", content: ( - <> - 経理支援 -
- 経理システムの導入支援 -
- 経理分析 - + + 03-3960-3311 + ), }, + { icon: Coins, label: "資本金", content: "800千円(2024年現在)" }, { - label: "弊社サービス", - content: ( - <> - 【経理システム導入支援】 -
- ・勤怠管理システム導入支援 -
- ・給与計算システム導入支援 -
- ・会計システム導入支援 -
- ・請求書発行システム導入支援 -
- ・経費精算システム導入支援 -
- ・証憑管理システム導入支援 -
- ・証憑データ化システム導入支援 -
-
- 【経理支援】 -
- ・会計データ作成業務 -
- ・経理指導 -
- ・請求書発行業務 -
- ・受取請求書等整理業務 -
- ・給与計算業務 -
-
- 【経営支援】 -
- ・連絡ツール導入支援 -
- ・その他システムのご案内 -
- ・MAS(経営アドバイザリーサービス) -
-
- 【その他】 -
- ・生命保険業務 -
- ・相続時資料回収業務 - - ), + icon: Briefcase, + label: "事業内容", + content: "経理支援 / 経理システムの導入支援 / 経理分析", + }, +] as const; + +const serviceCategories = [ + { + icon: Cpu, + title: "経理システム導入支援", + items: [ + "勤怠管理システム", + "給与計算システム", + "会計システム", + "請求書発行システム", + "経費精算システム", + "証憑管理システム", + "証憑データ化システム", + ], + }, + { + icon: Calculator, + title: "経理支援", + items: [ + "会計データ作成業務", + "経理指導", + "請求書発行業務", + "受取請求書等整理業務", + "給与計算業務", + ], }, -]; + { + icon: TrendingUp, + title: "経営支援", + items: [ + "連絡ツール導入支援", + "その他システムのご案内", + "MAS(経営アドバイザリーサービス)", + ], + }, + { + icon: Sparkles, + title: "その他", + items: ["生命保険業務", "相続時資料回収業務"], + }, +] as const; export default function CompanyPage() { return ( -
-
-

- 会 社 概 要 -

- - - - - {rows.map((row) => ( - - - {row.label} - - - {row.content} - - - ))} - -
-
-
-
+
+ {/* Hero */} +
+
+

+ About Us +

+

+ 会 社 概 要 +

+
+ Ic-Growth ロゴ +
+
+ {heroFacts.map((fact) => ( + + + + + {fact.label} + + + +

+ {fact.value} +

+ {fact.sub && ( +

+ {fact.sub} +

+ )} +
+
+ ))} +
+
+
+ + {/* Basic info */} +
+
+

+ 基本情報 +

+ +
+ {detailRows.map((row) => ( +
+
+ + {row.label} +
+
{row.content}
+
+ ))} +
+
+
+ + {/* Services */} +
+
+

+ Our Services +

+

+ 弊社サービス +

+
+ {serviceCategories.map((cat) => ( + + +
+ + + + + {cat.title} + +
+
+ +
    + {cat.items.map((item) => ( +
  • + + {item} +
  • + ))} +
+
+
+ ))} +
+
+
+ + {/* Access & CTA */} +
+
+
+

+ Access +

+

+ 本社所在地 +

+ +

+ 〒174-0056 +
+ 東京都板橋区志村1丁目30番15号 +

+ + + 03-3960-3311 + + +
+
+