-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- but the size and position is odd - will not be deployed to production
- Loading branch information
1 parent
3f169e2
commit 9217c71
Showing
7 changed files
with
347 additions
and
174 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import React from "react"; | ||
import Player from "@madzadev/audio-player"; | ||
import "@madzadev/audio-player/dist/index.css"; | ||
import { tracks } from "../../data/tracks"; | ||
|
||
const MusicPlayer = () => { | ||
return ( | ||
<div className="w-full h-18 text-sm"> | ||
<Player | ||
trackList={tracks} | ||
includeTags={false} | ||
includeSearch={false} | ||
showPlaylist={false} | ||
sortTracks={false} | ||
autoPlayNextTrack={true} | ||
/> | ||
</div> | ||
); | ||
}; | ||
|
||
export default MusicPlayer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
export const tracks = [ | ||
{ | ||
url: "https://storage.cloud.google.com/my-website-profile-16b19.appspot.com/music/%E1%84%8B%E1%85%AF%E1%86%AB%E1%84%85%E1%85%A7%E1%86%BC%E1%84%80%E1%85%A9%E1%86%BC%E1%84%8C%E1%85%AE(Princess%20Mononoke)%20OST%20-%20The%20Legend%20Of%20Ashitaka%20(Piano%20cover).mp4", | ||
title: "The Legend Of Ashitaka (Piano cover).mp4", | ||
tags: ["piano"], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
._wrapper_1sefb_1 { | ||
width: 60%; | ||
margin: auto; | ||
overflow: hidden; | ||
} | ||
|
||
._title_1ldbx_1, ._time_ac0au_1, ._wrapper_1ssds_1 { | ||
font-size: 0.8rem; | ||
} | ||
|
||
._play_rfl62_1, ._loop_1v4pf_1, ._previous_1mino_1, ._next_147p5_1, ._pause_1talx_1, ._shuffle_15ul3_1 { | ||
width: 1rem; | ||
height: 1rem; | ||
} | ||
|
||
._wrapper_l8wb1_1 { | ||
display: flex; | ||
justify-content: space-around; | ||
align-items: center; | ||
} |