Skip to content

Commit

Permalink
More backgrounds. Work on message purging.
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Feb 4, 2025
1 parent 2c0358a commit adc3782
Show file tree
Hide file tree
Showing 289 changed files with 453 additions and 125 deletions.
1 change: 1 addition & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@
"react-dom": "^18.3.1",
"react-leaflet": "^4.2.1",
"react-modal-image": "^2.6.0",
"react-scrollable-feed": "^2.0.2",
"react-timer-hook": "^3.0.8",
"react-use-websocket": "^4.11.1",
"steamid": "^2.1.0",
Expand Down
16 changes: 16 additions & 0 deletions frontend/pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added frontend/public/bg/0.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/10.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/100.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/101.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/102.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/103.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/104.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/105.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/106.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/107.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/108.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/109.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/11.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/110.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/111.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/112.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/113.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/114.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/115.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/116.png
100755 → 100644
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/bg/117.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/bg/118.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/bg/119.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified frontend/public/bg/12.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added frontend/public/bg/120.png
Binary file added frontend/public/bg/121.png
Binary file added frontend/public/bg/122.png
Binary file added frontend/public/bg/123.png
Binary file added frontend/public/bg/124.png
Binary file added frontend/public/bg/125.png
Binary file added frontend/public/bg/126.png
Binary file added frontend/public/bg/127.png
Binary file added frontend/public/bg/128.png
Binary file added frontend/public/bg/129.png
Binary file modified frontend/public/bg/13.png
Binary file added frontend/public/bg/130.png
Binary file added frontend/public/bg/131.png
Binary file added frontend/public/bg/132.png
Binary file added frontend/public/bg/133.png
Binary file added frontend/public/bg/134.png
Binary file added frontend/public/bg/135.png
Binary file added frontend/public/bg/136.png
Binary file added frontend/public/bg/137.png
Binary file added frontend/public/bg/138.png
Binary file added frontend/public/bg/139.png
Binary file modified frontend/public/bg/14.png
Binary file added frontend/public/bg/140.png
Binary file added frontend/public/bg/141.png
Binary file added frontend/public/bg/142.png
Binary file added frontend/public/bg/143.png
Binary file added frontend/public/bg/144.png
Binary file added frontend/public/bg/145.png
Binary file added frontend/public/bg/146.png
Binary file added frontend/public/bg/147.png
Binary file added frontend/public/bg/148.png
Binary file added frontend/public/bg/149.png
Binary file modified frontend/public/bg/15.png
Binary file added frontend/public/bg/150.png
Binary file added frontend/public/bg/151.png
Binary file added frontend/public/bg/152.png
Binary file added frontend/public/bg/153.png
Binary file added frontend/public/bg/154.png
Binary file added frontend/public/bg/155.png
Binary file added frontend/public/bg/156.png
Binary file added frontend/public/bg/157.png
Binary file added frontend/public/bg/158.png
Binary file added frontend/public/bg/159.png
Binary file modified frontend/public/bg/16.png
Binary file added frontend/public/bg/160.png
Binary file added frontend/public/bg/161.png
Binary file added frontend/public/bg/162.png
Binary file added frontend/public/bg/163.png
Binary file added frontend/public/bg/164.png
Binary file added frontend/public/bg/165.png
Binary file added frontend/public/bg/166.png
Binary file added frontend/public/bg/167.png
Binary file added frontend/public/bg/168.png
Binary file added frontend/public/bg/169.png
Binary file modified frontend/public/bg/17.png
Binary file added frontend/public/bg/170.png
Binary file added frontend/public/bg/171.png
Binary file added frontend/public/bg/172.png
Binary file added frontend/public/bg/173.png
Binary file added frontend/public/bg/174.png
Binary file added frontend/public/bg/175.png
Binary file added frontend/public/bg/176.png
Binary file added frontend/public/bg/177.png
Binary file added frontend/public/bg/178.png
Binary file added frontend/public/bg/179.png
Binary file modified frontend/public/bg/18.png
Binary file added frontend/public/bg/180.png
Binary file added frontend/public/bg/181.png
Binary file added frontend/public/bg/182.png
Binary file added frontend/public/bg/183.png
Binary file added frontend/public/bg/184.png
Binary file added frontend/public/bg/185.png
Binary file added frontend/public/bg/186.png
Binary file added frontend/public/bg/187.png
Binary file added frontend/public/bg/188.png
Binary file added frontend/public/bg/189.png
Binary file modified frontend/public/bg/19.png
Binary file added frontend/public/bg/190.png
Binary file added frontend/public/bg/191.png
Binary file added frontend/public/bg/192.png
Binary file added frontend/public/bg/193.png
Binary file added frontend/public/bg/194.png
Binary file added frontend/public/bg/195.png
Binary file added frontend/public/bg/196.png
Binary file added frontend/public/bg/197.png
Binary file added frontend/public/bg/198.png
Binary file added frontend/public/bg/199.png
Binary file modified frontend/public/bg/2.png
Binary file modified frontend/public/bg/20.png
Binary file added frontend/public/bg/200.png
Binary file added frontend/public/bg/201.png
Binary file added frontend/public/bg/202.png
Binary file added frontend/public/bg/203.png
Binary file added frontend/public/bg/204.png
Binary file added frontend/public/bg/205.png
Binary file added frontend/public/bg/206.png
Binary file added frontend/public/bg/207.png
Binary file added frontend/public/bg/208.png
Binary file added frontend/public/bg/209.png
Binary file modified frontend/public/bg/21.png
Binary file added frontend/public/bg/210.png
Binary file added frontend/public/bg/211.png
Binary file added frontend/public/bg/212.png
Binary file added frontend/public/bg/213.png
Binary file added frontend/public/bg/214.png
Binary file added frontend/public/bg/215.png
Binary file added frontend/public/bg/216.png
Binary file added frontend/public/bg/217.png
Binary file added frontend/public/bg/218.png
Binary file added frontend/public/bg/219.png
Binary file modified frontend/public/bg/22.png
Binary file added frontend/public/bg/220.png
Binary file added frontend/public/bg/221.png
Binary file added frontend/public/bg/222.png
Binary file added frontend/public/bg/223.png
Binary file added frontend/public/bg/224.png
Binary file added frontend/public/bg/225.png
Binary file added frontend/public/bg/226.png
Binary file added frontend/public/bg/227.png
Binary file added frontend/public/bg/228.png
Binary file added frontend/public/bg/229.png
Binary file modified frontend/public/bg/23.png
Binary file added frontend/public/bg/230.png
Binary file added frontend/public/bg/231.png
Binary file added frontend/public/bg/232.png
Binary file added frontend/public/bg/233.png
Binary file added frontend/public/bg/234.png
Binary file added frontend/public/bg/235.png
Binary file added frontend/public/bg/236.png
Binary file added frontend/public/bg/237.png
3 changes: 3 additions & 0 deletions frontend/public/bg/238.png
Binary file added frontend/public/bg/239.png
Binary file modified frontend/public/bg/24.png
Binary file added frontend/public/bg/240.png
Binary file added frontend/public/bg/241.png
Binary file added frontend/public/bg/242.png
Binary file added frontend/public/bg/243.png
Binary file added frontend/public/bg/244.png
Binary file added frontend/public/bg/245.png
Binary file added frontend/public/bg/246.png
Binary file added frontend/public/bg/247.png
Binary file added frontend/public/bg/248.png
Binary file added frontend/public/bg/249.png
Binary file modified frontend/public/bg/25.png
Binary file added frontend/public/bg/250.png
Binary file added frontend/public/bg/251.png
Binary file added frontend/public/bg/252.png
Binary file added frontend/public/bg/253.png
Binary file added frontend/public/bg/254.png
File renamed without changes
Binary file added frontend/public/bg/256.png
Binary file added frontend/public/bg/257.png
Binary file added frontend/public/bg/258.png
Binary file added frontend/public/bg/259.png
Binary file modified frontend/public/bg/26.png
Binary file added frontend/public/bg/260.png
Binary file added frontend/public/bg/261.png
Binary file added frontend/public/bg/262.png
Binary file added frontend/public/bg/263.png
Binary file added frontend/public/bg/264.png
Binary file added frontend/public/bg/265.png
Binary file modified frontend/public/bg/27.png
Binary file modified frontend/public/bg/28.png
Binary file modified frontend/public/bg/29.png
Binary file modified frontend/public/bg/3.png
Binary file modified frontend/public/bg/30.png
Binary file modified frontend/public/bg/31.png
Binary file modified frontend/public/bg/32.png
Binary file modified frontend/public/bg/34.png
Binary file modified frontend/public/bg/35.png
Binary file modified frontend/public/bg/36.png
Binary file modified frontend/public/bg/37.png
Binary file modified frontend/public/bg/38.png
Binary file modified frontend/public/bg/39.png
Binary file modified frontend/public/bg/4.png
Binary file modified frontend/public/bg/40.png
Binary file modified frontend/public/bg/41.png
Binary file modified frontend/public/bg/42.png
Binary file modified frontend/public/bg/43.png
Binary file modified frontend/public/bg/44.png
Binary file modified frontend/public/bg/45.png
Binary file modified frontend/public/bg/46.png
Binary file modified frontend/public/bg/47.png
Binary file modified frontend/public/bg/48.png
Binary file modified frontend/public/bg/49.png
Binary file modified frontend/public/bg/5.png
Binary file modified frontend/public/bg/50.png
Binary file modified frontend/public/bg/51.png
Binary file modified frontend/public/bg/52.png
Binary file modified frontend/public/bg/53.png
Binary file modified frontend/public/bg/54.png
Binary file modified frontend/public/bg/55.png
Binary file modified frontend/public/bg/56.png
Binary file modified frontend/public/bg/57.png
Binary file modified frontend/public/bg/58.png
Binary file modified frontend/public/bg/59.png
Binary file modified frontend/public/bg/6.png
Binary file modified frontend/public/bg/60.png
Binary file modified frontend/public/bg/61.png
Binary file modified frontend/public/bg/62.png
Binary file modified frontend/public/bg/63.png
Binary file modified frontend/public/bg/64.png
Binary file modified frontend/public/bg/65.png
Binary file modified frontend/public/bg/66.png
Binary file modified frontend/public/bg/67.png
Binary file modified frontend/public/bg/68.png
Binary file modified frontend/public/bg/69.png
Binary file modified frontend/public/bg/7.png
Binary file modified frontend/public/bg/70.png
Binary file modified frontend/public/bg/71.png
Binary file modified frontend/public/bg/72.png
Binary file modified frontend/public/bg/73.png
Binary file modified frontend/public/bg/74.png
Binary file modified frontend/public/bg/75.png
Binary file modified frontend/public/bg/76.png
Binary file modified frontend/public/bg/77.png
Binary file modified frontend/public/bg/78.png
Binary file modified frontend/public/bg/79.png
Binary file modified frontend/public/bg/8.png
Binary file modified frontend/public/bg/80.png
Binary file modified frontend/public/bg/81.png
Binary file modified frontend/public/bg/82.png
Binary file modified frontend/public/bg/83.png
Binary file modified frontend/public/bg/84.png
Binary file modified frontend/public/bg/85.png
Binary file modified frontend/public/bg/86.png
Binary file modified frontend/public/bg/87.png
Binary file modified frontend/public/bg/88.png
Binary file modified frontend/public/bg/89.png
Binary file modified frontend/public/bg/9.png
Binary file modified frontend/public/bg/90.png
Binary file modified frontend/public/bg/91.png
Binary file modified frontend/public/bg/92.png
Binary file modified frontend/public/bg/93.png
Binary file modified frontend/public/bg/94.png
Binary file modified frontend/public/bg/95.png
Binary file modified frontend/public/bg/96.png
Binary file modified frontend/public/bg/97.png
Binary file modified frontend/public/bg/98.png
Binary file modified frontend/public/bg/99.png
3 changes: 3 additions & 0 deletions frontend/src/api/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ export interface UserNotification {
created_on: Date;
}

export type ChatStatus = 'readwrite' | 'readonly' | 'noaccess';

export interface UserProfile extends TimeStamped {
steam_id: string;
permission_level: PermissionLevel;
Expand All @@ -43,6 +45,7 @@ export interface UserProfile extends TimeStamped {
avatarhash: string;
ban_id: number;
muted: boolean;
playerqueue_chat_status: ChatStatus;
}

export interface Person extends UserProfile {
Expand Down
9 changes: 7 additions & 2 deletions frontend/src/api/queue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ export enum Operation {
MessageSend,
MessageRecv,
StateUpdate,
StartGame
StartGame,
Purge
}

export type QueueMember = {
Expand All @@ -22,6 +23,10 @@ export type QueuePayload<T> = {
payload: T;
};

export type PurgePayload = {
message_ids: string[];
};

export type pingPayload = QueuePayload<{ created_on: Date }>;

export type clientQueueState = {
Expand All @@ -39,7 +44,7 @@ export type ServerQueueMessage = {
avatarhash: string;
permission_level: PermissionLevel;
body_md: string;
id: string;
message_id: string;
};

export type JoinQueuePayload = {
Expand Down
5 changes: 3 additions & 2 deletions frontend/src/auth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ export function AuthProvider({
discord_id: '',
created_on: new Date(),
updated_on: new Date(),
patreon_id: ''
patreon_id: '',
playerqueue_chat_status: 'noaccess'
});
}
}, [setProfile]);
Expand Down Expand Up @@ -73,7 +74,7 @@ export function AuthProvider({
await logout();
}
};
loadProfile();
loadProfile().catch(logErr);
}, [login, logout]);

return (
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/component/BackgroundImageProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ function getImageUrl(name: string | number) {
}

const randBGNum = () => {
const numberOfBgImages = 115;
const numberOfBgImages = 265;

return Math.floor(Math.random() * numberOfBgImages);
};
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/component/PersonCell.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const PersonCell = ({ steam_id, avatar_hash, personaname, onClick, showCo
const { sendFlash } = useUserFlashCtx();

return (
<Stack minWidth={200} direction={'row'} alignItems={'center'}>
<Stack minWidth={200} direction={'row'} alignItems={'center'} overflow={'hidden'}>
{showCopy && (
<Tooltip title={'Copy Steamid'}>
<IconButton
Expand Down
75 changes: 45 additions & 30 deletions frontend/src/component/QueueChat.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { FormEvent, useCallback, useEffect, useRef, useState } from 'react';
import { FormEvent, useCallback, useState } from 'react';
import ScrollableFeed from 'react-scrollable-feed';
import HourglassBottomIcon from '@mui/icons-material/HourglassBottom';
import ManageAccountsIcon from '@mui/icons-material/ManageAccounts';
import PersonIcon from '@mui/icons-material/Person';
import PersonOffIcon from '@mui/icons-material/PersonOff';
import SendIcon from '@mui/icons-material/Send';
Expand All @@ -22,23 +24,10 @@ import { SubmitButton } from './modal/Buttons.tsx';

export const QueueChat = () => {
const { messages, isReady, sendMessage, showChat, users } = useQueueCtx();
const { hasPermission } = useAuth();
const { hasPermission, profile } = useAuth();
const [showPeople, setShowPeople] = useState<boolean>(false);
const [msg, setMsg] = useState<string>('');
const [sending, setSending] = useState(false);
const messagesEndRef = useRef<null | HTMLDivElement>(null);

const scrollToBottom = () => {
if (messagesEndRef.current) {
messagesEndRef.current.scrollIntoView({ behavior: 'smooth' });
}
};

useEffect(() => {
if (showChat) {
scrollToBottom();
}
}, [messages, showChat]);

const onSubmit = useCallback(
async (event: FormEvent<HTMLFormElement | HTMLDivElement>) => {
Expand All @@ -53,16 +42,17 @@ export const QueueChat = () => {
},
[msg]
);
const isMod = hasPermission(PermissionLevel.Moderator);

if (!hasPermission(PermissionLevel.Moderator)) {
if (!isMod || profile.playerqueue_chat_status == 'noaccess') {
return <></>;
}

return (
<Collapse in={showChat}>
<Grid container spacing={1}>
<Grid container spacing={1} sx={{ marginBottom: 3 }}>
<Grid xs={showPeople ? 10 : 12}>
<Paper sx={{ marginBottom: 3 }}>
<Paper>
<Stack
maxHeight={200}
minHeight={200}
Expand All @@ -74,17 +64,24 @@ export const QueueChat = () => {
{!isReady ? (
<LoadingPlaceholder></LoadingPlaceholder>
) : (
messages.map((message, i) => {
return <ChatRow message={message} key={`${message.id}-${i}`} />;
})
<ScrollableFeed>
{messages.map((message, i) => {
return (
<ChatRow
message={message}
key={`${message.message_id}-${i}`}
showControls={isMod}
/>
);
})}
</ScrollableFeed>
)}
{isReady && showChat && <div ref={messagesEndRef} key={'hi'} />}
</Stack>

<form onSubmit={onSubmit}>
<Stack direction={'row'} spacing={1}>
<Stack direction={'row'} spacing={1} padding={2}>
<TextField
disabled={sending || !isReady}
disabled={sending || !isReady || profile.playerqueue_chat_status != 'readwrite'}
onSubmit={onSubmit}
fullWidth={true}
size={'small'}
Expand All @@ -94,8 +91,9 @@ export const QueueChat = () => {
setMsg(event.target.value);
}}
/>

<IconButton
color={'warning'}
color={'primary'}
onClick={() => {
setShowPeople((prevState) => !prevState);
}}
Expand Down Expand Up @@ -181,9 +179,10 @@ const ChatName = ({
</ButtonLink>
);
};
const ChatRow = ({ message }: { message: ServerQueueMessage }) => {

const ChatRow = ({ message, showControls }: { message: ServerQueueMessage; showControls: boolean }) => {
return (
<Grid container key={`${message.id}-id`} spacing={1}>
<Grid container key={`${message.message_id}-id`} spacing={1} paddingLeft={1} paddingRight={1}>
<Grid xs={2} alignItems="flex-start" justifyContent="flex-start">
<ChatName
personaname={message.personaname}
Expand All @@ -192,9 +191,25 @@ const ChatRow = ({ message }: { message: ServerQueueMessage }) => {
/>
</Grid>
<Grid xs={10}>
<Typography variant="body1" color="text">
{message.body_md}
</Typography>
<Stack direction={'row'} spacing={1}>
{showControls && (
<IconButton
color={'primary'}
sx={{
size: '10',
padding: 0,
borderLeft: '1px solid #666',
borderRadius: 0,
paddingLeft: 1
}}
>
<ManageAccountsIcon color={'error'} />
</IconButton>
)}
<Typography variant="body1" color="text" sx={{ borderLeft: '1px solid #666', paddingLeft: 1 }}>
{message.body_md}
</Typography>
</Stack>
</Grid>
</Grid>
);
Expand Down
44 changes: 44 additions & 0 deletions frontend/src/component/QueueHelp.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
import Paper from '@mui/material/Paper';
import Typography from '@mui/material/Typography';
import Grid from '@mui/material/Unstable_Grid2';

export const QueueHelp = () => {
return (
<Paper>
<Grid container>
<Grid xs={12} padding={2}>
<Typography variant={'h2'} padding={1}>
Welcome To The Server Queue!
</Typography>
<Typography variant={'body1'} padding={1}>
The primary goal of the queueing system is to help users in seeding a empty server. This does
not mean that it can only be used for empty servers, If you wish to join a server only once its
18/24, then that will work as well. This will not place all players on the team automatically.
</Typography>
<Typography variant={'body1'} padding={1}>
To queue for servers, simply click on the queue icon for the relevant servers. Once the queue
count reaches the minimum required amount of participants, the queue window will popup for
players to join.
</Typography>
<Typography variant={'body1'} padding={1}>
The current minimum queue size is <span style={{ fontWeight: 700 }}>4</span>
</Typography>
<Typography variant={'body1'} padding={1}>
There is a audible sound that plays when your queue is ready, be sure to have sound on if you
are going to rely on this.
</Typography>
<Typography variant={'body1'} padding={1}>
Players can chat using the queue chat window above. Its accessible though the keyboard icon on
the top navigation bar of the site. Note that the same rules as far as language applies here as
it does in-game on the servers. Failure to comply with this will have your queue privileges
revoked and possibly further actions taken as well.
</Typography>
<Typography variant={'body1'} padding={1} fontWeight={'bold'} textAlign={'center'}>
This functionality requires that you be logged in, and on the same account that you are playing
on.
</Typography>
</Grid>
</Grid>
</Paper>
);
};
Loading

0 comments on commit adc3782

Please sign in to comment.