2026-01-20 12:37:22 +05:30
|
|
|
'use client';
|
|
|
|
|
|
|
|
|
|
import { SettingsSidebar, ProfileSettingsForm } from '@/components/settings';
|
|
|
|
|
|
|
|
|
|
export default function UserProfileSettingsPage() {
|
|
|
|
|
const handleSave = (data: {
|
2026-02-01 15:04:51 +05:30
|
|
|
firstName: string;
|
|
|
|
|
lastName: string;
|
2026-01-20 12:37:22 +05:30
|
|
|
career: string;
|
|
|
|
|
email: string;
|
|
|
|
|
phone: string;
|
|
|
|
|
location: string;
|
|
|
|
|
}) => {
|
|
|
|
|
console.log('Saving user profile settings:', data);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
return (
|
|
|
|
|
<div className="max-w-7xl mx-auto px-4 lg:px-8 py-6">
|
|
|
|
|
<div className="flex flex-col lg:flex-row gap-6">
|
|
|
|
|
{/* Left Sidebar */}
|
|
|
|
|
<SettingsSidebar basePath="/user/settings" />
|
|
|
|
|
|
|
|
|
|
{/* Main Content */}
|
|
|
|
|
<div className="flex-1">
|
|
|
|
|
<ProfileSettingsForm
|
|
|
|
|
onSave={handleSave}
|
|
|
|
|
descriptionText="This information will be displayed on your public profile page."
|
|
|
|
|
/>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
);
|
|
|
|
|
}
|