diff --git a/AquaNet/src/app.sass b/AquaNet/src/app.sass index 2d5c9108..7621551c 100644 --- a/AquaNet/src/app.sass +++ b/AquaNet/src/app.sass @@ -234,4 +234,7 @@ nav &:hover color: $c-main text-decoration-color: $c-main - text-underline-offset: 0.5em \ No newline at end of file + text-underline-offset: 0.5em + + &.active + color: $c-main diff --git a/AquaNet/src/pages/UserHome.svelte b/AquaNet/src/pages/UserHome.svelte index 3ab1f601..e918fd4b 100644 --- a/AquaNet/src/pages/UserHome.svelte +++ b/AquaNet/src/pages/UserHome.svelte @@ -40,8 +40,8 @@ renderCal(calElement, trend.map(it => {return {date: it.date, value: it.plays}})) }).catch((e) => error = e.message); - - const titleText = {chu3: 'Chuni', mai2: 'Mai', ongeki: 'Ongeki'}[game] + const games = {chu3: 'Chuni', mai2: 'Mai', ongeki: 'Ongeki'} + const titleText = games[game]
@@ -49,6 +49,11 @@

{d.user.name}

+
@@ -201,18 +206,37 @@ $gap: 20px align-items: flex-end gap: $gap margin-top: -72px + position: relative h2 font-size: 2rem margin: 0 white-space: nowrap + nav + position: absolute + display: flex + flex-direction: row + gap: 10px + top: 0.5rem + right: 0 + .pfp width: 100px height: 100px border-radius: 12px object-fit: cover + @media (max-width: $w-mobile) + .user-pfp + margin-top: -68px + h2 + font-size: 1.5rem + + .pfp + width: 80px + height: 80px + .info-bottom, .info-top, .other-info display: flex gap: $gap