Skip to content

Commit 41d73b2

Browse files
emsimonsPseudomanifold
authored andcommitted
changed overview image rendering to use toml file
1 parent eecb2ad commit 41d73b2

File tree

2 files changed

+73
-34
lines changed

2 files changed

+73
-34
lines changed

data/featured_projects/projects.toml

+36
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
# The 6 projects listed in this toml file render as the six linked images on the Overview page.
2+
3+
# Key:
4+
# img = Image path in the static folder
5+
# alt = Alt text for the image (name of the project)
6+
# link = Hyperlink for the image (to arXiv)
7+
8+
# Top left
9+
img1 = "project-images/presto-4.svg"
10+
alt1 = "Mapping the Multiverse of Latent Representations"
11+
link1 = "https://arxiv.org/abs/2402.01514"
12+
13+
# Top center
14+
img2 = "project-images/dect-4.svg"
15+
alt2 = "Differentiable Euler Characteristic Transform"
16+
link2 = "https://arxiv.org/abs/2310.07630"
17+
18+
# Top right
19+
img3 = "project-images/magnitude-4.svg"
20+
alt3 = "Metric Space Magnitude for Diversity Evaluation"
21+
link3 = "https://arxiv.org/abs/2311.16054"
22+
23+
# Bottom left
24+
img4 = "project-images/tardis-4.svg"
25+
alt4 = "Topological Singularity Detection"
26+
link4 = "https://arxiv.org/abs/2210.00069"
27+
28+
# Bottom center
29+
img5 = "project-images/curvature-filtrations-4.svg"
30+
alt5 = "Curvature Filtrations"
31+
link5 = "https://arxiv.org/abs/2301.12906"
32+
33+
# Bottom right
34+
img6 = "project-images/mantra-4.svg"
35+
alt6 = "Manifold Triangulations Assembly"
36+
link6 = "https://arxiv.org/abs/2410.02392"

layouts/shortcodes/projects.html

+37-34
Original file line numberDiff line numberDiff line change
@@ -1,39 +1,42 @@
1-
<div class="projects-grid">
2-
<div class="project-column">
3-
<a href="https://arxiv.org/abs/2402.01514">
4-
<img src="project-images/presto-4.svg" alt="Mapping the Multiverse of Latent Representations">
5-
</a>
1+
<div>
2+
{{ $projects := .Site.Data.featured_projects.projects }}
3+
<div class="projects-grid">
4+
<div class="project-column">
5+
<a href="{{ $projects.link1 }}">
6+
<img src="{{ $projects.img1 }}" alt="{{ $projects.alt1 }}">
7+
</a>
8+
</div>
9+
<div class="project-column">
10+
<a href="{{ $projects.link2 }}">
11+
<img src="{{ $projects.img2 }}" alt="{{ $projects.alt2 }}">
12+
</a>
13+
</div>
14+
<div class="project-column">
15+
<a href="{{ $projects.link3 }}">
16+
<img src="{{ $projects.img3 }}" alt="{{ $projects.alt3 }}">
17+
</a>
18+
</div>
619
</div>
7-
<div class="project-column">
8-
<a href="https://arxiv.org/abs/2310.07630">
9-
<img src="project-images/dect-4.svg" alt="Differentiable Euler Characteristic Transform">
10-
</a>
11-
</div>
12-
<div class="project-column">
13-
<a href="https://arxiv.org/abs/2311.16054">
14-
<img src="project-images/magnitude-4.svg" alt="Metric Space Magnitude for Diversity Evaluation">
15-
</a>
16-
</div>
17-
</div>
18-
19-
<div style="display: flex; justify-content: center; align-items: center; width: 100%;">
20-
<img src="infinity-logo.svg" style="width: 75%;" alt="Lab Large Infinity Logo">
21-
</div>
2220

23-
<div class="projects-grid">
24-
<div class="project-column">
25-
<a href="https://arxiv.org/abs/2210.00069">
26-
<img src="project-images/tardis-4.svg" alt="Topological Singularity Detection">
27-
</a>
21+
<div style="display: flex; justify-content: center; align-items: center; width: 100%;">
22+
<img src="infinity-logo.svg" style="width: 75%;" alt="Lab Large Infinity Logo">
2823
</div>
29-
<div class="project-column">
30-
<a href="https://arxiv.org/abs/2301.12906">
31-
<img src="project-images/curvature-filtrations-4.svg" alt="Curvature Filtrations">
32-
</a>
33-
</div>
34-
<div class="project-column">
35-
<a href="https://arxiv.org/abs/2410.02392">
36-
<img src="project-images/mantra-4.svg" alt="Manifold Triangulations Assembly">
37-
</a>
24+
25+
<div class="projects-grid">
26+
<div class="project-column">
27+
<a href="{{ $projects.link4 }}">
28+
<img src="{{ $projects.img4 }}" alt="{{ $projects.alt4 }}">
29+
</a>
30+
</div>
31+
<div class="project-column">
32+
<a href="{{ $projects.link5 }}">
33+
<img src="{{ $projects.img5 }}" alt="{{ $projects.alt5 }}">
34+
</a>
35+
</div>
36+
<div class="project-column">
37+
<a href="{{ $projects.link6 }}">
38+
<img src="{{ $projects.img6 }}" alt="{{ $projects.alt6 }}">
39+
</a>
40+
</div>
3841
</div>
3942
</div>

0 commit comments

Comments
 (0)