Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 | 1x 1x 1x 1x 1x 3x 2x | import { usePageMeta } from "@/contexts/PageContext";
import { APP_EMAILS, APP_NAME, APP_ROUTES } from "@/routes/const";
import {
ArrowRight,
Building2,
Clock,
Handshake,
HeadphonesIcon,
Mail,
Phone,
} from "lucide-react";
import React from "react";
import { Reveal } from "@/components/reveal";
import { ACCENTS, BRAND_BLUE } from "@/components/theme/accents";
// ─── Data ─────────────────────────────────────────────────────────────────────
const CONTACTS = [
{
icon: <HeadphonesIcon className="size-6" />,
label: "Support",
email: APP_EMAILS.help,
description: "For help with your account, billing, or technical issues.",
accent: ACCENTS.blue,
},
{
icon: <Building2 className="size-6" />,
label: "Sales",
email: APP_EMAILS.sales,
description: "Get in touch for demos, quotes, and enterprise solutions.",
accent: ACCENTS.violet,
},
{
icon: <Handshake className="size-6" />,
label: "Partnerships",
email: APP_EMAILS.partnerships,
description:
"Interested in collaborating? Reach out to our partnerships team.",
accent: ACCENTS.cyan,
},
];
const RESPONSE_INFO = [
{
icon: <Clock className="size-4" />,
label: "Response time",
value: "Within 1 business day",
},
{
icon: <Mail className="size-4" />,
label: "Support hours",
value: "Mon – Fri, 9am – 6pm GMT",
},
];
// ─── Page ─────────────────────────────────────────────────────────────────────
const Contact: React.FC = () => {
usePageMeta("Contact", false);
return (
<div className="overflow-hidden">
{/* ─── Hero ──────────────────────────────────────────────────────────── */}
<section className="py-20 px-8">
<div className="max-w-4xl mx-auto text-center">
<div
className="inline-flex items-center gap-2 mb-6 px-4 py-1.5 rounded-full text-xs font-semibold tracking-widest uppercase"
style={{
background: "rgba(59,130,246,0.08)",
border: "1px solid rgba(59,130,246,0.25)",
}}
>
<Phone className="size-3" />
Contact Us
</div>
<h1
className="text-4xl md:text-6xl font-black mb-5 leading-tight"
style={{
background:
"linear-gradient(135deg, #1e40af 0%, #3b82f6 55%, #06b6d4 100%)",
WebkitBackgroundClip: "text",
WebkitTextFillColor: "transparent",
backgroundClip: "text",
}}
>
We'd Love to Hear From You
</h1>
<p className="text-lg text-gray-500 max-w-xl mx-auto leading-relaxed">
Reach the right team at {APP_NAME} — whether you need support, have
a partnership idea, or want to explore what we can build together.
</p>
</div>
</section>
{/* ─── Contact Cards ───────────────────────────────────────────────────── */}
<section className="px-8 pb-16">
<div className="max-w-5xl mx-auto">
<div className="grid grid-cols-1 md:grid-cols-3 gap-6">
{CONTACTS.map((contact, i) => (
<Reveal key={i} delay={i * 0.1}>
<a
href={`mailto:${contact.email}`}
className="group block rounded-2xl p-6 h-full"
style={{
border: "1px solid rgba(59,130,246,0.14)",
transition:
"transform 0.2s, border-color 0.2s, box-shadow 0.2s",
textDecoration: "none",
}}
onMouseEnter={(e) => {
e.currentTarget.style.transform = "translateY(-4px)";
e.currentTarget.style.borderColor = `${contact.accent}55`;
e.currentTarget.style.boxShadow = `0 12px 36px ${contact.accent}18`;
}}
onMouseLeave={(e) => {
e.currentTarget.style.transform = "translateY(0)";
e.currentTarget.style.borderColor = "rgba(59,130,246,0.14)";
e.currentTarget.style.boxShadow = "none";
}}
>
<div
className="inline-flex p-2.5 rounded-xl mb-4"
style={{
background: `${contact.accent}15`,
color: contact.accent,
}}
>
{contact.icon}
</div>
<div className="flex items-start justify-between mb-2">
<h3 className="font-bold text-base">{contact.label}</h3>
<ArrowRight
className="size-4 mt-0.5 opacity-30 group-hover:opacity-70 transition-opacity"
style={{ color: contact.accent }}
/>
</div>
<p
className="text-xs font-mono mb-3"
style={{ color: contact.accent }}
>
{contact.email}
</p>
<p className="text-sm text-gray-500 leading-relaxed">
{contact.description}
</p>
</a>
</Reveal>
))}
</div>
</div>
</section>
{/* ─── Response info strip ─────────────────────────────────────────────── */}
<Reveal>
<section
className="px-8 py-10"
style={{
borderTop: "1px solid rgba(59,130,246,0.1)",
borderBottom: "1px solid rgba(59,130,246,0.1)",
}}
>
<div className="max-w-3xl mx-auto flex flex-col sm:flex-row gap-6 justify-center items-center">
{RESPONSE_INFO.map((info, i) => (
<div key={i} className="flex items-center gap-3">
<span style={{ color: BRAND_BLUE }}>{info.icon}</span>
<div>
<p className="text-xs font-semibold uppercase tracking-wider text-gray-400">
{info.label}
</p>
<p className="text-sm font-medium">{info.value}</p>
</div>
</div>
))}
</div>
</section>
</Reveal>
{/* ─── Enterprise CTA ──────────────────────────────────────────────────── */}
<section className="px-8 py-20">
<div className="max-w-5xl mx-auto">
<Reveal>
<div
className="rounded-3xl overflow-hidden"
style={{
background:
"linear-gradient(135deg, #111827 0%, #1e1b4b 50%, #0f172a 100%)",
border: "1px solid rgba(99,102,241,0.25)",
boxShadow: "0 24px 80px rgba(99,102,241,0.12)",
}}
>
<div className="p-10 md:p-14 flex flex-col md:flex-row gap-10 items-center justify-between">
<div className="text-white max-w-xl">
<div
className="inline-flex items-center gap-2 mb-4 px-3 py-1 rounded-full text-xs font-bold tracking-wider uppercase"
style={{
background: "rgba(99,102,241,0.2)",
border: "1px solid rgba(99,102,241,0.4)",
color: "#a5b4fc",
}}
>
<Building2 className="size-3" />
Enterprise
</div>
<h2 className="text-2xl md:text-3xl font-black mb-3 leading-tight">
Looking for a Bespoke Solution?
</h2>
<p
className="text-base leading-relaxed"
style={{ color: "rgba(199,210,254,0.8)" }}
>
Our team works with enterprise clients to design custom AI
deployments, compliance frameworks, and private hosting
arrangements.
</p>
</div>
<a
href={`mailto:${APP_EMAILS.sales}`}
className="shrink-0 inline-flex items-center gap-2 px-8 py-3.5 rounded-xl font-bold text-sm whitespace-nowrap"
style={{
background: "#6366f1",
color: "white",
transition: "background 0.15s, transform 0.15s",
}}
onMouseEnter={(e) => {
e.currentTarget.style.background = "#4f46e5";
e.currentTarget.style.transform = "scale(1.03)";
}}
onMouseLeave={(e) => {
e.currentTarget.style.background = "#6366f1";
e.currentTarget.style.transform = "scale(1)";
}}
>
Talk to Sales
<ArrowRight className="size-4" />
</a>
</div>
</div>
</Reveal>
</div>
</section>
{/* ─── CTA ─────────────────────────────────────────────────────────────── */}
<Reveal>
<section
className="py-20 px-8 text-center text-white"
style={{
background:
"linear-gradient(135deg, rgba(2,0,36,1) 0%, rgba(9,9,121,1) 50%, rgba(0,212,255,0.85) 100%)",
}}
>
<h2 className="text-3xl md:text-4xl font-black mb-4">
Not Sure Where to Start?
</h2>
<p className="text-blue-100 text-lg mb-8 max-w-lg mx-auto leading-relaxed">
Browse our documentation or jump straight in with a free account.
</p>
<div className="flex flex-col sm:flex-row gap-4 justify-center">
<a
href={APP_ROUTES.HOME.docs}
className="px-8 py-4 rounded-xl font-bold text-lg bg-white text-blue-900"
style={{ transition: "transform 0.15s" }}
onMouseEnter={(e) =>
(e.currentTarget.style.transform = "scale(1.04)")
}
onMouseLeave={(e) =>
(e.currentTarget.style.transform = "scale(1)")
}
>
Read the Docs
</a>
<a
href={APP_ROUTES.HOME.signup}
className="px-8 py-4 rounded-xl font-bold text-lg"
style={{
background: "rgba(255,255,255,0.12)",
border: "1px solid rgba(255,255,255,0.4)",
color: "white",
transition: "background 0.15s, transform 0.15s",
}}
onMouseEnter={(e) => {
e.currentTarget.style.background = "rgba(255,255,255,0.22)";
e.currentTarget.style.transform = "scale(1.02)";
}}
onMouseLeave={(e) => {
e.currentTarget.style.background = "rgba(255,255,255,0.12)";
e.currentTarget.style.transform = "scale(1)";
}}
>
Get Started Free
</a>
</div>
</section>
</Reveal>
</div>
);
};
export default Contact;
|