aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.gitignore2
-rw-r--r--src/_donators.json1
-rw-r--r--src/routes/index.svelte5
-rw-r--r--svelte.config.js6
4 files changed, 9 insertions, 5 deletions
diff --git a/.gitignore b/.gitignore
index e901a5f..4b9e838 100644
--- a/.gitignore
+++ b/.gitignore
@@ -11,5 +11,3 @@ node_modules
.yarn
/.vercel_build_output
-# this file is autogenerated from the svelte.config.js
-/src/_donators.json
diff --git a/src/_donators.json b/src/_donators.json
new file mode 100644
index 0000000..816c05c
--- /dev/null
+++ b/src/_donators.json
@@ -0,0 +1 @@
+[{"uuid":"7e534bf90cc24b4689e9ab380aab9877","username":"CalebDavisPvP","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§c+§b]"},"socials":{"discord":"CalebDavisPvP#1337","forums":null}},{"uuid":"a7b317669c3945a380cd96d1f516b858","username":"nullDorito","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§9+§b]"},"socials":{"discord":"rito#3599","forums":"https://hypixel.net/members/nulldorito.3985801/"}},{"uuid":"25e670e88a104f96bbe6f5545170682f","username":"RunicYoungDragon","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§8+§b]"},"socials":{"discord":"RunicYoungDragon#8156","forums":"https://hypixel.net/members/minihouse.1063296/"}},{"uuid":"4c6beeff830e4bc1b9bc876e9ee8f357","username":"ItzMonday","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§5+§b]"},"socials":{"discord":"ItzMonday#8949","forums":"https://hypixel.net/members/itzmonday.2651009/"}},{"uuid":"951801c9765944bbbd1adf22cc90294e","username":"oxnan","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§0+§b]"},"socials":{"discord":"oxnan#1337","forums":"https://hypixel.net/members/oxnan.2000303/"}},{"uuid":"26398ec782e5440cbcbb94c58b8b60a2","username":"jasperazzi","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§0+§b]"},"socials":{"discord":"jasperazzi#6422","forums":"https://hypixel.net/members/ceejcake.2183776/"}},{"uuid":"c558970dca7343a79083825bacfa65c7","username":"FingaMan","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§4+§b]"},"socials":{"discord":"Fing#8864","forums":"https://hypixel.net/members/fingalickindood.141993/"}},{"uuid":"1915444928b64d8b8973df8044f8cdb7","username":"LeaPhant","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§d+§b]"},"socials":{"discord":"LeaPhant#2456","forums":"https://hypixel.net/members/leaphant.687175/"}},{"uuid":"64e5da31f6ae40caa6e77cebd7694df8","username":"ImEvoke","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§6+§b]"},"socials":{"discord":"floog 1#5533","forums":null}},{"uuid":"585b739ac76d40a8a95604ea052930c7","username":"Canadas","rank":{"name":"MVP+","color":"#3ffefe","colored":"§b[MVP§0+§b]"},"socials":{"discord":"Canadas#6600","forums":"https://hypixel.net/members/canadas.675999/"}}] \ No newline at end of file
diff --git a/src/routes/index.svelte b/src/routes/index.svelte
index 32b1360..0c52437 100644
--- a/src/routes/index.svelte
+++ b/src/routes/index.svelte
@@ -13,7 +13,10 @@
<title>SkyBlock Stats</title>
</svelte:head>
-<Head title='SkyBlock Stats' description='Check SkyBlock stats, see leaderboards, mayors, and way more.' />
+<Head
+ title="SkyBlock Stats"
+ description="Check SkyBlock stats, see leaderboards, mayors, and way more."
+/>
<main>
<section class="title-section">
diff --git a/svelte.config.js b/svelte.config.js
index 45bb644..b2099af 100644
--- a/svelte.config.js
+++ b/svelte.config.js
@@ -33,6 +33,7 @@ function shuffle(a) {
return a
}
+console.log('svelte.config.js');
(async () => {
const API_URL = 'https://skyblock-api.matdoes.dev/'
@@ -49,6 +50,7 @@ function shuffle(a) {
await fs.promises.writeFile('src/_donators.json', JSON.stringify(shuffle(donators)), {
encoding: 'utf8'
})
+ console.log('wrote file!')
})()
/** @type {import('@sveltejs/kit').Config} */
@@ -88,6 +90,6 @@ const config = {
},
},
}
-};
+}
-export default config;
+export default config