mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-13 11:42:10 +00:00
i11y
This commit is contained in:
parent
3f0a1207e9
commit
ee7b139093
1 changed files with 13 additions and 2 deletions
|
@ -15,6 +15,7 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
||||||
<>
|
<>
|
||||||
<section className={styles.profileContentBox}>
|
<section className={styles.profileContentBox}>
|
||||||
<img
|
<img
|
||||||
|
alt={userProfile.username + " profile image"}
|
||||||
className={styles.profileAvatar}
|
className={styles.profileAvatar}
|
||||||
src="https://cdn.losbroxas.org/3918aa27-9b96-4fdf-b066-4c545d6667ab.png"
|
src="https://cdn.losbroxas.org/3918aa27-9b96-4fdf-b066-4c545d6667ab.png"
|
||||||
/>
|
/>
|
||||||
|
@ -55,7 +56,12 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
||||||
{userProfile.recentGames.map((game) => {
|
{userProfile.recentGames.map((game) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<img src={game.cover} width={50} height={50} />
|
<img
|
||||||
|
src={game.cover}
|
||||||
|
width={50}
|
||||||
|
height={50}
|
||||||
|
alt={"Icon for " + game.title}
|
||||||
|
/>
|
||||||
<p key={game.objectID}>{game.title}</p>
|
<p key={game.objectID}>{game.title}</p>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
@ -91,7 +97,12 @@ export const ProfileContent = ({ userProfile }: ProfileContentProps) => {
|
||||||
{userProfile.libraryGames.map((game) => {
|
{userProfile.libraryGames.map((game) => {
|
||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
<img src={game.cover} width={50} height={50} />{" "}
|
<img
|
||||||
|
src={game.cover}
|
||||||
|
width={50}
|
||||||
|
height={50}
|
||||||
|
alt={"Icon for " + game.title}
|
||||||
|
/>
|
||||||
<p key={game.objectID}>{game.title}</p>
|
<p key={game.objectID}>{game.title}</p>
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in a new issue