import { useState } from "react"; import { Mail, Building2, Upload, CheckCircle, AlertCircle } from "lucide-react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; import { Avatar, AvatarFallback, AvatarImage } from "@/components/ui/avatar"; import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card"; import { Badge } from "@/components/ui/badge"; export default function ProfilePage() { const [name, setName] = useState("John Doe"); const [isEditing, setIsEditing] = useState(false); // Mock user data const user = { name: "John Doe", email: "john@example.com", emailVerified: true, avatar: null, initials: "JD", organizations: [ { name: "Acme Corp", role: "Admin" }, { name: "Beta Inc", role: "Member" }, ], }; const handleSave = () => { setIsEditing(false); // Save logic here }; return (
Manage your personal information and organization memberships
JPG, PNG or GIF. Max 2MB.