{installData === 100 ? 'UNPACKING' : 'DOWNLOADING' }
-
+
{parseFloat(installData).toFixed(2)}%
diff --git a/src/components/NewsArticle.jsx b/src/components/NewsArticle.jsx
index 639514c..2a19369 100644
--- a/src/components/NewsArticle.jsx
+++ b/src/components/NewsArticle.jsx
@@ -1,19 +1,19 @@
-import { Box, Divider, Typography } from '@mui/material'
-import React from 'react'
-
-function NewsArticle(props) {
- return (
-
- {props.title}
- {props.date}
- {props.content}
-
-
- )
-}
-
+import { Box, Divider, Typography } from '@mui/material'
+import React from 'react'
+
+function NewsArticle(props) {
+ return (
+
+ {props.title}
+ {props.date}
+ {props.content}
+
+
+ )
+}
+
export default NewsArticle
\ No newline at end of file
diff --git a/src/components/NewsMenu.jsx b/src/components/NewsMenu.jsx
index 349e4aa..f6c02fc 100644
--- a/src/components/NewsMenu.jsx
+++ b/src/components/NewsMenu.jsx
@@ -1,38 +1,38 @@
-import { Box, CircularProgress } from '@mui/material'
-import { useEffect, useState } from 'react'
-import axios from 'axios'
-import moment from 'moment'
-
-// Components
-import NewsArticle from './NewsArticle'
-
-function SettingsMenu() {
- const [news, setNews] = useState([])
-
- useEffect(() => {
- axios.get("https://cdn.ipgg.net/kocity/news", {
- headers: {
- 'Content-Type': 'application/json',
- 'Cache-Control': 'no-cache'
- }
- }).then((res) => {
- setNews(res.data)
- })
- }, [])
-
- return (
-
- {(() => {
- if(news.length === 0) return
- else return news.map((item, index) => {
- return (
-
- )
- })
- })()}
-
-
- )
-}
-
+import { Box, CircularProgress } from '@mui/material'
+import { useEffect, useState } from 'react'
+import axios from 'axios'
+import moment from 'moment'
+
+// Components
+import NewsArticle from './NewsArticle'
+
+function SettingsMenu() {
+ const [news, setNews] = useState([])
+
+ useEffect(() => {
+ axios.get("https://cdn.ipgg.net/kocity/news", {
+ headers: {
+ 'Content-Type': 'application/json',
+ 'Cache-Control': 'no-cache'
+ }
+ }).then((res) => {
+ setNews(res.data)
+ })
+ }, [])
+
+ return (
+
+ {(() => {
+ if(news.length === 0) return
+ else return news.map((item, index) => {
+ return (
+
+ )
+ })
+ })()}
+
+
+ )
+}
+
export default SettingsMenu
\ No newline at end of file
diff --git a/src/components/SettingsMenu.jsx b/src/components/SettingsMenu.jsx
index 0aed940..e09c88c 100644
--- a/src/components/SettingsMenu.jsx
+++ b/src/components/SettingsMenu.jsx
@@ -1,7 +1,7 @@
import { Box, Button, Divider, MenuItem, Select, Stack, Switch, TextField, Typography } from '@mui/material'
import React from 'react'
-function SettingsMenu({ gameState }) {
+function SettingsMenu({ gameState, setGameState }) {
const [gameDirectory, setGameDirectory] = React.useState(localStorage.getItem('gameDirectory'))
const [username, setUsername] = React.useState(localStorage.getItem('username'))
@@ -41,11 +41,12 @@ function SettingsMenu({ gameState }) {
-
@@ -79,7 +80,7 @@ function SettingsMenu({ gameState }) {
Allow Joining
- {
+ {
window.updateRPC()
}}>Update RPC
diff --git a/src/components/fancyButton.jsx b/src/components/fancyButton.jsx
index cabcfc6..2eb2b42 100644
--- a/src/components/fancyButton.jsx
+++ b/src/components/fancyButton.jsx
@@ -1,20 +1,25 @@
-import React from 'react'
-
-function fancyButton(props) {
- return (
-
- {props.text}
-
- )
-}
-
+import React from 'react'
+
+function fancyButton(props) {
+ return (
+
+ {props.text}
+
+ )
+}
+
export default fancyButton
\ No newline at end of file
diff --git a/src/fonts/Azbuka/CSS/fonts.css b/src/fonts/Azbuka/CSS/fonts.css
new file mode 100644
index 0000000..6d1b1b4
--- /dev/null
+++ b/src/fonts/Azbuka/CSS/fonts.css
@@ -0,0 +1,23 @@
+@font-face {
+ font-family: 'Azbuka';
+ src: url('../Fonts/AzbukaPro-Bold.ttf') format('truetype');
+ font-weight: bold;
+}
+
+@font-face {
+ font-family: 'Azbuka';
+ src: url('../Fonts/AzbukaPro-BoldItalic.ttf') format('truetype');
+ font-weight: bold;
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'Azbuka';
+ src: url('../Fonts/AzbukaPro-Italic.ttf') format('truetype');
+ font-style: italic;
+}
+
+@font-face {
+ font-family: 'Azbuka';
+ src: url('../Fonts/AzbukaPro.ttf') format('truetype');
+}
\ No newline at end of file
diff --git a/src/fonts/Azbuka/Fonts/AzbukaPro-Bold.ttf b/src/fonts/Azbuka/Fonts/AzbukaPro-Bold.ttf
new file mode 100644
index 0000000..ed0890c
Binary files /dev/null and b/src/fonts/Azbuka/Fonts/AzbukaPro-Bold.ttf differ
diff --git a/src/fonts/Azbuka/Fonts/AzbukaPro-BoldItalic.ttf b/src/fonts/Azbuka/Fonts/AzbukaPro-BoldItalic.ttf
new file mode 100644
index 0000000..32ba98c
Binary files /dev/null and b/src/fonts/Azbuka/Fonts/AzbukaPro-BoldItalic.ttf differ
diff --git a/src/fonts/Azbuka/Fonts/AzbukaPro-Italic.ttf b/src/fonts/Azbuka/Fonts/AzbukaPro-Italic.ttf
new file mode 100644
index 0000000..909d406
Binary files /dev/null and b/src/fonts/Azbuka/Fonts/AzbukaPro-Italic.ttf differ
diff --git a/src/fonts/Azbuka/Fonts/AzbukaPro.ttf b/src/fonts/Azbuka/Fonts/AzbukaPro.ttf
new file mode 100644
index 0000000..9a2e3b6
Binary files /dev/null and b/src/fonts/Azbuka/Fonts/AzbukaPro.ttf differ
diff --git a/src/fonts/Brda/CSS/fonts.css b/src/fonts/Brda/CSS/fonts.css
new file mode 100644
index 0000000..fcdadfc
--- /dev/null
+++ b/src/fonts/Brda/CSS/fonts.css
@@ -0,0 +1,13 @@
+@font-face {
+ font-family: 'Brda';
+ src: url('../Fonts/BrdaStd-ExtraBold.otf') format('opentype');
+ font-weight: "bold";
+ font-style: normal;
+}
+
+@font-face {
+ font-family: 'Brda';
+ src: url('../Fonts/BrdaStd-ExtraBoldItalic.otf') format('opentype');
+ font-weight: "bold";
+ font-style: italic;
+}
\ No newline at end of file
diff --git a/src/fonts/Brda/Fonts/BrdaCom-ExtraBold.ttf b/src/fonts/Brda/Fonts/BrdaCom-ExtraBold.ttf
new file mode 100644
index 0000000..b63ad14
Binary files /dev/null and b/src/fonts/Brda/Fonts/BrdaCom-ExtraBold.ttf differ
diff --git a/src/fonts/Brda/Fonts/BrdaCom-ExtraBoldItalic.ttf b/src/fonts/Brda/Fonts/BrdaCom-ExtraBoldItalic.ttf
new file mode 100644
index 0000000..33d3390
Binary files /dev/null and b/src/fonts/Brda/Fonts/BrdaCom-ExtraBoldItalic.ttf differ
diff --git a/src/fonts/Brda/Fonts/BrdaStd-ExtraBold.otf b/src/fonts/Brda/Fonts/BrdaStd-ExtraBold.otf
new file mode 100644
index 0000000..8b533ee
Binary files /dev/null and b/src/fonts/Brda/Fonts/BrdaStd-ExtraBold.otf differ
diff --git a/src/fonts/Brda/Fonts/BrdaStd-ExtraBoldItalic.otf b/src/fonts/Brda/Fonts/BrdaStd-ExtraBoldItalic.otf
new file mode 100644
index 0000000..b9b6335
Binary files /dev/null and b/src/fonts/Brda/Fonts/BrdaStd-ExtraBoldItalic.otf differ
diff --git a/src/fonts/Loew/Fonts/loew-heavy-small.otf b/src/fonts/Loew/Fonts/loew-heavy-small.otf
new file mode 100644
index 0000000..fa21c1c
Binary files /dev/null and b/src/fonts/Loew/Fonts/loew-heavy-small.otf differ
diff --git a/src/fonts/Loew/css/fonts.css b/src/fonts/Loew/css/fonts.css
new file mode 100644
index 0000000..e79a06a
--- /dev/null
+++ b/src/fonts/Loew/css/fonts.css
@@ -0,0 +1,4 @@
+@font-face {
+ font-family: 'Loew';
+ src: url('../Fonts/loew-heavy-small.otf') format('opentype');
+}
\ No newline at end of file
diff --git a/src/images/backgrounds/4.jpg b/src/images/backgrounds/4.jpg
deleted file mode 100644
index 73d236b..0000000
Binary files a/src/images/backgrounds/4.jpg and /dev/null differ
diff --git a/src/images/backgrounds/4.png b/src/images/backgrounds/4.png
new file mode 100644
index 0000000..32e6933
Binary files /dev/null and b/src/images/backgrounds/4.png differ
diff --git a/src/images/logo.png b/src/images/logo.png
index 07c3f57..0f038f1 100644
Binary files a/src/images/logo.png and b/src/images/logo.png differ
diff --git a/src/index.css b/src/index.css
index 6016101..f6dbbd8 100644
--- a/src/index.css
+++ b/src/index.css
@@ -1,8 +1,12 @@
+@import url('./fonts/Brda/CSS/fonts.css');
+@import url('./fonts/Azbuka/CSS/fonts.css');
+@import url('./fonts/Loew/css/fonts.css');
+
body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
- 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
- sans-serif;
+ 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
+ sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
diff --git a/src/index.js b/src/index.js
index c28e871..ecbf5a0 100644
--- a/src/index.js
+++ b/src/index.js
@@ -9,6 +9,9 @@ const darkTheme = createTheme({
mode: 'dark',
primary: {
main: '#ffffff', // #743a8d
+ },
+ secondary: {
+ main: '#9619FA',
}
},
});