aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/InfoPopUp/index.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/InfoPopUp/index.tsx')
-rw-r--r--src/components/InfoPopUp/index.tsx9
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>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage