diff --git a/client/pages/About.tsx b/client/pages/About.tsx index a9967075..071798d5 100644 --- a/client/pages/About.tsx +++ b/client/pages/About.tsx @@ -8,13 +8,7 @@ import { } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; -import { Input } from "@/components/ui/input"; -import { Textarea } from "@/components/ui/textarea"; -import { Label } from "@/components/ui/label"; -import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "@/components/ui/select"; -import { aethexToast } from "@/lib/aethex-toast"; -import { Rocket, Cpu, Users, Shield, Zap, GitBranch, MessageSquare } from "lucide-react"; -import { useState } from "react"; +import { Rocket, Cpu, Users, Shield, Zap, GitBranch } from "lucide-react"; export default function About() { const values = [ @@ -69,31 +63,6 @@ export default function About() { { kpi: "<30d", label: "MVP timelines" }, ]; - const [name, setName] = useState(""); - const [email, setEmail] = useState(""); - const [topic, setTopic] = useState("community"); - const [message, setMessage] = useState(""); - const [isSending, setIsSending] = useState(false); - - const submit = async (e: React.FormEvent) => { - e.preventDefault(); - if (!name.trim() || !email.trim() || !message.trim()) { - aethexToast.error({ title: "Missing info", description: "Please fill out all fields." }); - return; - } - setIsSending(true); - try { - aethexToast.success({ title: "Thanks!", description: "We’ll follow up about your request." }); - setName(""); - setEmail(""); - setMessage(""); - setTopic("community"); - } catch (err: any) { - aethexToast.error({ title: "Failed to send", description: err?.message || "Try again." }); - } finally { - setIsSending(false); - } - }; return ( @@ -267,68 +236,6 @@ export default function About() { -
- - - - Get involved - - - Reach out about community, collaboration, or mentorship. - - - -
-
-
- - setName(e.target.value)} placeholder="Your name" /> -
-
- - setEmail(e.target.value)} placeholder="you@example.com" /> -
-
-
- - -
-
- -