Merge pull request #5 from Sendouc/typescript-frontend-rewrite
Typescript frontend rewrite
7131
frontend-react/package-lock.json
generated
@@ -1,32 +1,55 @@
|
||||
{
|
||||
"name": "sendou-ink-react-ui",
|
||||
"version": "2.0.1",
|
||||
"name": "sendou-ink-new",
|
||||
"version": "0.1.0",
|
||||
"private": true,
|
||||
"dependencies": {
|
||||
"@apollo/react-hooks": "^3.1.3",
|
||||
"@chakra-ui/core": "^0.6.1",
|
||||
"@emotion/core": "^10.0.28",
|
||||
"@emotion/styled": "^10.0.27",
|
||||
"@reach/router": "^1.3.3",
|
||||
"@rehooks/local-storage": "^2.2.3",
|
||||
"@sendou/react-sketch": "^0.5.2",
|
||||
"@testing-library/jest-dom": "^5.1.1",
|
||||
"@testing-library/react": "^9.5.0",
|
||||
"@testing-library/user-event": "^10.0.0",
|
||||
"@types/jest": "^25.1.3",
|
||||
"@types/node": "^13.7.7",
|
||||
"@types/reach__router": "^1.3.0",
|
||||
"@types/react": "^16.9.23",
|
||||
"@types/react-color": "^3.0.1",
|
||||
"@types/react-datepicker": "^2.11.0",
|
||||
"@types/react-dom": "^16.9.5",
|
||||
"@types/react-infinite-scroller": "^1.2.1",
|
||||
"@types/react-select": "^3.0.10",
|
||||
"apollo-boost": "^0.4.7",
|
||||
"graphql": "^14.5.8",
|
||||
"emotion-theming": "^10.0.27",
|
||||
"graphql": "^14.6.0",
|
||||
"jstz": "^2.1.1",
|
||||
"react": "^16.12.0",
|
||||
"react-color": "^2.17.3",
|
||||
"react-datepicker": "^2.10.1",
|
||||
"react-dom": "^16.12.0",
|
||||
"node-sass": "^4.13.1",
|
||||
"react": "^16.13.0",
|
||||
"react-color": "^2.18.0",
|
||||
"react-datepicker": "^2.13.0",
|
||||
"react-dom": "^16.13.0",
|
||||
"react-draggable": "^4.2.0",
|
||||
"react-helmet-async": "^1.0.4",
|
||||
"react-hotkeys-hook": "^1.5.4",
|
||||
"react-icons": "^3.9.0",
|
||||
"react-infinite-scroller": "^1.2.4",
|
||||
"react-router-dom": "^5.1.2",
|
||||
"react-scripts": "^3.3.0",
|
||||
"recharts": "^1.8.5",
|
||||
"semantic-ui-css": "^2.4.1",
|
||||
"semantic-ui-react": "^0.88.2",
|
||||
"use-query-params": "^0.4.6"
|
||||
"react-scripts": "^3.4.0",
|
||||
"react-select": "^3.0.8",
|
||||
"react-super-responsive-table": "^5.1.1",
|
||||
"react-tweet-embed": "^1.2.2",
|
||||
"source-map-explorer": "^2.3.1",
|
||||
"typescript": "^3.8.3",
|
||||
"use-query-params": "^0.6.0"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "react-scripts start",
|
||||
"build": "react-scripts build",
|
||||
"test": "react-scripts test",
|
||||
"eject": "react-scripts eject"
|
||||
"eject": "react-scripts eject",
|
||||
"analyze": "source-map-explorer 'build/static/js/*.js'"
|
||||
},
|
||||
"eslintConfig": {
|
||||
"extends": "react-app"
|
||||
@@ -43,5 +66,7 @@
|
||||
"last 1 safari version"
|
||||
]
|
||||
},
|
||||
"devDependencies": {}
|
||||
"devDependencies": {
|
||||
"@types/webpack-env": "^1.15.1"
|
||||
}
|
||||
}
|
||||
|
||||
BIN
frontend-react/public/favicon_blue.png
Normal file
|
After Width: | Height: | Size: 735 B |
BIN
frontend-react/public/favicon_cyan.png
Normal file
|
After Width: | Height: | Size: 693 B |
BIN
frontend-react/public/favicon_gray.png
Normal file
|
After Width: | Height: | Size: 744 B |
BIN
frontend-react/public/favicon_green.png
Normal file
|
After Width: | Height: | Size: 739 B |
BIN
frontend-react/public/favicon_orange.png
Normal file
|
After Width: | Height: | Size: 740 B |
BIN
frontend-react/public/favicon_pink.png
Normal file
|
After Width: | Height: | Size: 747 B |
BIN
frontend-react/public/favicon_purple.png
Normal file
|
After Width: | Height: | Size: 741 B |
BIN
frontend-react/public/favicon_red.png
Normal file
|
After Width: | Height: | Size: 731 B |
BIN
frontend-react/public/favicon_teal.png
Normal file
|
After Width: | Height: | Size: 740 B |
BIN
frontend-react/public/favicon_yellow.png
Normal file
|
After Width: | Height: | Size: 735 B |
@@ -2,42 +2,20 @@
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<link rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<link id="favicon" rel="shortcut icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Competitive Splatoon tools and resources"
|
||||
/>
|
||||
<meta name="theme-color" content="#232946" />
|
||||
<meta name="description" content="Competitive Splatoon hub" />
|
||||
<link rel="apple-touch-icon" href="logo192.png" />
|
||||
<!--
|
||||
manifest.json provides metadata used when your web app is installed on a
|
||||
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
|
||||
-->
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css?family=Montserrat|Pacifico&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
It will be replaced with the URL of the `public` folder during the build.
|
||||
Only files inside the `public` folder can be referenced from the HTML.
|
||||
|
||||
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
|
||||
work correctly both with client-side routing and a non-root public URL.
|
||||
Learn how to configure a non-root public URL by running `npm run build`.
|
||||
-->
|
||||
<title>sendou.ink</title>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>You need to enable JavaScript to run this app.</noscript>
|
||||
<div id="root"></div>
|
||||
<!--
|
||||
This HTML file is a template.
|
||||
If you open it directly in the browser, you will see an empty page.
|
||||
|
||||
You can add webfonts, meta tags, or analytics to this file.
|
||||
The build step will place the bundled scripts into the <body> tag.
|
||||
|
||||
To begin the development, run `npm start` or `yarn start`.
|
||||
To create a production bundle, use `npm run build` or `yarn build`.
|
||||
-->
|
||||
</body>
|
||||
</html>
|
||||
|
||||
BIN
frontend-react/src/assets/Splatoon1Maps/alfonsino.png
Normal file
|
After Width: | Height: | Size: 182 KiB |
BIN
frontend-react/src/assets/Splatoon1Maps/bluefin.png
Normal file
|
After Width: | Height: | Size: 192 KiB |
BIN
frontend-react/src/assets/Splatoon1Maps/bridge.png
Normal file
|
After Width: | Height: | Size: 147 KiB |
BIN
frontend-react/src/assets/Splatoon1Maps/flounder.png
Normal file
|
After Width: | Height: | Size: 194 KiB |
BIN
frontend-react/src/assets/Splatoon1Maps/resort.png
Normal file
|
After Width: | Height: | Size: 180 KiB |
BIN
frontend-react/src/assets/Splatoon1Maps/rig.png
Normal file
|
After Width: | Height: | Size: 149 KiB |
BIN
frontend-react/src/assets/Splatoon1Maps/underpass.png
Normal file
|
After Width: | Height: | Size: 149 KiB |
|
Before Width: | Height: | Size: 5.3 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 289 B After Width: | Height: | Size: 141 B |
|
Before Width: | Height: | Size: 6.2 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 5.6 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 5.0 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 3.0 KiB After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 5.4 KiB After Width: | Height: | Size: 1.8 KiB |
|
Before Width: | Height: | Size: 4.6 KiB After Width: | Height: | Size: 1.9 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 5.7 KiB After Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 4.9 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 768 B |
BIN
frontend-react/src/assets/b8ing_dark.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
frontend-react/src/assets/b8ing_light.png
Normal file
|
After Width: | Height: | Size: 7.0 KiB |
BIN
frontend-react/src/assets/boing_dark.png
Normal file
|
After Width: | Height: | Size: 7.1 KiB |
BIN
frontend-react/src/assets/boing_light.png
Normal file
|
After Width: | Height: | Size: 7.2 KiB |
|
Before Width: | Height: | Size: 7.0 KiB |
BIN
frontend-react/src/assets/first_place.png
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
46
frontend-react/src/assets/icons.tsx
Normal file
@@ -0,0 +1,46 @@
|
||||
import React from "react"
|
||||
|
||||
const customIcons = {
|
||||
//sz.svg
|
||||
sz: {
|
||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1.2-5.1 5.4-3.9 7.3-4.5 9.7-3zm33.4 5.5c9.8 1.9 18 3.6 18.3 3.9.2.2-1.6 2-4.1 3.9l-4.4 3.5-10.3-1.9c-10.5-1.9-19.6-3.5-25.6-4.4l-3.4-.5 5.3-4c2.9-2.1 5.5-3.9 5.8-3.9.3 0 8.6 1.5 18.4 3.4zm37.5 7.1c.2.2-2 2.1-4.9 4.3-4.7 3.6-5.5 3.9-8.1 3-3.3-1.2-3.4-1 2.9-5.4 3.5-2.3 5.5-3.1 7.3-2.7 1.4.3 2.6.7 2.8.8zm-59 6.1c5.7.8 11.1 1.8 12 2.3.9.4 7.7 1.6 15 2.6C82 89.6 88 90.7 88 91c0 .3-2.6 2.4-5.7 4.6l-5.8 4-9-1.8c-4.9-.9-14.5-2.6-21.2-3.8-6.7-1.1-15.4-2.7-19.3-3.6l-7.1-1.7 5.5-3.7c4.3-2.8 6.4-3.6 8.9-3.3 1.7.2 7.8 1.1 13.5 1.9z"
|
||||
/>
|
||||
),
|
||||
viewBox: "0 0 128 128",
|
||||
},
|
||||
//tc.svg
|
||||
tc: {
|
||||
path: (
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M54 11.1C41.5 22 41 22.7 43.9 24.9c2 1.5 2.2 2.4 1.9 9.6l-.3 7.9-8.5 3.4c-4.7 1.8-14.2 5.4-21.2 7.9C3.7 58 3 58.5 3 61c0 2.3.6 2.9 4 3.9 2.2.6 5.7 2.6 7.6 4.3l3.6 3.2-.3 17.9-.4 17.9 25.2 9.4 25.1 9.3 22.1-10.1 22.1-10.2.1-18c.1-10 .1-18.5 0-18.9-.2-1.1 5.3-5.7 9.8-8.3 2.5-1.5 3.6-2.8 3.6-4.5 0-2.2-1-2.6-19-7-10.4-2.6-20.2-5-21.7-5.3L82 44v-9.4c0-8.5.2-9.4 2-9.9 4.1-1.1 3.6-3.8-1.6-8.5C73.8 8.5 65.9 2 65.2 2c-.4 0-5.5 4.1-11.2 9.1z"
|
||||
/>
|
||||
),
|
||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4-10-8.5-12.3-5.3-3-14-3.1-19.5-.3-2.1 1.1-4.1 2.4-4.5 3-.4.6-2.6-.1-5.6-1.7-5.4-2.8-12.7-3.8-17.1-2.4z"
|
||||
/>
|
||||
),
|
||||
viewBox: "0 0 128 128",
|
||||
},
|
||||
//cb.svg
|
||||
cb: {
|
||||
path: (
|
||||
<path
|
||||
fill="currentColor"
|
||||
d="M49.7 22c-19.5 3.1-32.6 11.3-39.6 24.8-2.3 4.3-3 12.7-1.7 18.5C10.6 74.5 14.7 79 36.1 95c27.2 20.4 33.3 22.5 44.5 15.1 3.2-2.1 7.3-5.3 8.9-7.1 1.7-1.7 6.8-6.4 11.5-10.3 19.7-16.4 22-19.6 22-30.4-.1-11.4-6.5-21.5-19.1-29.8-11.1-7.4-21.3-10.5-36.2-11-6.7-.2-14.8 0-18 .5z"
|
||||
/>
|
||||
),
|
||||
viewBox: "0 0 128 128",
|
||||
},
|
||||
}
|
||||
|
||||
export default customIcons
|
||||
@@ -25,12 +25,19 @@ import TI from "./abilityIcons/TI.png"
|
||||
import OS from "./abilityIcons/OS.png"
|
||||
import AD from "./abilityIcons/AD.png"
|
||||
import UNKNOWN from "./abilityIcons/UNKNOWN.png"
|
||||
import EMPTY from "./abilityIcons/EMPTY.png"
|
||||
import * as top500logo from "./top500.png"
|
||||
|
||||
import szIcon from "./sz.png"
|
||||
import tcIcon from "./tc.png"
|
||||
import rmIcon from "./rm.png"
|
||||
import cbIcon from "./cb.png"
|
||||
import twIcon from "./tw.png"
|
||||
import posterGirlDrawingDark from "./poster_girl_dark.png"
|
||||
import posterGirlDrawingLight from "./poster_girl_light.png"
|
||||
import boingDrawingDark from "./boing_dark.png"
|
||||
import boingDrawingLight from "./boing_light.png"
|
||||
import boingOctoDrawingDark from "./b8ing_dark.png"
|
||||
import boingOctoDrawingLight from "./b8ing_light.png"
|
||||
|
||||
import firstPlace from "./first_place.png"
|
||||
import secondPlace from "./second_place.png"
|
||||
import thirdPlace from "./third_place.png"
|
||||
|
||||
import arowana_mall_thumbnail from "./mapThumbnails/arowana_mall.png"
|
||||
import anchov_games_thumbnail from "./mapThumbnails/ancho-v_games.png"
|
||||
@@ -56,79 +63,80 @@ import the_reef_thumbnail from "./mapThumbnails/the_reef.png"
|
||||
import wahoo_world_thumbnail from "./mapThumbnails/wahoo_world.png"
|
||||
import walleye_warehouse_thumbnail from "./mapThumbnails/walleye_warehouse.png"
|
||||
|
||||
//https://stackoverflow.com/questions/42118296/dynamically-import-images-from-a-directory-using-webpack
|
||||
export const wpnSmall = importAll(require.context("./wpnSmall", false))
|
||||
export const wpnMedium = importAll(require.context("./wpnMedium", false))
|
||||
import alfonsino from "./Splatoon1Maps/alfonsino.png"
|
||||
import bluefin from "./Splatoon1Maps/bluefin.png"
|
||||
import bridge from "./Splatoon1Maps/bridge.png"
|
||||
import flounder from "./Splatoon1Maps/flounder.png"
|
||||
import resort from "./Splatoon1Maps/resort.png"
|
||||
import rig from "./Splatoon1Maps/rig.png"
|
||||
import underpass from "./Splatoon1Maps/underpass.png"
|
||||
|
||||
function importAll(r, substringStart = 6, substringEnd = 4) {
|
||||
let images = {}
|
||||
//https://stackoverflow.com/questions/42118296/dynamically-import-images-from-a-directory-using-webpack
|
||||
export const wpnSmall: object = importAll(require.context("./wpnSmall", false))
|
||||
export const wpnMedium: object = importAll(
|
||||
require.context("./wpnMedium", false)
|
||||
)
|
||||
|
||||
function importAll(r: __WebpackModuleApi.RequireContext) {
|
||||
const images: any = {}
|
||||
r.keys().forEach(item => {
|
||||
images[item.substring(substringStart, item.length - substringEnd)] = r(item)
|
||||
images[item.substring(6, item.length - 4)] = r(item)
|
||||
})
|
||||
return images
|
||||
}
|
||||
|
||||
export const abilityIcons = {
|
||||
BDU: BDU,
|
||||
BRU: BRU,
|
||||
CB: CB,
|
||||
DR: DR,
|
||||
H: H,
|
||||
ISM: ISM,
|
||||
ISS: ISS,
|
||||
LDE: LDE,
|
||||
MPU: MPU,
|
||||
NS: NS,
|
||||
OG: OG,
|
||||
QR: QR,
|
||||
QSJ: QSJ,
|
||||
REC: REC,
|
||||
RES: RES,
|
||||
RP: RP,
|
||||
RSU: RSU,
|
||||
SCU: SCU,
|
||||
SJ: SJ,
|
||||
SPU: SPU,
|
||||
SS: SS,
|
||||
SSU: SSU,
|
||||
T: T,
|
||||
TI: TI,
|
||||
OS: OS,
|
||||
AD: AD,
|
||||
UNKNOWN: UNKNOWN,
|
||||
"": UNKNOWN
|
||||
BDU,
|
||||
BRU,
|
||||
CB,
|
||||
DR,
|
||||
H,
|
||||
ISM,
|
||||
ISS,
|
||||
LDE,
|
||||
MPU,
|
||||
NS,
|
||||
OG,
|
||||
QR,
|
||||
QSJ,
|
||||
REC,
|
||||
RES,
|
||||
RP,
|
||||
RSU,
|
||||
SCU,
|
||||
SJ,
|
||||
SPU,
|
||||
SS,
|
||||
SSU,
|
||||
T,
|
||||
TI,
|
||||
OS,
|
||||
AD,
|
||||
UNKNOWN,
|
||||
"": UNKNOWN,
|
||||
EMPTY,
|
||||
} as const
|
||||
|
||||
export const top500 = top500logo
|
||||
|
||||
export const posterGirl = {
|
||||
light: posterGirlDrawingLight,
|
||||
dark: posterGirlDrawingDark,
|
||||
}
|
||||
|
||||
export const abilitiesGameOrder = [
|
||||
"ISM",
|
||||
"ISS",
|
||||
"REC",
|
||||
"RSU",
|
||||
"SSU",
|
||||
"SCU",
|
||||
"SS",
|
||||
"SPU",
|
||||
"QR",
|
||||
"QSJ",
|
||||
"BRU",
|
||||
"RES",
|
||||
"BDU",
|
||||
"MPU",
|
||||
"OG",
|
||||
"LDE",
|
||||
"T",
|
||||
"CB",
|
||||
"NS",
|
||||
"H",
|
||||
"TI",
|
||||
"RP",
|
||||
"AD",
|
||||
"SJ",
|
||||
"OS",
|
||||
"DR"
|
||||
]
|
||||
export const footerSquid = {
|
||||
light: boingDrawingLight,
|
||||
dark: boingDrawingDark,
|
||||
}
|
||||
|
||||
export const mapIcons = {
|
||||
export const footerOcto = {
|
||||
light: boingOctoDrawingLight,
|
||||
dark: boingOctoDrawingDark,
|
||||
}
|
||||
|
||||
export const medalEmoji = [null, firstPlace, secondPlace, thirdPlace] as const
|
||||
|
||||
export const mapIcons: { [key: string]: string } = {
|
||||
"Arowana Mall": arowana_mall_thumbnail,
|
||||
"Ancho-V Games": anchov_games_thumbnail,
|
||||
"Blackbelly Skatepark": blackbelly_skatepark_thumbnail,
|
||||
@@ -151,21 +159,36 @@ export const mapIcons = {
|
||||
"Sturgeon Shipyard": sturgeon_shipyard_thumbnail,
|
||||
"The Reef": the_reef_thumbnail,
|
||||
"Wahoo World": wahoo_world_thumbnail,
|
||||
"Walleye Warehouse": walleye_warehouse_thumbnail
|
||||
}
|
||||
"Walleye Warehouse": walleye_warehouse_thumbnail,
|
||||
} as const
|
||||
|
||||
export const modeIcons = {
|
||||
"Splat Zones": szIcon,
|
||||
"Tower Control": tcIcon,
|
||||
Rainmaker: rmIcon,
|
||||
"Clam Blitz": cbIcon,
|
||||
SZ: szIcon,
|
||||
TC: tcIcon,
|
||||
RM: rmIcon,
|
||||
CB: cbIcon,
|
||||
TW: twIcon,
|
||||
1: szIcon,
|
||||
2: tcIcon,
|
||||
3: rmIcon,
|
||||
4: cbIcon
|
||||
}
|
||||
export const Splatoon1Maps = [
|
||||
{
|
||||
image: alfonsino,
|
||||
name: "Museum D'Alfonsino",
|
||||
},
|
||||
{
|
||||
image: bluefin,
|
||||
name: "Bluefin Depot",
|
||||
},
|
||||
{
|
||||
image: bridge,
|
||||
name: "Hammerhead Bridge",
|
||||
},
|
||||
{
|
||||
image: flounder,
|
||||
name: "Flounder Heights",
|
||||
},
|
||||
{
|
||||
image: resort,
|
||||
name: "Mahi-Mahi Resort",
|
||||
},
|
||||
{
|
||||
image: rig,
|
||||
name: "Saltspray Rig",
|
||||
},
|
||||
{
|
||||
image: underpass,
|
||||
name: "Urchin Underpass",
|
||||
},
|
||||
]
|
||||
|
Before Width: | Height: | Size: 634 KiB |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
BIN
frontend-react/src/assets/poster_girl_dark.png
Normal file
|
After Width: | Height: | Size: 75 KiB |
BIN
frontend-react/src/assets/poster_girl_light.png
Normal file
|
After Width: | Height: | Size: 85 KiB |
|
Before Width: | Height: | Size: 44 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 18 KiB |
BIN
frontend-react/src/assets/second_place.png
Normal file
|
After Width: | Height: | Size: 3.8 KiB |
|
Before Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 19 KiB |
BIN
frontend-react/src/assets/third_place.png
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
|
Before Width: | Height: | Size: 9.7 KiB After Width: | Height: | Size: 9.7 KiB |
BIN
frontend-react/src/assets/trophy.png
Normal file
|
After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 23 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.6 KiB |
|
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 5.1 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.0 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 44 KiB After Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 9.6 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 3.4 KiB |
|
Before Width: | Height: | Size: 9.1 KiB After Width: | Height: | Size: 2.6 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 2.9 KiB |
|
Before Width: | Height: | Size: 8.3 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 3.6 KiB |
|
Before Width: | Height: | Size: 15 KiB After Width: | Height: | Size: 3.9 KiB |
|
Before Width: | Height: | Size: 53 KiB After Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 13 KiB After Width: | Height: | Size: 4.4 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 4.7 KiB |
|
Before Width: | Height: | Size: 14 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 14 KiB |