added connection information
This commit is contained in:
parent
84d76506d0
commit
eea52fca79
|
|
@ -1,4 +1,12 @@
|
||||||
import { Center, Grid, HStack, Heading, Img } from '@chakra-ui/react';
|
import {
|
||||||
|
Box,
|
||||||
|
Text,
|
||||||
|
Center,
|
||||||
|
Grid,
|
||||||
|
HStack,
|
||||||
|
Heading,
|
||||||
|
Img,
|
||||||
|
} from '@chakra-ui/react';
|
||||||
import { useGameState } from 'client/hooks/useGameState';
|
import { useGameState } from 'client/hooks/useGameState';
|
||||||
import { config } from 'config';
|
import { config } from 'config';
|
||||||
import QRCode from 'react-qr-code';
|
import QRCode from 'react-qr-code';
|
||||||
|
|
@ -12,6 +20,12 @@ const GettingReady: React.FC = () => {
|
||||||
w="100vw"
|
w="100vw"
|
||||||
templateColumns="1fr 1fr 1fr"
|
templateColumns="1fr 1fr 1fr"
|
||||||
templateRows="1fr 1fr 5fr 1fr"
|
templateRows="1fr 1fr 5fr 1fr"
|
||||||
|
sx={{
|
||||||
|
svg: {
|
||||||
|
width: '500px',
|
||||||
|
height: '500px',
|
||||||
|
},
|
||||||
|
}}
|
||||||
>
|
>
|
||||||
<Heading gridColumnStart="1" gridColumnEnd="4">
|
<Heading gridColumnStart="1" gridColumnEnd="4">
|
||||||
Vorbereitung
|
Vorbereitung
|
||||||
|
|
@ -23,6 +37,7 @@ const GettingReady: React.FC = () => {
|
||||||
<Img src="/team-finden.jpeg" boxSize="500px" />
|
<Img src="/team-finden.jpeg" boxSize="500px" />
|
||||||
</Center>
|
</Center>
|
||||||
<Center>
|
<Center>
|
||||||
|
<Box>
|
||||||
<QRCode
|
<QRCode
|
||||||
value={generateWiFiQRString({
|
value={generateWiFiQRString({
|
||||||
ssid: config.ssid,
|
ssid: config.ssid,
|
||||||
|
|
@ -33,13 +48,19 @@ const GettingReady: React.FC = () => {
|
||||||
width={500}
|
width={500}
|
||||||
height={500}
|
height={500}
|
||||||
/>
|
/>
|
||||||
|
<Text>Thomas</Text>
|
||||||
|
<Text>ogthomas420</Text>
|
||||||
|
</Box>
|
||||||
</Center>
|
</Center>
|
||||||
<Center>
|
<Center>
|
||||||
|
<Box>
|
||||||
<QRCode
|
<QRCode
|
||||||
value={'http://' + config.ip + ':' + config.port}
|
value={'http://' + config.ip + ':' + config.port}
|
||||||
width="500px"
|
width="500px"
|
||||||
height="500px"
|
height="500px"
|
||||||
/>
|
/>
|
||||||
|
<Text>http://{config.ip}:4000</Text>
|
||||||
|
</Box>
|
||||||
</Center>
|
</Center>
|
||||||
<HStack
|
<HStack
|
||||||
gridColumnStart="1"
|
gridColumnStart="1"
|
||||||
|
|
|
||||||
|
|
@ -3,6 +3,6 @@ export const config = {
|
||||||
password: 'ogthomas420',
|
password: 'ogthomas420',
|
||||||
encryption: 'WPA',
|
encryption: 'WPA',
|
||||||
hiddenSSID: false,
|
hiddenSSID: false,
|
||||||
ip: '192.168.178.75',
|
ip: '192.168.137.159',
|
||||||
port: 4000,
|
port: 4000,
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue