Spaces:
Running
Running
Alicia Zangger
commited on
frontend: link logo to idiap website
Browse files
title.py
CHANGED
@@ -49,8 +49,10 @@ def title_css(TEXT_DARK, PRIMARY, PRIMARY_DARK, TEXT_LIGHT):
|
|
49 |
def title_with_logo(title):
|
50 |
return f"""
|
51 |
<div class="title-container">
|
52 |
-
<
|
53 |
-
|
|
|
|
|
54 |
<h1 id="title" style="margin: 0;">
|
55 |
{title}
|
56 |
</h1>
|
|
|
49 |
def title_with_logo(title):
|
50 |
return f"""
|
51 |
<div class="title-container">
|
52 |
+
<a href="https://www.idiap.ch">
|
53 |
+
<img class="logo-light" src="data:image/png;base64,{light_logo_b64}" alt="EdgeFace Logo Light" style="height: 50px;">
|
54 |
+
<img class="logo-dark" src="data:image/png;base64,{dark_logo_b64}" alt="EdgeFace Logo Dark" style="height: 50px;">
|
55 |
+
</a>
|
56 |
<h1 id="title" style="margin: 0;">
|
57 |
{title}
|
58 |
</h1>
|