Skip to content

Commit 04f2a79

Browse files
committed
feat: add Tabler icons to verify icon library wiring
Adds @tabler/icons-react as a direct dep in admin and checkin (it was already pulled in transitively via @tecnova/ui) and uses one icon in each app's primary button — Google brand mark on the admin login button and an arrow on the checkin submit button — to confirm the preset's tabler iconLibrary setting and the data-icon=inline-* hooks render correctly.
1 parent 23015c3 commit 04f2a79

5 files changed

Lines changed: 12 additions & 0 deletions

File tree

apps/admin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"type-check": "tsc --noEmit"
1010
},
1111
"dependencies": {
12+
"@tabler/icons-react": "^3.42.0",
1213
"@tecnova/shared": "workspace:*",
1314
"@tecnova/ui": "workspace:*",
1415
"better-auth": "^1.6.9",

apps/admin/src/app/login/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use client';
22

3+
import { IconBrandGoogleFilled } from '@tabler/icons-react';
34
import { Button } from '@tecnova/ui/components/button';
45
import { useState } from 'react';
56
import { authClient } from '@/lib/auth-client';
@@ -35,6 +36,7 @@ export default function LoginPage() {
3536
<h1 className="text-2xl font-bold">テクノバ管理画面</h1>
3637
<p className="text-zinc-600">許可リストに登録されたメンターのみログインできます</p>
3738
<Button type="button" size="lg" onClick={signIn} disabled={busy}>
39+
<IconBrandGoogleFilled data-icon="inline-start" />
3840
{busy ? 'リダイレクト中...' : 'Google でログイン'}
3941
</Button>
4042
{error && <p className="text-red-600">エラー: {error}</p>}

apps/checkin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"type-check": "tsc --noEmit"
1010
},
1111
"dependencies": {
12+
"@tabler/icons-react": "^3.42.0",
1213
"@tecnova/shared": "workspace:*",
1314
"@tecnova/ui": "workspace:*",
1415
"@zxing/browser": "^0.2.0",

apps/checkin/src/app/page.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
'use client';
22

3+
import { IconArrowRight } from '@tabler/icons-react';
34
import type { ScanResponse } from '@tecnova/shared/schemas';
45
import { Button } from '@tecnova/ui/components/button';
56
import { BrowserMultiFormatReader, type IScannerControls } from '@zxing/browser';
@@ -213,6 +214,7 @@ export default function Home() {
213214
/>
214215
<Button type="submit" size="lg" disabled={input.length !== 5}>
215216
チェックイン / アウト
217+
<IconArrowRight data-icon="inline-end" />
216218
</Button>
217219
</form>
218220
<button

pnpm-lock.yaml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)