diff --git a/components/GridRep/index.scss b/components/GridRep/index.scss index a47aa2fa..27717f65 100644 --- a/components/GridRep/index.scss +++ b/components/GridRep/index.scss @@ -99,6 +99,10 @@ .bottom { display: flex; flex-direction: row; + + a.user:hover { + color: var(--link-text-hover); + } } .raid, diff --git a/components/GridRep/index.tsx b/components/GridRep/index.tsx index f353a8ed..41180b6a 100644 --- a/components/GridRep/index.tsx +++ b/components/GridRep/index.tsx @@ -1,4 +1,5 @@ import React, { useEffect, useState } from 'react' +import Link from 'next/link' import { useRouter } from 'next/router' import { useSnapshot } from 'valtio' import { useTranslation } from 'next-i18next' @@ -132,11 +133,28 @@ const GridRep = (props: Props) => { } else return
} + const linkedAttribution = () => ( + + + {userImage()} + {props.user ? props.user.username : t('no_user')} + + + ) + + const unlinkedAttribution = () => ( +