Skip to content

Commit dca31ae

Browse files
Add a manufacturer landing page to the probe viewer (#64)
* Add a manufacturer landing page and open the viewer fitted to a probe's contacts with a per-probe zoom cap * graphical improvements * improvements * probe looks better * simple style * improve svg quality * docs: add instructions to preview webapp locally --------- Co-authored-by: Alessio Buccino <alejoe9187@gmail.com>
1 parent bc3b270 commit dca31ae

20 files changed

Lines changed: 1089 additions & 378 deletions

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,15 @@ See:
1212
The format of probes is JSON-based. See [documentation](https://probeinterface.readthedocs.io/en/main/format_spec.html) for full specifications.
1313

1414

15-
15+
### Preview `probe-viewer` app locally
16+
17+
To build and preview the `probe-viewer` web-app locally:
18+
19+
```bash
20+
cd apps/probe-viewer
21+
uv run build.py
22+
# build
23+
npm run build
24+
# run
25+
npx vite preview
26+
```
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Manufacturer logos
2+
3+
Drop a logo here named `<manufacturer-key>.png` to replace the wordmark on that
4+
manufacturer's landing-page card. The key is the manufacturer folder name in the
5+
repo root, e.g.:
6+
7+
- `cambridgeneurotech.png`
8+
- `diagnosticbiochips.png`
9+
- `imec.png`
10+
- `neuronexus.png`
11+
- `plexon.png`
12+
- `sinaps-research-platform.png`
13+
14+
If no file is present, the card falls back to a brand-colored wordmark
15+
(see `ProbeIndex.tsx`). Logos are landscape-friendly (rendered at 16:9, contained
16+
on a white background).
17+
18+
Only add logos you have the right to use. Manufacturer logos are trademarks;
19+
they are intentionally not committed here by default.
24.6 KB
Loading
61.2 KB
Loading
10.5 KB
Loading

apps/probe-viewer/public/logos/neuronexus.svg

Lines changed: 8 additions & 0 deletions
Loading
11.8 KB
Loading
Lines changed: 1 addition & 0 deletions
Loading

0 commit comments

Comments
 (0)