view hg-web/src/icons/README.md @ 198:008ca7780c8a

S3 upload got it to work.
author MrJuneJune <me@mrjunejune.com>
date Sat, 14 Feb 2026 16:18:14 -0800
parents b818a4561a3c
children
line wrap: on
line source

# icons

Static icon assets for the repository browser UI.

## Files

| File | Description | Source |
|------|-------------|--------|
| `folder.png` | Directory/folder icon | Flaticon |
| `file.svg` | Generic file icon | VSCode Material Icon Theme |
| `home.png` | Home navigation icon | Flaticon |
| `repo.svg` | Repository icon (git branch style) | Custom |
| `close.png` | Modal close button icon | Flaticon |

## Usage

Icons are served as static files at `/icons/` and referenced in `repo-browser.tsx`:

```typescript
const ICONS = {
  folder: "/icons/folder.png",
  file: "/icons/file.svg",
  home: "/icons/home.png",
  repo: "/icons/repo.svg",
  close: "/icons/close.png"
};
```

Add to Bazel filegroup for serving.