Spaces:
Sleeping
Sleeping
Download Frontend/src/pages/Public/Support.jsx from smit9604/ExamCraftAI: direct link, hf CLI and curl.
- Browser
- Download file 3.82 kB
-
https://huggingface.co/spaces/smit9604/ExamCraftAI/resolve/main/Frontend/src/pages/Public/Support.jsx
- Command line
-
hf download hf://spaces/smit9604/ExamCraftAI/Frontend/src/pages/Public/Support.jsx
-
curl -L -o Support.jsx https://huggingface.co/spaces/smit9604/ExamCraftAI/resolve/main/Frontend/src/pages/Public/Support.jsx
3.82 kB
| import React from "react"; | |
| import { Mail, MessageCircle, Send } from "lucide-react"; | |
| import { Button } from "../../components/ui/Button"; | |
| import { motion } from "framer-motion"; | |
| export default function Support() { | |
| return ( | |
| <div className="py-24 px-6 max-w-5xl mx-auto flex flex-col md:flex-row gap-16 items-center border-b border-white/5 pb-32"> | |
| <motion.div initial={{ opacity: 0, x: -30 }} animate={{ opacity: 1, x: 0 }} className="flex-1 space-y-8"> | |
| <div> | |
| <MessageCircle className="w-16 h-16 text-primary mb-6" /> | |
| <h1 className="text-4xl md:text-5xl font-extrabold tracking-tight text-foreground mb-4"> | |
| Contact <span className="text-primary">Support</span> | |
| </h1> | |
| <p className="text-lg text-muted-foreground"> | |
| Need technical assistance, billing help, or looking to scale for your entire institution? Reach out. | |
| </p> | |
| </div> | |
| <div className="bg-card border border-border shadow-sm rounded-2xl p-6 w-fit glass"> | |
| <p className="text-muted-foreground text-sm font-semibold uppercase tracking-wider mb-2 flex items-center gap-2"><Mail className="w-4 h-4 text-accent" /> Direct Email Protocol</p> | |
| <a href="mailto:support@examcraft.ai" className="text-2xl font-bold text-foreground hover:text-primary transition-colors"> | |
| support@examcraft.ai | |
| </a> | |
| <div className="mt-4 flex items-center gap-2"> | |
| <span className="w-3 h-3 rounded-full bg-green-500 animate-pulse" /> | |
| <span className="text-sm font-mono text-green-400">Response SLA: {"<"} 24 Hours</span> | |
| </div> | |
| </div> | |
| </motion.div> | |
| <motion.div initial={{ opacity: 0, x: 30 }} animate={{ opacity: 1, x: 0 }} transition={{ delay: 0.2 }} className="flex-1 w-full bg-card border border-border shadow-sm p-8 rounded-3xl backdrop-blur-md"> | |
| <form className="space-y-6" onSubmit={(e) => e.preventDefault()}> | |
| <div className="space-y-2"> | |
| <label className="text-sm font-bold text-foreground/80">Full Name</label> | |
| <input type="text" placeholder="Dr. John Doe" className="w-full bg-muted/50 border border-border rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors" /> | |
| </div> | |
| <div className="space-y-2"> | |
| <label className="text-sm font-bold text-foreground/80">Institutional Email</label> | |
| <input type="email" placeholder="john@university.edu" className="w-full bg-muted/50 border border-border rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors" /> | |
| </div> | |
| <div className="space-y-2"> | |
| <label className="text-sm font-bold text-foreground/80">Message Payload</label> | |
| <textarea rows={4} placeholder="How can we help your academy..." className="w-full bg-muted/50 border border-border rounded-xl px-4 py-3 text-foreground placeholder:text-muted-foreground focus:outline-none focus:border-primary transition-colors resize-none" /> | |
| </div> | |
| <Button className="w-full h-12 text-md font-bold glow-border shadow-lg shadow-primary/20 flex gap-2"> | |
| <Send className="w-4 h-4" /> Transmit Message | |
| </Button> | |
| </form> | |
| </motion.div> | |
| </div> | |
| ); | |
| } | |