diff --git a/src/index.html b/src/index.html index 4c62d40..4fcb2e2 100644 --- a/src/index.html +++ b/src/index.html @@ -4,15 +4,15 @@ WoW Historical Token Prices Tracker - + - - + +
-

1 Token = 0 Gold

+

1 Classic Token = 0 Gold

@@ -31,12 +31,12 @@

@@ -46,6 +46,9 @@ Copy URL to this Chart
+
+

Looking for the retail WoW Token price? Find it here!

+
Advanced Options @@ -75,8 +78,8 @@ What is the WoW Token The World of Warcraft Token is a first-party system developed by Blizzard to allow you to either spend currency (local denomination or Blizzard Balance) and convert it to gold - in retail World of Warcraft, or use gold to buy game time or Blizzard Balance. To find out - more, visit the support article on Blizzard's website + in retail and classic World of Warcraft, or use gold to buy game time. + To find out more, visit the support article on Blizzard's website here.
diff --git a/src/index.js b/src/index.js index e93e4e7..4b8a4e2 100644 --- a/src/index.js +++ b/src/index.js @@ -45,7 +45,7 @@ function populateChart() { data: { datasets: [{ borderColor: 'gold', - label: currentRegionSelection.toUpperCase() + " WoW Token Price", + label: currentRegionSelection.toUpperCase() + " WoW Classic Token Price", data: chartJsData, cubicInterpolationMode: 'monotone', pointRadius: 0 @@ -67,7 +67,7 @@ function populateChart() { async function callUpdateURL() { - let resp = await fetch("https://data.wowtoken.app/token/current.json"); + let resp = await fetch("https://data.wowtoken.app/classic/token/current.json"); let data = await resp.json(); updateTokens(data); } @@ -171,7 +171,7 @@ function updateAggregatePreference(newAggregate) { } function urlBuilder() { - let url = "https://data.wowtoken.app/token/history/"; + let url = "https://data.wowtoken.app/classic/token/history/"; if (currentAggregateSelection !== 'none') { url += `${currentAggregateSelection}/` } @@ -263,7 +263,7 @@ function detectURLQuery() { } function buildDeepLinksURL() { - let url = "https://wowtoken.app/?" + let url = "https://classic.wowtoken.app/?" if (currentTimeSelection !== '72h'){ url += `time=${currentTimeSelection}&` } diff --git a/src/style.css b/src/style.css index 6aa87da..075424e 100644 --- a/src/style.css +++ b/src/style.css @@ -176,8 +176,8 @@ h6 { font-weight: 700; } html { - background-color: #073642; - color: #839496; + background-color: #6b4233; + color: #b7b7b7; margin: 1em; } /*body { @@ -197,7 +197,7 @@ a:hover { color: #cb4b16; } h1 { - color: #d33682; + color: #ffd5e9; } h2, h3, @@ -209,7 +209,7 @@ h6 { pre { background-color: #002b36; color: #839496; - border: 1pt solid #586e75; + border: 1pt solid #000000; padding: 1em; box-shadow: 5pt 5pt 8pt #073642; } @@ -304,10 +304,10 @@ h6 { display: flex; flex-direction: column; justify-content: center; - background-color: #002b36; + background-color: #2f201e; margin: 0 auto; max-width: 85%; - border: 1pt solid #586e75; + border: 1pt solid #000000; padding: 1em; } @@ -325,8 +325,8 @@ p { } details { - background-color: #073642; - border: 1px solid #aaa; + background-color: #6b4233; + border: 1px solid #000000; border-radius: 4px; padding: 0.5em 0.5em 0; font-size: 17px; @@ -347,7 +347,7 @@ details[open] { } details[open] summary { - border-bottom: 1px solid #aaa; + border-bottom: 1px solid #000000; margin-bottom: 0.5em; }