From 439bfa6afbcb8cceafcbbd177f826572776ab587 Mon Sep 17 00:00:00 2001 From: Himyu Date: Thu, 14 Jul 2022 21:48:35 +0200 Subject: [PATCH] fix valorant static file path --- frontend/gfx/loading/main.js | 6 +++--- frontend/gfx/loading/style.scss | 2 +- frontend/gfx/pregame/main.js | 4 ++-- frontend/gfx/pregame/style.scss | 2 +- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/gfx/loading/main.js b/frontend/gfx/loading/main.js index 7271e16..71ad6c7 100644 --- a/frontend/gfx/loading/main.js +++ b/frontend/gfx/loading/main.js @@ -18,7 +18,7 @@ function initGfx (data, static) { } const agentImgUrl = (CharacterID) => { - return `/serve/valorant-static/agent-drawing/${CharacterID}.png` + return `/serve/module-valorant-static/agent-drawing/${CharacterID}.png` } const template = document.querySelector('#agent-template') @@ -41,10 +41,10 @@ function initMap (map, static) { return m.mapUrl === map }) - mapDiv.style.backgroundImage = `url(/serve/valorant-static/map-splash/${currentMap.uuid}.png)` + mapDiv.style.backgroundImage = `url(/serve/module-valorant-static/map-splash/${currentMap.uuid}.png)` mapName.innerHTML = currentMap.displayName - mapIcon.src = `/serve/valorant-static/map-rcv/${currentMap.uuid}.png` + mapIcon.src = `/serve/module-valorant-static/map-rcv/${currentMap.uuid}.png` } function displayData (state) { diff --git a/frontend/gfx/loading/style.scss b/frontend/gfx/loading/style.scss index be512a0..a8f119c 100644 --- a/frontend/gfx/loading/style.scss +++ b/frontend/gfx/loading/style.scss @@ -43,7 +43,7 @@ height: 100%; h3 { - color: #fbfb42; + color: var(--accent-color); font-size: 17pt; line-height: 1; font-family: 'D-DIN'; diff --git a/frontend/gfx/pregame/main.js b/frontend/gfx/pregame/main.js index ab86aa3..94b1a79 100644 --- a/frontend/gfx/pregame/main.js +++ b/frontend/gfx/pregame/main.js @@ -19,7 +19,7 @@ function initGfx (data, static) { } const agentImgUrl = (CharacterID) => { - return `/serve/valorant-static/agent-drawing/${CharacterID}.png` + return `/serve/module-valorant-static/agent-drawing/${CharacterID}.png` } const template = document.querySelector('#agent-template') @@ -52,7 +52,7 @@ function initMap (map, static) { uuid: currentMap.uuid } - mapDiv.style.backgroundImage = `url(/serve/valorant-static/map-splash/${mapData.uuid}.png)` + mapDiv.style.backgroundImage = `url(/serve/module-valorant-static/map-splash/${mapData.uuid}.png)` mapName.innerHTML = mapData.displayName } diff --git a/frontend/gfx/pregame/style.scss b/frontend/gfx/pregame/style.scss index b249255..72b3065 100644 --- a/frontend/gfx/pregame/style.scss +++ b/frontend/gfx/pregame/style.scss @@ -47,7 +47,7 @@ } h3 { - color: #fbfb42; + color: var(--accent-color); font-size: 24pt; line-height: 1; margin-bottom: 0;