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 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 | 1x 1x 16x 16x 1x 1x 1x 3x 5x 16x | import { usePageMeta } from "@/contexts/PageContext";
import { APP_EMAILS, APP_NAME, APP_ROUTES } from "@/routes/const";
import {
BookText,
ChevronDown,
CircleHelpIcon,
LifeBuoy,
Mail,
MessageCircle,
} from "lucide-react";
import React, { useState } from "react";
import { Reveal } from "@/components/reveal";
import { ACCENTS, BRAND_BLUE } from "@/components/theme/accents";
// ─── Data ─────────────────────────────────────────────────────────────────────
const QUICK_LINKS = [
{
icon: <BookText className="size-5" />,
label: "Documentation",
description: "Step-by-step guides and API reference.",
href: APP_ROUTES.HOME.docs,
accent: ACCENTS.blue,
},
{
icon: <MessageCircle className="size-5" />,
label: "Contact Support",
description: "Reach our team directly via email.",
href: APP_ROUTES.HOME.contact,
accent: ACCENTS.violet,
},
{
icon: <LifeBuoy className="size-5" />,
label: "Getting Started",
description: "New to the platform? Start here.",
href: "/docs/getting-started",
accent: ACCENTS.cyan,
},
];
const FAQ_ITEMS = [
{
section: "General",
items: [
{
question: `What is ${APP_NAME} and how does it work?`,
answer:
"Our platform is an AI-powered service that allows you to interact with large language models (LLMs) through a simple interface or API, enabling text generation, analysis, and more.",
},
{
question: "Do I need technical skills to use the platform?",
answer:
"Not at all. You can use the web interface with zero coding experience, or integrate via API if you're a developer.",
},
{
question: "What kind of AI models do you support?",
answer:
"We support a range of state-of-the-art large language models, including both general-purpose and domain-specific models.",
},
{
question: "How is this different from ChatGPT or other AI tools?",
answer:
`A chat tool answers questions. ${APP_NAME} governs how your organisation uses AI: rules enforced on every request, agents evaluated against your own standards before they answer, and a version-pinned record of what happened, across the models you choose.`,
},
],
},
{
section: "Pricing & Plans",
items: [
{
question: "How does pricing work?",
answer:
"The Free plan is for individuals evaluating the platform. Paid plans are annual agreements that include a dedicated instance hosted in the UK. We're onboarding design partners now, who pay a 90-day pilot fee that is credited against their first year.",
},
{
question: "How do I move to a paid plan?",
answer: `Email us at ${APP_EMAILS.sales} and we'll agree the set-up with you.`,
},
],
},
{
section: "Data & Security",
items: [
{
question: "Is my data private?",
answer:
"Yes. Your resources are scoped to you, we never use your data to train models, and when you run an agent the content of a request goes only to the service that runs the model you chose.",
},
{
question: "Where is my data hosted?",
answer:
"Your data is stored in the UK (London) and encrypted in transit and at rest. When you run an agent, the request is processed by the service that runs the model you chose, in the region that model declares; every model's data region is shown in the catalogue. If you need a dedicated or self-hosted deployment, talk to us: the platform is built to run inside your own environment.",
},
{
question: "How do you handle data protection and compliance?",
answer:
"The platform is built around UK and EU data protection obligations, with access scoped to each resource's owner, policy controls enforced on every request, and a full version history of every configuration change. We're happy to walk your security or compliance team through our controls and current certification status.",
},
],
},
{
section: "Features & Integrations",
items: [
{
question: "Can I integrate the platform into my app or workflow?",
answer:
"Agents reach your data today through knowledge sources — documents, graphs and websites — and the web through built-in search. Connecting agents to your own tools through MCP servers, and calling your agents from your own applications through the governed API, are both on our roadmap.",
},
{
question: "Do you offer an API?",
answer: `Not yet for external applications. We're building a governed API so that your own applications' model calls pass through your rules and audit trail. Email ${APP_EMAILS.sales} if you'd like early access.`,
},
{
question: "Can I customise the AI's behavior or personality?",
answer: `Yes. Set system prompts, build ${APP_NAME} agents with their own knowledge, tools and skills, and evaluate the result against your own cases.`,
},
],
},
{
section: "Account & Support",
items: [
{
question: "How do I reset my password?",
answer:
"You can reset it by clicking 'Forgot password' on the login screen.",
},
{
question: "How do I close my account?",
answer: `Email us at ${APP_EMAILS.help} and we'll close your account and delete its data.`,
},
{
question: "What's the best way to contact support?",
answer: `Email us at ${APP_EMAILS.help}.`,
},
{
question:
"Do you offer dedicated account managers for enterprise customers?",
answer:
"Yes, enterprise customers are assigned a dedicated account manager.",
},
],
},
];
// ─── FAQ accordion ────────────────────────────────────────────────────────────
function FAQItem({ question, answer }: { question: string; answer: string }) {
const [open, setOpen] = useState(false);
return (
<div
className="rounded-2xl overflow-hidden"
style={{ border: "1px solid rgba(59,130,246,0.15)" }}
>
<button
className="w-full flex justify-between items-center p-5 text-left font-medium transition-colors"
style={{ background: open ? "rgba(59,130,246,0.05)" : "transparent" }}
onClick={() => setOpen(!open)}
>
<span className="text-sm">{question}</span>
<ChevronDown
className="size-5 shrink-0 transition-transform duration-200"
style={{
color: open ? "#3b82f6" : undefined,
opacity: open ? 1 : 0.4,
transform: open ? "rotate(180deg)" : "rotate(0deg)",
}}
/>
</button>
{open && (
<div
className="px-5 pb-5 text-sm leading-relaxed"
style={{
color: "#4B5563",
borderTop: "1px solid rgba(59,130,246,0.1)",
}}
>
<div className="pt-4">{answer}</div>
</div>
)}
</div>
);
}
// ─── Page ─────────────────────────────────────────────────────────────────────
const Help: React.FC = () => {
usePageMeta("Help", 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)",
}}
>
<CircleHelpIcon className="size-3" />
Help Centre
</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",
}}
>
How Can We Help?
</h1>
<p className="text-lg text-gray-500 max-w-xl mx-auto leading-relaxed">
Find answers, guides, and support resources for {APP_NAME}.
</p>
</div>
</section>
{/* ─── Quick Links ─────────────────────────────────────────────────────── */}
<section className="px-8 pb-16">
<div className="max-w-4xl mx-auto">
<div className="grid grid-cols-1 md:grid-cols-3 gap-5">
{QUICK_LINKS.map((link, i) => (
<Reveal key={i} delay={i * 0.1}>
<a
href={link.href}
className="group flex items-start gap-4 rounded-2xl p-5 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 = `${link.accent}55`;
e.currentTarget.style.boxShadow = `0 12px 36px ${link.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="p-2.5 rounded-xl shrink-0"
style={{
background: `${link.accent}15`,
color: link.accent,
}}
>
{link.icon}
</div>
<div>
<p className="font-bold text-sm mb-1">{link.label}</p>
<p className="text-xs text-gray-500 leading-relaxed">
{link.description}
</p>
</div>
</a>
</Reveal>
))}
</div>
</div>
</section>
{/* ─── FAQ ─────────────────────────────────────────────────────────────── */}
<section className="px-8 pb-24">
<div className="max-w-3xl mx-auto">
<Reveal>
<h2 className="text-2xl md:text-3xl font-black text-center mb-2">
Frequently Asked Questions
</h2>
<p className="text-center text-gray-500 mb-10 text-sm">
Everything you need to know about {APP_NAME}.
</p>
</Reveal>
<div className="flex flex-col gap-8">
{FAQ_ITEMS.map((group, gi) => (
<Reveal key={gi} delay={gi * 0.05}>
<div>
<p
className="text-xs font-bold uppercase tracking-widest mb-3 px-1"
style={{ color: BRAND_BLUE }}
>
{group.section}
</p>
<div className="flex flex-col gap-3">
{group.items.map((item, ii) => (
<FAQItem
key={ii}
question={item.question}
answer={item.answer}
/>
))}
</div>
</div>
</Reveal>
))}
</div>
</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">
Still Need Help?
</h2>
<p className="text-blue-100 text-lg mb-8 max-w-lg mx-auto leading-relaxed">
Our support team is here for you. Send us an email and we'll respond
within one business day.
</p>
<a
href={APP_ROUTES.HOME.contact}
className="inline-flex items-center gap-2 px-9 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)")}
>
<Mail className="size-5" />
Contact Us
</a>
</section>
</Reveal>
</div>
);
};
export default Help;
|