diff --git a/src/components/auth/TurnstileCaptcha.tsx b/src/components/auth/TurnstileCaptcha.tsx
index d5cdfb47..c04b1bc5 100644
--- a/src/components/auth/TurnstileCaptcha.tsx
+++ b/src/components/auth/TurnstileCaptcha.tsx
@@ -1,6 +1,6 @@
import { useEffect, useRef, useState } from 'react';
import { Turnstile } from '@marsidev/react-turnstile';
-import { Alert, AlertDescription } from '@/components/ui/alert';
+import { Callout, CalloutDescription } from '@/components/ui/callout';
import { AlertCircle, RefreshCw } from 'lucide-react';
import { Button } from '@/components/ui/button';
@@ -79,12 +79,12 @@ export function TurnstileCaptcha({
if (!siteKey || siteKey === "0x4AAAAAAAk8oZ8Z8Z8Z8Z8Z") {
return (
-
-
-
+
+
+
CAPTCHA is using test keys. Configure VITE_TURNSTILE_SITE_KEY for production.
-
-
+
+
);
}
@@ -117,9 +117,9 @@ export function TurnstileCaptcha({
{error && (
-
+
-
+
{error}
Retry
-
-
+
+
)}
);
diff --git a/src/components/ui/callout.tsx b/src/components/ui/callout.tsx
new file mode 100644
index 00000000..3347ff0a
--- /dev/null
+++ b/src/components/ui/callout.tsx
@@ -0,0 +1,44 @@
+import * as React from "react";
+import { cva, type VariantProps } from "class-variance-authority";
+import { cn } from "@/lib/utils";
+
+const calloutVariants = cva(
+ "relative w-full rounded-lg border p-4 [&>svg~*]:pl-7 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
+ {
+ variants: {
+ variant: {
+ default: "bg-background text-foreground border-border",
+ destructive: "border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive bg-destructive/5",
+ warning: "border-yellow-500/50 text-yellow-700 dark:text-yellow-400 bg-yellow-50 dark:bg-yellow-950/50 [&>svg]:text-yellow-600 dark:[&>svg]:text-yellow-400",
+ info: "border-blue-500/50 text-blue-700 dark:text-blue-400 bg-blue-50 dark:bg-blue-950/50 [&>svg]:text-blue-600 dark:[&>svg]:text-blue-400",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ }
+);
+
+const Callout = React.forwardRef<
+ HTMLDivElement,
+ React.HTMLAttributes & VariantProps
+>(({ className, variant, ...props }, ref) => (
+
+));
+Callout.displayName = "Callout";
+
+const CalloutTitle = React.forwardRef>(
+ ({ className, ...props }, ref) => (
+
+ )
+);
+CalloutTitle.displayName = "CalloutTitle";
+
+const CalloutDescription = React.forwardRef>(
+ ({ className, ...props }, ref) => (
+
+ )
+);
+CalloutDescription.displayName = "CalloutDescription";
+
+export { Callout, CalloutTitle, CalloutDescription };
\ No newline at end of file