From 6d810a421af0b160ce49bf44e4266fd0cf5fba07 Mon Sep 17 00:00:00 2001 From: Prospector <6166773+Prospector@users.noreply.github.com> Date: Wed, 12 Feb 2025 12:06:51 -0800 Subject: [PATCH] Servers marketing enhancements (#3252) * feat: locations page + stock callouts * feat: misalligned but spirits there!! * fix readability on colors on globe * Enhancements to globe * Fix out of stock indicator styling * Start globe near US and slow speed * Remove debug statement * Switch from capacity to stock API * Make custom use its own stock checker * Fix lint, add changelog entries --------- Co-authored-by: Elizabeth Co-authored-by: Lio --- apps/frontend/package.json | 2 + .../src/components/ui/servers/Globe.vue | 308 +++++++++++++ apps/frontend/src/pages/servers/index.vue | 416 ++++++++++++------ apps/frontend/src/public/earth-outline.png | Bin 0 -> 3010190 bytes package.json | 2 + .../components/changelog/ChangelogEntry.vue | 18 +- packages/utils/changelog.ts | 10 + pnpm-lock.yaml | 67 ++- 8 files changed, 678 insertions(+), 145 deletions(-) create mode 100644 apps/frontend/src/components/ui/servers/Globe.vue create mode 100644 apps/frontend/src/public/earth-outline.png diff --git a/apps/frontend/package.json b/apps/frontend/package.json index 52faf1324..64b7a31cf 100644 --- a/apps/frontend/package.json +++ b/apps/frontend/package.json @@ -57,6 +57,8 @@ "pinia": "^2.1.7", "qrcode.vue": "^3.4.0", "semver": "^7.5.4", + "three": "^0.172.0", + "@types/three": "^0.172.0", "vue-multiselect": "3.0.0-alpha.2", "vue-typed-virtual-list": "^1.0.10", "vue3-ace-editor": "^2.2.4", diff --git a/apps/frontend/src/components/ui/servers/Globe.vue b/apps/frontend/src/components/ui/servers/Globe.vue new file mode 100644 index 000000000..65040d9ab --- /dev/null +++ b/apps/frontend/src/components/ui/servers/Globe.vue @@ -0,0 +1,308 @@ + + + + + diff --git a/apps/frontend/src/pages/servers/index.vue b/apps/frontend/src/pages/servers/index.vue index 112f75b23..3bf8bf179 100644 --- a/apps/frontend/src/pages/servers/index.vue +++ b/apps/frontend/src/pages/servers/index.vue @@ -494,6 +494,97 @@ +
+
+
+
+
+
+
+ Server Locations +
+

+ Coast-to-Coast Coverage +

+
+ +
+
+
+
+ + + + +
+

+ US Coverage +

+
+

+ With strategically placed servers in New York, Los Angeles, Seattle, and Miami, we + ensure low latency connections for players across North America. Each location is + equipped with high-performance hardware and DDoS protection. +

+
+ +
+
+
+ + + + + + +
+

+ Global Expansion +

+
+

+ We're expanding to Europe and Asia-Pacific regions soon, bringing Modrinth's + seamless hosting experience worldwide. Join our Discord to stay updated on new + region launches. +

+
+
+
+ +
+
+
+
- Servers are currently US only, in New York, Los Angeles, Seattle, and Miami. More - regions coming soon! - -