Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions apps/probe-viewer/public/logos/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ manufacturer's landing-page card. The key is the manufacturer folder name in the
repo root, e.g.:

- `cambridgeneurotech.png`
- `corticale.png`
- `diagnosticbiochips.png`
- `imec.png`
- `neuronexus.png`
Expand Down
Binary file added apps/probe-viewer/public/logos/corticale.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions apps/probe-viewer/src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -931,6 +931,9 @@
.probe-card-logo--cambridgeneurotech {
background: linear-gradient(135deg, #0e7490, #06b6d4);
}
.probe-card-logo--corticale {
background: linear-gradient(135deg, #115e59, #14b8a6);
}
.probe-card-logo--imec {
background: linear-gradient(135deg, #9f1239, #e11d48);
}
Expand Down
2 changes: 2 additions & 0 deletions apps/probe-viewer/src/components/ProbeIndex.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type { ManifestEntry } from "../types/probe";
// falls back to a brand-colored wordmark.
const MANUFACTURER_LOGOS: Record<string, string> = {
cambridgeneurotech: "cambridgeneurotech.png",
corticale: "corticale.png",
diagnosticbiochips: "diagnosticbiochips.png",
imec: "imec.png",
neuronexus: "neuronexus.svg",
Expand Down Expand Up @@ -42,6 +43,7 @@ function ManufacturerMedia({ groupKey, label }: { groupKey: string; label: strin
// Mirrors the ProbeSelectionMenu's friendly names.
const MANUFACTURER_DISPLAY_NAMES: Record<string, string> = {
cambridgeneurotech: "Cambridge NeuroTech",
corticale: "Corticale",
diagnosticbiochips: "Diagnostic Biochips",
imec: "IMEC · Neuropixels",
neuronexus: "NeuroNexus",
Expand Down
1 change: 1 addition & 0 deletions apps/probe-viewer/src/components/ProbeSelectionMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import type { GroupNode } from "../grouping/types";

const MANUFACTURER_DISPLAY_NAMES: Record<string, string> = {
cambridgeneurotech: "Cambridge NeuroTech",
corticale: "Corticale",
diagnosticbiochips: "Diagnostic Biochips",
imec: "IMEC (Neuropixels)",
neuronexus: "NeuroNexus",
Expand Down
10 changes: 10 additions & 0 deletions apps/probe-viewer/src/grouping/corticale.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"hierarchy": [
{ "label": "SiNAPS Generation II",
"children": [
{ "label": "Single-shank", "probes": ["M0001", "M0003"] },
{ "label": "Multi-shank", "probes": ["M0002", "M0004"] },
{ "label": "Non-human-primate", "probes": ["M0005"] }
] }
]
}
2 changes: 2 additions & 0 deletions apps/probe-viewer/src/grouping/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { HierarchyConfig } from "./types";
import corticaleHierarchy from "./corticale.json";
import imecHierarchy from "./imec_neuropixels.json";

// Registry mapping a manufacturer key (as it appears in the manifest) to its
Expand All @@ -9,6 +10,7 @@ import imecHierarchy from "./imec_neuropixels.json";
//
// JSON is used because Vite imports it with no extra dependency.
const REGISTRY: Record<string, HierarchyConfig> = {
corticale: corticaleHierarchy as HierarchyConfig,
imec: imecHierarchy as HierarchyConfig,
};

Expand Down
Loading
Loading