mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-22 20:11:50 -07:00
fix layout, year param
This commit is contained in:
parent
60667ea716
commit
b0b0284a3d
3 changed files with 39 additions and 19 deletions
|
|
@ -13,7 +13,7 @@ export default function Rewind(props: Props) {
|
|||
const trackimg = props.stats.top_tracks[0].image;
|
||||
return (
|
||||
<div className="flex flex-col gap-7">
|
||||
<h1>{props.stats.title}</h1>
|
||||
<h2>{props.stats.title}</h2>
|
||||
<RewindTopItem
|
||||
title="Top Artist"
|
||||
imageSrc={imageUrl(artistimg, "medium")}
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ export default function Sidebar() {
|
|||
<SidebarSearch size={iconSize} />
|
||||
<SidebarItem
|
||||
space={10}
|
||||
to="/rewind"
|
||||
to={`/rewind?year=${new Date().getFullYear()}`}
|
||||
name="Rewind"
|
||||
onClick={() => {}}
|
||||
modal={<></>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue