Skip to content

Commit

Permalink
BGM、スライド差し替え対応
Browse files Browse the repository at this point in the history
  • Loading branch information
Gaku-Kunimi committed Jul 8, 2024
1 parent 3c575f9 commit 7cfbfa4
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 4 deletions.
Binary file added public/pek2024/info1.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/pek2024/pek2024_intermission.mp3
Binary file not shown.
2 changes: 1 addition & 1 deletion src/components/Page3.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Image from 'next/image'
type Props = { view: Optional<TalkView> }

const images = [
'/cnds2024/info1.png',
'/pek2024/info1.png',
// '/cnds2024/info2.png',
// '/cnds2024/info3.png',
// '/cnds2024/info4.png',
Expand Down
2 changes: 1 addition & 1 deletion src/components/PixiApp.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ const RotatingBunny: React.FC<ContentProperties> = (
}, [props.talkData, props.speakersData])

if (!sound.exists('bgm'))
sound.add('bgm', '/cnds2024/cnds2024_intermission.mp3')
sound.add('bgm', '/pek2024/pek2024_intermission.mp3')

const style_clock = new PIXI.TextStyle({
align: 'center',
Expand Down
2 changes: 1 addition & 1 deletion src/pages/break-dk/talks/[talkId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ function Pages() {
setTotalPage(pages.length)
}, []) // eslint-disable-line react-hooks/exhaustive-deps

const audioSrc = '/cnds2024/cnds2024_intermission.mp3'
const audioSrc = '/pek2024/pek2024_intermission.mp3'
const shouldPlayAudio = current !== pages.length - 1

if (isLoading) {
Expand Down
2 changes: 1 addition & 1 deletion src/pages/break/talks/[talkId].tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Pages() {
setTotalPage(pages.length)
}, []) // eslint-disable-line react-hooks/exhaustive-deps

const audioSrc = '/cnds2024/cnds2024_intermission.mp3'
const audioSrc = '/pek2024/pek2024_intermission.mp3'
const shouldPlayAudio = current !== pages.length - 1

if (!view) {
Expand Down

0 comments on commit 7cfbfa4

Please sign in to comment.