diff options
Diffstat (limited to 'src/components/InfoPopUp/index.tsx')
| -rw-r--r-- | src/components/InfoPopUp/index.tsx | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/InfoPopUp/index.tsx b/src/components/InfoPopUp/index.tsx index ba9f233..72568aa 100644 --- a/src/components/InfoPopUp/index.tsx +++ b/src/components/InfoPopUp/index.tsx @@ -4,9 +4,14 @@ import * as Styled from "./index.styled"; interface Props { onClose: () => void; + gameMode: string; } -export function InfoPopUp({ onClose }: Props) { +export function InfoPopUp({ onClose, gameMode }: Props) { + let firstLine = "Listen to the audio clip, then find the correct song in the list." + if (gameMode === "dailyMV") { + firstLine = "Find the correct song in the list based on photos from the music video."; + } return ( <Styled.Container> <Styled.PopUp> @@ -14,7 +19,7 @@ export function InfoPopUp({ onClose }: Props) { <Styled.Spacer /> <Styled.Section> <p> - Listen to the audio clip, then find the correct song in the list. + {firstLine} </p> </Styled.Section> <Styled.Section> |
