done for the day

This commit is contained in:
2025-05-30 16:50:18 -05:00
parent 8303f287d9
commit 7238403f39
11 changed files with 346 additions and 285 deletions

View File

@ -1,6 +1,6 @@
import { useFileUpload } from '@/lib/hooks/useFileUpload';
import { useAuth } from '@/components/context/auth';
import { Avatar, AvatarFallback, AvatarImage } from '@/components/ui';
import { Avatar, AvatarFallback, AvatarImage, CardContent } from '@/components/ui';
import { Loader2, Pencil, Upload, User } from 'lucide-react';
type AvatarUploadProps = {
@ -43,6 +43,8 @@ export const AvatarUpload = ({ onAvatarUploaded }: AvatarUploadProps) => {
};
return (
<CardContent>
<div className='flex flex-col items-center'>
<div
className='relative group cursor-pointer mb-4'
@ -92,5 +94,6 @@ export const AvatarUpload = ({ onAvatarUploaded }: AvatarUploadProps) => {
</div>
)}
</div>
</CardContent>
);
};