import React, { useState } from 'react'; import { Facebook, Twitter, Instagram, Linkedin, AlertCircle } from 'lucide-react'; const AccountLinking = () => { const [platform, setPlatform] = useState(''); const [username, setUsername] = useState(''); const handleLink = async () => { // Here we would integrate with the chosen platform's API // For now, just demonstrate the flow alert(`Linking ${username} on ${platform}`); }; return (

Link Social Media Account

{platform && (
setUsername(e.target.value)} className="w-full p-2 border rounded" placeholder={`Enter your ${platform} username`} />

We'll monitor this account for inactivity. Make sure the profile is public so we can track activity.

)}
); }; export default AccountLinking;