diff --git a/src/app/(auth)/forgot-password/page.tsx b/src/app/(auth)/forgot-password/page.tsx index 02ff209..d2a1784 100644 --- a/src/app/(auth)/forgot-password/page.tsx +++ b/src/app/(auth)/forgot-password/page.tsx @@ -43,18 +43,18 @@ export default function ForgotPasswordPage() { if (success) { return ( -
- +
+
- + Check your email - + We've sent a password reset link to{" "} - {email}. Please check your + {email}. Please check your inbox.
@@ -62,7 +62,7 @@ export default function ForgotPasswordPage() { @@ -74,14 +74,14 @@ export default function ForgotPasswordPage() { } return ( -
- +
+
- Reset password - + Reset password + Enter your email and we'll send you a reset link
@@ -94,7 +94,7 @@ export default function ForgotPasswordPage() { )}
-
@@ -119,7 +119,7 @@ export default function ForgotPasswordPage() { Back to sign in diff --git a/src/app/(auth)/login/page.tsx b/src/app/(auth)/login/page.tsx index 1a53226..0ffaab2 100644 --- a/src/app/(auth)/login/page.tsx +++ b/src/app/(auth)/login/page.tsx @@ -67,8 +67,8 @@ function LoginPageInner() { }; return ( -
- +
+
{inviteToken ? ( @@ -77,10 +77,10 @@ function LoginPageInner() { )}
- + {inviteToken ? "Sign in to accept" : "Welcome back"} - + {inviteToken ? "Sign in and we'll take you to the invitation." : "Sign in to your account"} @@ -95,7 +95,7 @@ function LoginPageInner() { )}
-
-
@@ -141,7 +141,7 @@ function LoginPageInner() { -

+

Don't have an account?{" "} - +

+
- + Check your email - + We've sent a confirmation link to{" "} - {email}. Please check your + {email}. Please check your inbox and click the link to verify your account.
@@ -116,7 +116,7 @@ function SignupPageInner() { > @@ -128,8 +128,8 @@ function SignupPageInner() { } return ( -
- +
+
{inviteToken ? ( @@ -138,10 +138,10 @@ function SignupPageInner() { )}
- + {inviteToken ? "Create account & join" : "Create account"} - + {inviteToken ? "Verify your email, then accept the invitation to join your team." : "Get started with CRM Template for WhatsApp"} @@ -156,7 +156,7 @@ function SignupPageInner() { )}
-
-
-
-
@@ -224,7 +224,7 @@ function SignupPageInner() { -

+

Already have an account?{" "} router.push("/automations")} - className="flex h-8 w-8 items-center justify-center rounded-md text-slate-400 transition-colors hover:bg-slate-800 hover:text-white" + className="flex h-8 w-8 items-center justify-center rounded-md text-muted-foreground transition-colors hover:bg-muted hover:text-foreground" aria-label="Back" >

-

{automation.name}

-

Execution logs

+

{automation.name}

+

Execution logs

{logs.length === 0 ? ( -
-

No executions yet

-

+

+

No executions yet

+

Trigger this automation to see runs here.

@@ -112,7 +112,7 @@ export default function AutomationLogsPage({ return (
  • {isOpen && ( -
    +
    {log.error_message && (

    {log.error_message} @@ -150,7 +150,7 @@ export default function AutomationLogsPage({ ))} {(log.steps_executed ?? []).length === 0 && ( -

  • No steps recorded.
  • +
  • No steps recorded.
  • )}
    @@ -196,9 +196,9 @@ function StepRow({ result }: { result: AutomationLogStepResult }) { > {ok ? : } - {result.step_type} + {result.step_type} {result.detail && ( - — {result.detail} + — {result.detail} )} ) diff --git a/src/app/(dashboard)/automations/page.tsx b/src/app/(dashboard)/automations/page.tsx index ac5eaad..28760ae 100644 --- a/src/app/(dashboard)/automations/page.tsx +++ b/src/app/(dashboard)/automations/page.tsx @@ -160,8 +160,8 @@ export default function AutomationsPage() {
    -

    Automations

    -

    +

    Automations

    +

    Build workflows that react to WhatsApp® events automatically.

    @@ -178,7 +178,7 @@ export default function AutomationsPage() { {showTemplates && (
    -

    Quick-start templates

    +

    Quick-start templates

    {TEMPLATE_ORDER.map((slug) => { const t = AUTOMATION_TEMPLATES[slug] @@ -187,13 +187,13 @@ export default function AutomationsPage() { ) })} @@ -202,12 +202,12 @@ export default function AutomationsPage() { )} {automations.length === 0 ? ( -
    +
    -

    No automations yet

    -

    +

    No automations yet

    +

    Pick a template above or create one from scratch.

    @@ -233,7 +233,7 @@ export default function AutomationsPage() { Delete automation This permanently removes{" "} - {pendingDelete?.name} and its execution + {pendingDelete?.name} and its execution history. This cannot be undone. @@ -277,7 +277,7 @@ function AutomationCard({ }) { const meta = triggerMeta(automation.trigger_type) return ( -
  • +
  • - + {automation.name} {automation.is_active && ( @@ -303,9 +303,9 @@ function AutomationCard({ )}
    {automation.description && ( -

    {automation.description}

    +

    {automation.description}

    )} -
    +
    diff --git a/src/app/(dashboard)/broadcasts/[id]/page.tsx b/src/app/(dashboard)/broadcasts/[id]/page.tsx index 7511806..7449d51 100644 --- a/src/app/(dashboard)/broadcasts/[id]/page.tsx +++ b/src/app/(dashboard)/broadcasts/[id]/page.tsx @@ -50,15 +50,15 @@ interface StatCardProps { function StatCard({ label, value, total, icon, color }: StatCardProps) { const pct = total > 0 ? Math.round((value / total) * 100) : 0; return ( -
    +
    {icon}
    - {pct}% + {pct}%
    -

    {value.toLocaleString()}

    -

    {label}

    +

    {value.toLocaleString()}

    +

    {label}

    ); } @@ -77,8 +77,8 @@ interface FunnelStep { function FunnelChart({ steps }: { steps: FunnelStep[] }) { const max = Math.max(...steps.map((s) => s.value), 1); return ( -
    -

    Funnel

    +
    +

    Funnel

    {steps.map((step) => { const pctOfMax = Math.max(5, Math.round((step.value / max) * 100)); @@ -88,17 +88,17 @@ function FunnelChart({ steps }: { steps: FunnelStep[] }) { : 0; return (
    - + {step.label} -
    +
    - + {step.value.toLocaleString()} - + ({pctOfSent}%) @@ -280,20 +280,20 @@ export default function BroadcastDetailPage() { variant="outline" size="icon" onClick={() => router.push('/broadcasts')} - className="border-slate-700" + className="border-border" >
    -

    {broadcast.name}

    +

    {broadcast.name}

    {status.label}
    -
    +
    Template: {broadcast.template_name} - @@ -315,7 +315,7 @@ export default function BroadcastDetailPage() { size="sm" onClick={() => setConfirmDelete(false)} disabled={deleting} - className="h-7 border-slate-700 bg-transparent text-slate-300 hover:bg-slate-800" + className="h-7 border-border bg-transparent text-muted-foreground hover:bg-muted" > Cancel @@ -354,7 +354,7 @@ export default function BroadcastDetailPage() { value={broadcast.total_recipients} total={broadcast.total_recipients} icon={} - color="bg-slate-800 text-slate-300" + color="bg-muted text-muted-foreground" /> {/* Recipients Table */} -
    -
    -

    +
    +
    +

    Recipients ({filteredRecipients.length} {statusFilter !== 'all' ? ` of ${recipients.length}` : ''})

    @@ -409,7 +409,7 @@ export default function BroadcastDetailPage() {