ipfs-shipyard / ipfs-shipyard/ipfs-css

feat: svg spritesheet for dir-index-html listings

Open
#71 1 comment 0 reactions 0 assignees View on GitHub
dif/easy effort/hours good first issue help wanted kind/enhancement P3 status/ready
Dominant language
HTML
Stars
24
Forks
14
PR merge metrics
No merged PRs in 30d

Description

ipfs.io and kubo use SVG images as data uris, and we want to add dir-index-html listings to service-worker-gateway as well.

We could create a spritesheet and add to this repo and pull in from both kubo and service-worker-gateway:

```

```

Or we could create these svgs as individual files and then retrieve from CDN (or ipfs.io gateway).

### References

* https://github.com/ipfs/helia-verified-fetch/pull/86/files#r1829575387
* https://github.com/ipfs/boxo/blob/09b0013e1c3e09468009b02dfc9b2b9041199d5d/gateway/assets/icons.css
* https://github.com/ipfs/boxo/blob/09b0013e1c3e09468009b02dfc9b2b9041199d5d/gateway/assets/templates.go#L19C1-L25C2

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.