Skip to content

Commit 74ad463

Browse files
committed
Switch logos depending on light/dark mode
1 parent 9d447b3 commit 74ad463

1 file changed

Lines changed: 10 additions & 8 deletions

File tree

content/summits/developer/2025/_index.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@ We would like to thank the following institutions and projects for sponsoring th
2525
[[item]]
2626
body = '''
2727
{{< image >}}
28-
src = 'https://upload.wikimedia.org/wikipedia/commons/4/4c/Berkeley_Institute_for_Data_Science_-_Logo.png'
28+
lightsrc = 'BIDS-logo.svg'
29+
darksrc = 'BIDS-logo-dark.svg'
2930
alt = 'BIDS logo'
30-
width = 100
31+
height = 120
3132
{{< /image >}}
3233
'''
3334

@@ -36,7 +37,7 @@ body = '''
3637
{{< image >}}
3738
src = 'https://upload.wikimedia.org/wikipedia/en/thumb/a/a4/Seal_of_the_California_Institute_of_Technology.svg/1280px-Seal_of_the_California_Institute_of_Technology.svg.png'
3839
alt = 'Caltech logo'
39-
width = 100
40+
height = 120
4041
{{< /image >}}
4142
'''
4243

@@ -45,7 +46,7 @@ body = '''
4546
{{< image >}}
4647
src = 'https://raw.githubusercontent.com/zarr-developers/zarr-logo/refs/heads/main/zarr-pink-stacked.svg'
4748
alt = 'Zarr logo'
48-
width = 100
49+
height = 120
4950
{{< /image >}}
5051
'''
5152

@@ -54,7 +55,7 @@ body = '''
5455
{{< image >}}
5556
src = 'https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/NSF_logo.svg/1280px-NSF_logo.svg.png'
5657
alt = 'NSF logo'
57-
width = 100
58+
height = 120
5859
{{< /image >}}
5960
'''
6061

@@ -63,7 +64,7 @@ body = '''
6364
{{< image >}}
6465
src = 'https://github.com/iris-hep/iris-hep.github.io/blob/master/assets/logos/Iris-hep-4-no-long-name.png?raw=true'
6566
alt = 'Iris-HEP logo'
66-
width = 100
67+
width = 130
6768
{{< /image >}}
6869
'''
6970

@@ -72,14 +73,15 @@ body = '''
7273
{{< image >}}
7374
src = 'https://raw.githubusercontent.com/scikit-hep/scikit-hep.github.io/refs/heads/main/assets/images/logo.svg'
7475
alt = 'Scikit-HEP logo'
75-
width = 100
76+
width = 120
7677
{{< /image >}}
7778
'''
7879

7980
[[item]]
8081
body = '''
8182
{{< image >}}
82-
src = 'cogs_logo.webp'
83+
lightsrc = 'cogs_logo.webp'
84+
darksrc = 'cogs_logo_dark.webp'
8385
alt = 'COGS logo'
8486
{{< /image >}}
8587
'''

0 commit comments

Comments
 (0)