Skip to content

Commit afce37a

Browse files
committed
タブの見た目を修正
1 parent 5dbdd08 commit afce37a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

web/app/friends/page.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,26 @@ export default function Friends() {
1919
<button
2020
type="button"
2121
className={`relative flex-1 py-2 text-center ${
22-
activeTab === "matching" ? "text-blue-600" : "text-gray-600"
22+
activeTab === "matching" ? "text-primary" : "text-gray-600"
2323
}`}
2424
onClick={() => setActiveTab("matching")}
2525
>
26-
<span>タブ1</span>
26+
<span>マッチ中</span>
2727
{activeTab === "matching" && (
28-
<span className="absolute bottom-0 left-0 h-1 w-full bg-blue-500" />
28+
<span className="absolute bottom-0 left-0 h-1 w-full bg-primary" />
2929
)}
3030
</button>
3131

3232
<button
3333
type="button"
3434
className={`relative flex-1 py-2 text-center ${
35-
activeTab === "request" ? "text-blue-600" : "text-gray-600"
35+
activeTab === "request" ? "text-primary" : "text-gray-600"
3636
}`}
3737
onClick={() => setActiveTab("request")}
3838
>
39-
<span>タブ2</span>
39+
<span>リクエスト</span>
4040
{activeTab === "request" && (
41-
<span className="absolute bottom-0 left-0 h-1 w-full bg-blue-500" />
41+
<span className="absolute bottom-0 left-0 h-1 w-full bg-primary" />
4242
)}
4343
</button>
4444
</div>

0 commit comments

Comments
 (0)