diff options
| author | Alberto Mac <alberto.duarte.delgado@pwc.com> | 2024-08-26 18:52:46 +0100 |
|---|---|---|
| committer | Alberto Mac <alberto.duarte.delgado@pwc.com> | 2024-08-26 18:52:46 +0100 |
| commit | eb5987108e36136bc079873499f95567b9051029 (patch) | |
| tree | dee934f80aaeb891b31eb90e4e7bc1dca647b112 /app/profiles/page.tsx | |
| parent | 72cf36e033ba794db7982befa45f035b62fa6cd2 (diff) | |
revision, and minor fixes
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 +] |