Skip to content

Commit

Permalink
Merge pull request #62 from TurunWappuradio/chore/live-mode
Browse files Browse the repository at this point in the history
Live mode preparation
  • Loading branch information
niemisami authored Oct 24, 2023
2 parents 065889e + 8ef8b31 commit 7a5494f
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Footer from 'components/footer';
// import Calendar from 'components/calendar';
import Sponsors, { ISponsorData } from 'components/sponsors';
import { Showlist } from 'components/showlist';
// import Player from 'components/player';
import Player from 'components/player';
import { fetchShowlist } from 'google/client';

const isPlayerLive = process.env.NEXT_PUBLIC_PLAYER_MODE === 'live';
Expand Down Expand Up @@ -71,10 +71,10 @@ const Index: NextPage<IndexProps & PlayerControls> = ({
// secondContent,
// thirdContent,
sponsors,
// playing,
// onPlayPause,
// muted,
// onMute,
playing,
onPlayPause,
muted,
onMute,
}) => {
return (
<div className="min-h-screen w-full">
Expand All @@ -91,15 +91,15 @@ const Index: NextPage<IndexProps & PlayerControls> = ({
navigationItems={navigationItems}
isCompact={isPlayerLive}
/>
{/* {isPlayerLive && (
{isPlayerLive && (
<Player
playing={playing}
onPlayPause={onPlayPause}
muted={muted}
onMute={onMute}
showsByDate={showsByDate}
/>
)} */}
)}

<Showlist showsByDate={showsByDate} weekKeys={weekKeys} />

Expand Down

0 comments on commit 7a5494f

Please sign in to comment.