From 2544504933f37b9e86c48b858440da4aec655842 Mon Sep 17 00:00:00 2001 From: Jan-Henrik Bruhn Date: Sat, 20 Dec 2025 19:41:17 +0100 Subject: [PATCH] feature: Update ConnectionPrompt to use shadcn Card component MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migrated ConnectionPrompt to use shadcn/ui Card and CardContent components for consistency with other card-based components (FileUpload, PatternSummaryCard). Maintains the same visual appearance while using the unified Card system. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 --- src/components/ConnectionPrompt.tsx | 61 +++++++++++++++-------------- 1 file changed, 32 insertions(+), 29 deletions(-) diff --git a/src/components/ConnectionPrompt.tsx b/src/components/ConnectionPrompt.tsx index a15a4a4..4a64423 100644 --- a/src/components/ConnectionPrompt.tsx +++ b/src/components/ConnectionPrompt.tsx @@ -3,6 +3,7 @@ import { useMachineStore } from "../stores/useMachineStore"; import { isBluetoothSupported } from "../utils/bluetoothSupport"; import { ExclamationTriangleIcon } from "@heroicons/react/24/solid"; import { Button } from "@/components/ui/button"; +import { Card, CardContent } from "@/components/ui/card"; import { Alert, AlertDescription } from "@/components/ui/alert"; export function ConnectionPrompt() { @@ -14,36 +15,38 @@ export function ConnectionPrompt() { if (isBluetoothSupported()) { return ( -
-
-
- - - + + +
+
+ + + +
+
+

+ Get Started +

+

+ Connect to your embroidery machine +

+
-
-

- Get Started -

-

- Connect to your embroidery machine -

-
-
- -
+ + + ); }