Skip to content

Commit 57748e9

Browse files
committed
Add logos
1 parent 54b83b5 commit 57748e9

3 files changed

Lines changed: 26 additions & 10 deletions

File tree

public/AirLab-Stacked.svg

Lines changed: 1 addition & 0 deletions
Loading

public/CVPR_2026.png

54.7 KB
Loading

src/pages/index.astro

Lines changed: 25 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ const prefix = baseUrl.endsWith("/") ? baseUrl : baseUrl + "/";
4242
const titleParts = title.split(/:\s*/);
4343
const titleMain = titleParts[0];
4444
const titleSub = titleParts.length > 1 ? titleParts.slice(1).join(": ") : null;
45-
46-
const conferenceWithSuperscript = conference?.replace(
47-
/(\d+)(st|nd|rd|th)\b/g,
48-
"$1<sup>$2</sup>",
49-
);
5045
---
5146

5247
<!doctype html>
@@ -90,11 +85,31 @@ const conferenceWithSuperscript = conference?.replace(
9085
<Authors authors={authors} />
9186
{notes && <Notes notes={notes} />}
9287
{
93-
conferenceWithSuperscript && (
94-
<div
95-
class="mt-2 mb-2 text-base font-semibold text-violet-600 md:text-2xl dark:text-violet-400"
96-
set:html={conferenceWithSuperscript}
97-
/>
88+
conference && (
89+
<div class="-mt-5 -mb-4 flex items-center justify-center gap-5 md:gap-6">
90+
<a
91+
href="https://cvpr.thecvf.com/Conferences/2026"
92+
target="_blank"
93+
rel="noopener noreferrer"
94+
>
95+
<img
96+
src={`${prefix}CVPR_2026.png`}
97+
alt="CVPR 2026"
98+
class="h-12 w-auto md:h-16"
99+
/>
100+
</a>
101+
<a
102+
href="https://theairlab.org"
103+
target="_blank"
104+
rel="noopener noreferrer"
105+
>
106+
<img
107+
src={`${prefix}AirLab-Stacked.svg`}
108+
alt="AirLab"
109+
class="h-12 w-auto md:h-16"
110+
/>
111+
</a>
112+
</div>
98113
)
99114
}
100115
{links && <Links links={links} />}

0 commit comments

Comments
 (0)