Skip to content

Commit

Permalink
Updated HD images, added new song, added version #
Browse files Browse the repository at this point in the history
  • Loading branch information
lainshiHenry committed Jun 19, 2023
1 parent 6386b27 commit 4838c2c
Show file tree
Hide file tree
Showing 9 changed files with 17 additions and 6 deletions.
Binary file modified public/assets/images/song_covers/all_night_tenpai_fever.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/assets/images/song_covers/fist_2_fist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ function _debounce(fn, ms) {
}

function App() {
const versionNumber = '1.0.5';


const [dimension, setDimensions] = useState({
height: window.innerHeight,
width: window.innerWidth,
Expand All @@ -41,7 +44,7 @@ function App() {
<div className='App' id='App'>
<PlaylistModal />
{/* {dimension.height > dimension.width ? <MainScreenPortrait /> : <MainScreen />} */}
<MainScreenPortrait />
<MainScreenPortrait versionNumber={versionNumber} />
</div>
);
}
Expand Down
Binary file modified src/assets/images/song_covers/all_night_tenpai_fever.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/assets/images/song_covers/fist_2_fist.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 11 additions & 3 deletions src/songsList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,25 +1068,33 @@ const songsList: Song[] = [
artist: 'Sakuya Sakuma, Masumi Usui & Banri Settsu',
src_online: 'https://a3songs.s3.us-east-2.amazonaws.com/hana_ga_saku_basho_de.mp3',
img_src: 'assets/images/song_covers/hana_ga_saku_basho_de.png',
posterImg_src: 'assets/images/song_covers/hana_ga_saku_basho_de_poster.png',
posterImg_src: 'assets/images/song_covers/hana_ga_saku_basho_de.png',
src: 'assets/music/hana_ga_saku_basho_de.mp3',
}),
new Song({
title: 'All Night Tenpai Fever',
artist: 'Citron, Kazunari, Azuma & Sakyo',
src_online: 'https://a3songs.s3.us-east-2.amazonaws.com/all_night_tenpai_fever.mp3',
img_src: 'assets/images/song_covers/all_night_tenpai_fever.png',
posterImg_src: 'assets/images/song_covers/all_night_tenpai_fever_poster.png',
posterImg_src: 'assets/images/song_covers/all_night_tenpai_fever.png',
src: 'assets/music/all_night_tenpai_fever.mp3',
}),
new Song({
title: 'Yorimichi Kibun',
artist: 'Tenma, Juza & Taichi',
src_online: 'https://a3songs.s3.us-east-2.amazonaws.com/yorimichi_kibun.mp3',
img_src: 'assets/images/song_covers/yorimichi_kibun.png',
posterImg_src: 'assets/images/song_covers/yorimichi_kibun_poster.png',
posterImg_src: 'assets/images/song_covers/yorimichi_kibun.png',
src: 'assets/music/yorimichi_kibun.mp3',
}),
new Song({
title: 'Fist 2 Fist',
artist: 'Omi, Sakyo & Azami',
src_online: 'https://a3songs.s3.us-east-2.amazonaws.com/fist_2_fist.mp3',
img_src: 'assets/images/song_covers/fist_2_fist.png',
posterImg_src: 'assets/images/song_covers/fist_2_fist.png',
src: 'assets/music/fist_2_fist.mp3',
}),
];

export default songsList;
Expand Down
4 changes: 2 additions & 2 deletions src/views/screens/MainScreenPortrait.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import Player from '../components/Player'
import PlaylistController from '../../controller/PlaylistController'
import Playlist from '../components/Playlist'

const MainScreenPortrait = () => {
const MainScreenPortrait = ({versionNumber}: {versionNumber: string}) => {
const playlistController: PlaylistController = new PlaylistController();
const currentSongInd: React.MutableRefObject<number> = useRef(0);
const [songs] = useState(playlistController.getCurrentPlaylist);
Expand Down Expand Up @@ -183,8 +183,8 @@ const MainScreenPortrait = () => {
currentSongIndex={currentSongInd.current}
selectSong={selectSong}
/>
<span>Version: {versionNumber}</span>
</div>

);
}

Expand Down

0 comments on commit 4838c2c

Please sign in to comment.