Skip to content

Commit

Permalink
Merge pull request #538 from cloudnativedaysjp/revert-535-chore/remov…
Browse files Browse the repository at this point in the history
…e-timeline

Revert "chore: disable LT timetable"
  • Loading branch information
jacopen authored Nov 29, 2024
2 parents 5a233aa + fb0cd58 commit 3137a59
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/pages/[eventAbbr]/ui/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ import { ENV } from '../../../config'
import { useRouter } from 'next/router'
import { useSelector } from 'react-redux'
import { authSelector } from '../../../store/auth'
import { TrackLTView } from '../../../components/TrackLT'
import { showLTSelector } from '../../../store/settings'

const IndexPage: NextPage = () => {
return <IndexMain />
Expand All @@ -21,6 +23,7 @@ const IndexMain = () => {
const { event } = useInitSetup(eventAbbr)
const { refetch } = useGetTalksAndTracks()
const { roles, dkUrl } = useSelector(authSelector)
const showLT = useSelector(showLTSelector)
const router = useRouter()

// NOTE: TrailMapが必要になったら、以下の3つとpointEventSavingのガードのコメントアウトを解除する
Expand Down Expand Up @@ -51,11 +54,22 @@ const IndexMain = () => {
// )
// }

const content = `各セッションの休憩時間に、技術コミュニティからのLTを行います!`

return (
<NextTalkNotifier>
<Layout title={event.name} event={event}>
<TrackSelector />
<TrackView event={event} refetch={refetch} />
{showLT ? (
<TrackLTView
event={event}
youtubeEmbedLink="https://www.youtube.com/embed/BnG_d63F2Gg?si=Noh9JMXtMF_Q5s0v&autoplay=1"
title="コミュニティLT"
content={content}
/>
) : (
<TrackView event={event} refetch={refetch} />
)}
</Layout>
</NextTalkNotifier>
)
Expand Down

0 comments on commit 3137a59

Please sign in to comment.