Skip to content

Commit c6d13dd

Browse files
ChengaDevclaude
andcommitted
Add SEO content blurb to YouTube Free Play page
Adds a localized descriptive paragraph below the clock panel with keywords: 24-second shot clock, offensive rebound reset, FIBA, NBA, referee training, real game footage — gives Google crawlable content. All 5 languages covered. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c6d1b86 commit c6d13dd

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

src/components/YouTubePage.tsx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,8 @@ const YouTubePage: React.FC = () => {
157157
</ClockScaler>
158158
</ClockPanel>
159159

160+
<PageBlurb>{locals.youtubeBlurb}</PageBlurb>
161+
160162
<MobileLandscapeBanner>
161163
<RotatePortraitIcon />
162164
For the best experience, switch to portrait mode
@@ -417,6 +419,16 @@ const PortraitBanner = styled.div`
417419
}
418420
`
419421

422+
const PageBlurb = styled.p`
423+
text-align: center;
424+
max-width: 640px;
425+
margin: 0 auto 1rem;
426+
padding: 0 1.5rem;
427+
font-size: 0.82rem;
428+
line-height: 1.65;
429+
color: ${props => props.theme.subtleText};
430+
`
431+
420432
const MobileLandscapeBanner = styled.div`
421433
display: none;
422434

src/localization/locailzation.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ const AppLocalization: AppLocalizationType = {
268268
youtubeLoadVideo: 'Load',
269269
youtubeChangeVideo: 'Change Video',
270270
youtubeInvalidUrl: 'Please paste a valid YouTube URL',
271+
youtubeBlurb: 'Paste any YouTube basketball game link and operate the 24-second shot clock in real time alongside it. Start and stop the clock on possessions, reset to 14 seconds after offensive rebounds, and hear the buzzer when time expires — just like a real FIBA or NBA game. Great for referees in training, coaches reviewing film, and basketball fans who want to feel the pressure of the shot clock while watching real game footage.',
271272
},
272273
it: {
273274
title: "Practica dell'orologio di pallacanestro",
@@ -531,6 +532,7 @@ const AppLocalization: AppLocalizationType = {
531532
youtubeLoadVideo: 'Carica',
532533
youtubeChangeVideo: 'Cambia video',
533534
youtubeInvalidUrl: 'Inserisci un URL YouTube valido',
535+
youtubeBlurb: 'Incolla qualsiasi link YouTube di una partita di basket e gestisci il cronometro da 24 secondi in tempo reale. Avvia e ferma il cronometro sulle possessi, resetta a 14 secondi dopo i rimbalzi offensivi e ascolta il buzzer allo scadere del tempo — proprio come in una vera partita FIBA o NBA.',
534536
},
535537
es: {
536538
title: 'Práctica de reloj de baloncesto',
@@ -794,6 +796,7 @@ const AppLocalization: AppLocalizationType = {
794796
youtubeLoadVideo: 'Cargar',
795797
youtubeChangeVideo: 'Cambiar video',
796798
youtubeInvalidUrl: 'Por favor pega una URL de YouTube válida',
799+
youtubeBlurb: 'Pega cualquier enlace de YouTube de un partido de baloncesto y opera el reloj de posesión de 24 segundos en tiempo real. Inicia y detén el reloj en cada posesión, reinicia a 14 segundos tras rebotes ofensivos y escucha el buzzer al expirar — igual que en un partido real de FIBA o NBA.',
797800
},
798801
fr: {
799802
title: 'Entraînement au chronomètre des tirs',
@@ -1058,6 +1061,7 @@ const AppLocalization: AppLocalizationType = {
10581061
youtubeLoadVideo: 'Charger',
10591062
youtubeChangeVideo: 'Changer de vidéo',
10601063
youtubeInvalidUrl: 'Veuillez coller une URL YouTube valide',
1064+
youtubeBlurb: 'Collez n\'importe quel lien YouTube d\'un match de basket et opérez le chronomètre de 24 secondes en temps réel. Démarrez et arrêtez le chronomètre sur chaque possession, réinitialisez à 14 secondes après les rebonds offensifs et entendez le buzzer à l\'expiration — exactement comme dans un vrai match FIBA ou NBA.',
10611065
},
10621066
el: {
10631067
title: 'Δωρεάν Διαδικτυακό Χρονόμετρο Κατοχής Μπάσκετ',
@@ -1321,6 +1325,7 @@ const AppLocalization: AppLocalizationType = {
13211325
youtubeLoadVideo: 'Φόρτωση',
13221326
youtubeChangeVideo: 'Αλλαγή βίντεο',
13231327
youtubeInvalidUrl: 'Παρακαλώ επικολλήστε έγκυρο URL YouTube',
1328+
youtubeBlurb: 'Επικολλήστε οποιονδήποτε σύνδεσμο YouTube αγώνα μπάσκετ και χειριστείτε το χρονόμετρο κατοχής 24 δευτερολέπτων σε πραγματικό χρόνο. Εκκινήστε και σταματήστε το χρονόμετρο ανά κατοχή, επαναφέρετε στα 14 δευτερόλεπτα μετά από επιθετικά ριμπάουντ και ακούστε το buzzer όταν λήξει ο χρόνος — ακριβώς όπως σε πραγματικό αγώνα FIBA ή NBA.',
13241329
},
13251330
}
13261331

src/localization/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,4 +148,5 @@ export type LocalizationType = {
148148
youtubeLoadVideo: string;
149149
youtubeChangeVideo: string;
150150
youtubeInvalidUrl: string;
151+
youtubeBlurb: string;
151152
};

0 commit comments

Comments
 (0)