color-js / color.js

Color conversion & manipulation library by the editors of the CSS Color specifications
https://colorjs.io
MIT License
1.81k stars 80 forks source link

[website] Add Discord link to nav links #533

Closed MysteryBlokHed closed 1 month ago

MysteryBlokHed commented 1 month ago

Related issue: #412

This change uses the Discord invite linked from the referenced issue. Currently, the only change is adding a link to the navbar. I could also add some kind of "need help?" section to the homepage that's harder to miss, if that'd be desired.

netlify[bot] commented 1 month ago

Deploy Preview for colorjs ready!

Name Link
Latest commit 7dc403e91c7d2b230af447f29fa21dad4a826d19
Latest deploy log https://app.netlify.com/sites/colorjs/deploys/6656a869b76c2a0008064460
Deploy Preview https://deploy-preview-533--colorjs.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

MysteryBlokHed commented 1 month ago

I know I've already merged this, but I wonder if it might be better to use a unique invite link for the website? That way it's easier to tell where new members are coming from based on the link they used, if that data is of interest

LeaVerou commented 1 month ago

Sure, why not? How though?

MysteryBlokHed commented 1 month ago

Under the Color.js server > Server Settings > Invites, a full list of invite links and their use count can be seen:

Screenshot of the Invites page, showing a single invite and its use count (23)

If you're interested, then you could create a new link as usual (eg. right-clicking on a channel > Invite People) and then either edit the link in the navbar, or share it with me so I can make the change. The only reason I'd ask you to create the invite instead of doing it myself is so that it shows "Lea Verou invited you to..." instead of my own name while joining.

Also, while creating the invite, make sure to set it not to expire (there's a tiny hyperlink at the bottom of the invite menu to configure the expiration)—we don't want to just have a broken link in the navbar :P

MysteryBlokHed commented 1 month ago

You can't actually see which invite a specific user used without a third-party bot, but I think it's still worth doing so that we can see where people are coming from

Clarification: I don't mean adding a bot; I mean making a unique invite link