Skip to content

Commit 1615b25

Browse files
authored
add images of esk and dlc2action, add docs link (#16)
1 parent a8b4305 commit 1615b25

File tree

6 files changed

+34
-3
lines changed

6 files changed

+34
-3
lines changed

app/page.tsx

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,14 @@ export default function Home() {
212212
</a>
213213
</Button>
214214
)}
215+
{pub.links.docs && (
216+
<Button asChild variant="outline" size="sm">
217+
<a href={pub.links.docs} target="_blank" rel="noopener noreferrer">
218+
<FileText className="mr-2 size-3" />
219+
Docs
220+
</a>
221+
</Button>
222+
)}
215223
</div>
216224
)}
217225
</CardContent>

app/publications/page.tsx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,15 @@ export default function PublicationsPage() {
229229
</a>
230230
</Button>
231231
)}
232+
{pub.links.docs && (
233+
<Button asChild variant="outline" size="sm">
234+
<a href={pub.links.docs} target="_blank" rel="noopener noreferrer">
235+
<FileText className="mr-2 size-4" />
236+
docs
237+
<ExternalLink className="ml-2 size-3" />
238+
</a>
239+
</Button>
240+
)}
232241
</div>
233242
)}
234243
</CardContent>

app/research/page.tsx

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ interface Tool {
2121
arxiv?: string
2222
paper?: string
2323
website?: string
24+
docs?: string
2425
}
2526

2627
interface ResearchArea {
@@ -133,7 +134,7 @@ function MediaMosaic({ images, title }: { images: string[]; title: string }) {
133134

134135
// Tool card with link guards
135136
function ToolCard({ tool }: { tool: Tool }) {
136-
const hasLinks = Boolean(tool.github || tool.arxiv || tool.paper || tool.website)
137+
const hasLinks = Boolean(tool.github || tool.arxiv || tool.paper || tool.website || tool.docs)
137138

138139
// Dev warning for tools without links
139140
if (!hasLinks && process.env.NODE_ENV === "development") {
@@ -194,6 +195,16 @@ function ToolCard({ tool }: { tool: Tool }) {
194195
</a>
195196
</Button>
196197
)}
198+
{tool.docs && (
199+
<Button asChild variant="ghost" size="sm">
200+
<a href={tool.docs} target="_blank" rel="noopener noreferrer">
201+
<Globe className="mr-2 size-3" aria-hidden="true" />
202+
<span>Docs</span>
203+
<ExternalLink className="ml-2 size-3" aria-hidden="true" />
204+
<span className="sr-only">Opens in new tab</span>
205+
</a>
206+
</Button>
207+
)}
197208
</div>
198209
</CardContent>
199210
)}

data/publications.json

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,20 +44,23 @@
4444
{
4545
"id": "dlc2action-2025",
4646
"title": "DLC2Action: A Deep Learning-based Toolbox for Automated Behavior Segmentation",
47+
"image": "/images/publications/dlc2action.png",
4748
"authors": ["E Kozlova", "A Bonnetto", "A Mathis"],
4849
"year": 2025,
49-
"venue": "bioRxiv",
50+
"venue": "bioRxiv preprint",
5051
"type": "preprint",
5152
"tags": ["behavior analysis", "deep learning", "neuroscience"],
5253
"links": {
5354
"biorxiv": "https://www.biorxiv.org/content/10.1101/2025.09.27.678941",
54-
"github": "https://github.com/amathislab/DLC2action"
55+
"github": "https://github.com/amathislab/DLC2action",
56+
"docs": "https://amathislab.github.io/DLC2action/html_docs/dlc2action.html"
5557
},
5658
"featured": true
5759
},
5860
{
5961
"id": "smart-kitchen-2025",
6062
"title": "EPFL-Smart-Kitchen-30: Densely annotated cooking dataset with 3D kinematics to challenge video and language models",
63+
"image": "/images/publications/esk.png",
6164
"authors": ["A Bonnetto*", "H Qi*", "F Leong", "M Tashkovska", "M Rad", "S Shokur", "F Hummel", "S Micera", "M Pollefeys", "A Mathis"],
6265
"year": 2025,
6366
"venue": "NeurIPS 2025",
280 KB
Loading

public/images/publications/esk.png

1.49 MB
Loading

0 commit comments

Comments
 (0)