You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Persist language preference, fix lang attribute flash, localize SEO titles
- LanguageProvider now initializes language from URL path on first render,
so the html lang attribute is correct immediately (no flash of 'en')
- Save language choice to localStorage on every change
- EnglishLayout redirects from / to saved language if user has a preference
- All page SEO titles and descriptions now derived from locals translations
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Copy file name to clipboardExpand all lines: src/components/AboutUs.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -20,8 +20,8 @@ const AboutUs = () => {
20
20
return(
21
21
<Container>
22
22
<SEO
23
-
title="About Us | ShotClock Pro"
24
-
description="Learn about ShotClock Pro – a free basketball shot clock training app built for referees, scorekeepers, and basketball enthusiasts who want to master FIBA shot clock rules."
Copy file name to clipboardExpand all lines: src/components/FIBAResources.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -44,8 +44,8 @@ const FIBAResources = () => {
44
44
return(
45
45
<Container>
46
46
<SEO
47
-
title="FIBA Resources | ShotClock Pro"
48
-
description="Access official FIBA basketball rules, shot clock operation guidelines, referee training materials, and competition manuals to stay up to date with international basketball regulations."
Copy file name to clipboardExpand all lines: src/components/Instructions.tsx
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -37,8 +37,8 @@ const Instructions = () => {
37
37
return(
38
38
<Container>
39
39
<SEO
40
-
title="Shot Clock Instructions | ShotClock Pro"
41
-
description="Step-by-step instructions for operating a basketball shot clock. Learn the 24-second and 14-second reset rules, basic controls, and game situations per FIBA regulations."
0 commit comments