econia-labs / emojicoin-dot-fun

https://emojicoin-dot-fun.vercel.app
Other
6 stars 13 forks source link

[ECO-2389] Render `/launch` as a static page #335

Closed xbtmatt closed 1 week ago

xbtmatt commented 2 weeks ago

Description

We can make /launch a completely static page, making it faster to load, by making the geoblock check client-side. We'll assume the user is geoblocked while the geoblocked function check promise resolves.

There may be a better way to do this, if this is too intrusive (assuming they're blocked when they're not), depending on how the banner appears.

Testing

Check the build logs and ensure it's marked as a statically generated page in Vercel

Checklist

vercel[bot] commented 2 weeks ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
emojicoin-dot-fun ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 6:38pm
emojicoin-dot-fun-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 14, 2024 6:38pm