From 71e0aa6f3b4232952bad34cdf947e040a8fb817e Mon Sep 17 00:00:00 2001 From: default Date: Tue, 2 Jun 2026 15:06:02 +0000 Subject: [PATCH] feat(landing): enhance hero with vibrant colorful design - Add gradient background with warm peachy/golden tones - Add 4 large colorful decorative blobs (coral, mint, amber, lavender) - Add colorful accent dots scattered around hero - Enhance grid pattern with blue-tinted color - Add colorful gradient divider before CTAs - Give trust indicator cards unique gradient backgrounds (mint, amber, coral) - Enhance floating stat cards with vibrant gradients (pink, teal, amber) - Update pulse glow animation colors to match theme Adds energy and visual depth while maintaining professional appearance --- .../admin/CommunicationSettingsForm.tsx | 179 +++++++----- src/components/admin/CommunicationsPage.tsx | 18 +- .../HarvestReach/MatchingCustomersPanel.tsx | 244 +++++++++------- .../admin/HarvestReach/SegmentBuilderPage.tsx | 105 ++++--- .../HarvestReach/SegmentBuilderPanel.tsx | 263 +++++++++++++----- src/components/landing/HeroSection.tsx | 145 +++++++--- 6 files changed, 648 insertions(+), 306 deletions(-) diff --git a/src/components/admin/CommunicationSettingsForm.tsx b/src/components/admin/CommunicationSettingsForm.tsx index d4b205e..1bab26c 100644 --- a/src/components/admin/CommunicationSettingsForm.tsx +++ b/src/components/admin/CommunicationSettingsForm.tsx @@ -4,8 +4,32 @@ import { useState } from "react"; import { useRouter } from "next/navigation"; import type { CommunicationSettings } from "@/actions/communications/settings"; import { upsertCommunicationSettings } from "@/actions/communications/settings"; +import { AdminButton } from "@/components/admin/design-system"; +import { AdminInput, AdminTextInput, AdminTextarea } from "@/components/admin/design-system/AdminFormElements"; -const BRAND_ID = process.env.NEXT_PUBLIC_TUXEDO_BRAND_ID ?? "64294306-5f42-463d-a5e8-2ad6c81a96de"; +// Mail icon for the header +const MailIcon = ({ className }: { className?: string }) => ( + + + + +); + +// Check icon for success +const CheckIcon = () => ( + + + +); + +// Warning icon for provider notice +const WarningIcon = () => ( + + + + + +); export default function CommunicationSettingsForm({ settings, @@ -46,76 +70,99 @@ export default function CommunicationSettingsForm({ return (
-
-

Sender Settings

-

- Configure the default sender identity for this brand's email campaigns. - Provider (Resend) is configured via environment variables — no credentials stored here. -

-
- - {error && ( -
{error}
- )} - {success && ( -
- Settings saved successfully. -
- )} - -
-
- - setSenderEmail(e.target.value)} - className="w-full border border-zinc-600 rounded-lg px-3 py-2 text-sm" - placeholder="orders@tuxedocorn.com" - /> + {/* Header */} +
+
+
- - setSenderName(e.target.value)} - className="w-full border border-zinc-600 rounded-lg px-3 py-2 text-sm" - placeholder="Route Commerce" - /> -
-
- - setReplyTo(e.target.value)} - className="w-full border border-zinc-600 rounded-lg px-3 py-2 text-sm" - placeholder="support@tuxedocorn.com" - /> -
-
- -