Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add built-in OpenCollective support to socialLinks #3809

Open
4 tasks done
ST-DDT opened this issue Apr 18, 2024 · 1 comment
Open
4 tasks done

Add built-in OpenCollective support to socialLinks #3809

ST-DDT opened this issue Apr 18, 2024 · 1 comment
Labels
enhancement New feature or request has-workaround Has workaround, low priority theme Related to the theme

Comments

@ST-DDT
Copy link

ST-DDT commented Apr 18, 2024

Is your feature request related to a problem? Please describe.

Receiving donations is one of the hardest problems for small projects/sites.

Describe the solution you'd like

Having a OpenCollective link on the page hopefully helps with that (even if very little)

A SVG for that can be found here: https://github.com/simple-icons/simple-icons/blob/develop/icons/opencollective.svg

Describe alternatives you've considered

Manually add the OpenCollective link to the list.

Additional context

No response

Validations

@brc-dd
Copy link
Member

brc-dd commented Apr 18, 2024

Ah, we are trying to avoid adding new icons to the core because they can't be tree shaken and end up in the bundle for everyone (even if they aren't using it). If this issue gets significant upvotes we would add it, but until then I'd recommend using the icons from https://simpleicons.org:

<svg role="img" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><title>Open Collective</title><path d="M12 0C5.373 0 0 5.373 0 12s5.373 12 12 12c2.54 0 4.894-.79 6.834-2.135l-3.107-3.109a7.715 7.715 0 1 1 0-13.512l3.107-3.109A11.943 11.943 0 0 0 12 0zm9.865 5.166l-3.109 3.107A7.67 7.67 0 0 1 19.715 12a7.682 7.682 0 0 1-.959 3.727l3.109 3.107A11.943 11.943 0 0 0 24 12c0-2.54-.79-4.894-2.135-6.834z"/></svg>

Docs: https://vitepress.dev/reference/default-theme-config#sociallinks

@brc-dd brc-dd added enhancement New feature or request has-workaround Has workaround, low priority theme Related to the theme labels Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request has-workaround Has workaround, low priority theme Related to the theme
Projects
None yet
Development

No branches or pull requests

2 participants