|
|
@@ -3,6 +3,7 @@ import type { GuessEntry } from '@wordle/shared';
|
|
|
import { Grid } from '../components/Grid.js';
|
|
|
import { Keyboard } from '../components/Keyboard.js';
|
|
|
import { getMessages } from '../messages/index.js';
|
|
|
+import { LangSwitch } from '../components/LangSwitch.js';
|
|
|
|
|
|
interface Screen2GameProps {
|
|
|
guesses: GuessEntry[];
|
|
|
@@ -71,7 +72,8 @@ export function Screen2Game({ guesses, letterColors, message, onGuess, onDismiss
|
|
|
);
|
|
|
|
|
|
return (
|
|
|
- <div style={{ maxWidth: '400px', margin: '20px auto', padding: '8px', fontFamily: 'sans-serif' }}>
|
|
|
+ <div style={{ maxWidth: '400px', margin: '20px auto', padding: '8px', fontFamily: 'sans-serif', position: 'relative' }}>
|
|
|
+ <LangSwitch />
|
|
|
<h1 style={{ textAlign: 'center', fontSize: '1.6rem', marginBottom: '16px' }}>{getMessages().title}</h1>
|
|
|
|
|
|
<div style={{ position: 'relative' }}>
|