tangled
alpha
login
or
join now
rocksky.app
/
rocksky
96
fork
atom
A decentralized music tracking and discovery platform built on AT Protocol 🎵
rocksky.app
spotify
atproto
lastfm
musicbrainz
scrobbling
listenbrainz
96
fork
atom
overview
issues
7
pulls
pipelines
work in progress
tsiry-sandratraina.com
2 months ago
b2d6de32
1e904bb1
+11
-7
1 changed file
expand all
collapse all
unified
split
apps
web
src
components
SongCover
InteractionBar
InteractionBar.tsx
+11
-7
apps/web/src/components/SongCover/InteractionBar/InteractionBar.tsx
···
1
1
import HeartOutline from "../../Icons/HeartOutline";
2
2
+
import HeartFilled from "../../Icons/Heart";
2
3
3
4
function InteractionBar() {
4
4
-
return (
5
5
-
<div className="absolute bottom-[-1px] left-0 h-[100px] w-full bg-[linear-gradient(rgba(22,24,35,0)_2.92%,rgba(22,24,35,0.5)_98.99%)] flex justify-start items-end p-[10px] rounded-b-[8px]">
6
6
-
<div className="h-[40px] w-full flex items-center">
7
7
-
<HeartOutline color="#fff" />
8
8
-
</div>
9
9
-
</div>
10
10
-
);
5
5
+
return (
6
6
+
<div className="absolute bottom-[-1px] left-0 h-[100px] w-full bg-[linear-gradient(rgba(22,24,35,0)_2.92%,rgba(22,24,35,0.5)_98.99%)] flex justify-start items-end p-[10px] rounded-b-[8px]">
7
7
+
<div className="h-[40px] w-full flex items-center">
8
8
+
<span className="cursor-pointer" onClick={(e) => e.preventDefault()}>
9
9
+
{true && <HeartOutline color="#fff" />}
10
10
+
{false && <HeartFilled color="#fff" />}
11
11
+
</span>
12
12
+
</div>
13
13
+
</div>
14
14
+
);
11
15
}
12
16
13
17
export default InteractionBar;