diff options
Diffstat (limited to 'app/profiles/page.tsx')
| -rw-r--r-- | app/profiles/page.tsx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/app/profiles/page.tsx b/app/profiles/page.tsx index fca89a5..1a9c29a 100644 --- a/app/profiles/page.tsx +++ b/app/profiles/page.tsx @@ -28,8 +28,8 @@ export default function Profiles() { { USERS.map((user, index) => ( <div key={index} className="flex flex-col items-center justify-center"> - <Link href={'/browse'} className="w-[128px] h-[128px] rounded-xl overflow-hidden bg-white"> - <Image src={user.avatar} width={128} height={128} alt=""/> +<Link href={'/browse'} className="w-[128px] h-[128px] rounded-xl overflow-hidden bg-white"> + <img src={user.avatar} alt="" className="w-full h-full" /> </Link> <p className="text-gray-400 text-xs">{user.name}</p> </div> @@ -42,15 +42,15 @@ export default function Profiles() { const USERS = [ { name:'Alberto', - avatar:'https://avatars.dicebear.com/api/male/124.svg' + avatar:'https://api.dicebear.com/9.x/adventurer/svg?seed=alberto' }, { name:'Kids', - avatar:'https://avatars.dicebear.com/api/male/122.svg' + avatar:'https://api.dicebear.com/9.x/adventurer/svg?seed=kids' }, { name:'Add profile', - avatar:'https://avatars.dicebear.com/api/female/12.svg' + avatar:'https://api.dicebear.com/9.x/adventurer/svg?seed=add' // icon:'...' } -]
\ No newline at end of file +] |