Skip to content

Commit

Permalink
chore: update tutorial card thumbnail & video links (#9746)
Browse files Browse the repository at this point in the history
  • Loading branch information
tianrunhe committed May 20, 2024
1 parent 5c40fcf commit 28c7432
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 2 deletions.
1 change: 1 addition & 0 deletions packages/client/components/MeetingsDash.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ const MeetingsDash = (props: Props) => {
{!teamFilterIds ? (
<Wrapper maybeTabletPlus={maybeTabletPlus}>
<DemoMeetingCard />
<TutorialMeetingCard type='retro' />
<TutorialMeetingCard type='standup' />
<TutorialMeetingCard type='poker' />
</Wrapper>
Expand Down
10 changes: 8 additions & 2 deletions packages/client/components/TutorialMeetingCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import styled from '@emotion/styled'
import React, {useCallback} from 'react'
import SendClientSideEvent from '~/utils/SendClientSideEvent'
import pokerTutorialThumb from '../../../static/images/illustrations/pokerTutorialThumb.jpg'
import retroTutorialThumb from '../../../static/images/illustrations/retroTutorialThumb.png'
import standupTutorialThumb from '../../../static/images/illustrations/standupTutorialThumb.jpg'
import useAtmosphere from '../hooks/useAtmosphere'
import useBreakpoint from '../hooks/useBreakpoint'
Expand Down Expand Up @@ -100,14 +101,19 @@ const TopLine = styled('div')({
})

interface Props {
type: 'poker' | 'standup'
type: 'retro' | 'poker' | 'standup'
}

const TUTORIAL_MAP = {
retro: {
label: 'Starting a Retrospective Meeting',
thumbnail: retroTutorialThumb,
url: 'https://www.youtube.com/embed/C96fNtypaww?modestbranding=1&rel=0'
},
poker: {
label: 'Starting a Sprint Poker Meeting',
thumbnail: pokerTutorialThumb,
url: 'https://www.youtube.com/embed/X_i60AMxPBU?modestbranding=1&rel=0'
url: 'https://www.youtube.com/embed/RJGnNXvvShY?modestbranding=1&rel=0'
},
standup: {
label: 'Starting a Standup Meeting',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ const TeamDashActivityTab = (props: Props) => {
) : (
<>
<DemoMeetingCard />
<TutorialMeetingCard type='retro' />
<TutorialMeetingCard type='standup' />
<TutorialMeetingCard type='poker' />
</>
Expand Down
Binary file modified static/images/illustrations/pokerTutorialThumb.jpg
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.
Binary file modified static/images/illustrations/standupTutorialThumb.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 28c7432

Please sign in to comment.