vuejs / vitepress

Vite & Vue powered static site generator.
https://vitepress.dev
MIT License
13.22k stars 2.13k forks source link

Feature request: add social link icon for JSR to default template #4256

Closed dirkluijk closed 2 weeks ago

dirkluijk commented 1 month ago

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

JSR is an alternative for NPM, where you can publish ESM-only TypeScript packages. It's mainly promoted by Deno, but can also be used in Node.js.

Describe the solution you'd like

It would be nice to have a jsr social link available in the default template of Vitepress, so it's easier to link to your package on jsr.io.

A possible SVG:

<svg viewBox="0 0 13 7" aria-hidden="true">
<g>
<path d="M1,3h1v1h1v-3h1v4h-3"/>
<path d="M5,1h3v1h-2v1h2v3h-3v-1h2v-1h-2"/>
<path d="M9,2h3v2h-1v-1h-1v3h-1"/>
</g>
</svg>

(we would have to check if we have permissions for this SVG to be used)

Describe alternatives you've considered

Providing a custom SVG.

Additional context

No response

Validations

brc-dd commented 1 month ago

I'm personally inclined to add this. But let's still wait for some upvotes here otherwise it'd be unfair to other icons that are still pending (like #4135).

And regarding SVG, we will use one from https://simpleicons.org.

dirkluijk commented 1 month ago

Makes sense, agreed!