diff --git a/src/components/sections/Leaderboard/_renderSubmissions.js b/src/components/sections/Leaderboard/_renderSubmissions.js index ebc5081..c17117d 100644 --- a/src/components/sections/Leaderboard/_renderSubmissions.js +++ b/src/components/sections/Leaderboard/_renderSubmissions.js @@ -1,8 +1,9 @@ import {ELEMENTS_PER_PAGE, IS_MOBILE} from '../../../utils/globals'; -import {FlexColumn, FlexRow, Grid} from '../../../utils/containers'; +import {FlexColumn, FlexRow, Grid, Svg} from '../../../utils/containers'; import {Body, Medium} from '../../../utils/fonts'; import styled from 'styled-components'; import theme from '../../../utils/theme'; +import arrow from '../../../assets/arrow.svg'; const Line = styled(FlexRow)` @@ -59,18 +60,28 @@ const _renderSubmissions = (pageNr, submissions, gridGap, metricChoose, sortBy, return ( {index === 0 ? headerElements.map((elem, i) => { return ( - - {elem} - + + + {elem} + + {elem !== '#' ? + <> + + + : ''} + ); }) : ''} - {index === 0 ? : ''} + {index === 0 ? : ''} {index + n} @@ -86,7 +97,7 @@ const _renderSubmissions = (pageNr, submissions, gridGap, metricChoose, sortBy, }) : {evaluations[metricChoose] ? evaluations[metricChoose].score.slice(0, 7) : 'xxx'} } - + {times ? times : 1} diff --git a/src/components/sections/MyEntries/_renderMySubmissions.js b/src/components/sections/MyEntries/_renderMySubmissions.js index 4c8bd6c..4853835 100644 --- a/src/components/sections/MyEntries/_renderMySubmissions.js +++ b/src/components/sections/MyEntries/_renderMySubmissions.js @@ -63,7 +63,7 @@ const _renderMySubmissions = (pageNr, myEntries, gridGap, metricChoose, sortBy, ); }) : ''} - {index === 0 ? : ''} + {index === 0 ? : ''} {index + n + 1}