Skip to content

Commit a5ec97b

Browse files
authored
Merge pull request #25 from ontoportal/portal-badges-coming-soon
Add retired/coming badges and placeholders for upcoming portals
2 parents cc32556 + 83a5359 commit a5ec97b

2 files changed

Lines changed: 53 additions & 1 deletion

File tree

_config.yml

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ alliance_members:
3939
description: "A repository for French biomedical terminologies and ontologies"
4040
logo: '/images/alliance_member_logos/sifr_bioportal.png'
4141
color: '#74a9cb'
42+
retired: true
4243
- name: 'AgroPortal'
4344
link: https://agroportal.lirmm.fr/
4445
description: "A vocabulary and ontology repository for agronomy and related domains"
@@ -64,6 +65,7 @@ alliance_members:
6465
description: "A common ontology portal for industry and related domains"
6566
logo: '/images/alliance_member_logos/industryportal.png'
6667
color: '#1c0f5d'
68+
retired: true
6769
- name: 'EarthPortal'
6870
link: https://earthportal.eu/
6971
description: "A semantic artefact repository dedicated to Earth sciences"
@@ -84,7 +86,19 @@ alliance_members:
8486
description: "A vocabulary and ontology repository for astronomy and related domains"
8587
logo: '/images/alliance_member_logos/ontoportal-astro.png'
8688
color: '#624ECF'
87-
89+
- name: 'LovPortal'
90+
description: "A gateway to reusable semantic vocabularies on the Web"
91+
coming: true
92+
- name: 'HSPortal'
93+
description: "The home of ontologies and semantic artefacts in Heritage Science."
94+
coming: true
95+
- name: 'CHPortal'
96+
description: "ECHOES repository of Cultural Heritage ontologies"
97+
coming: true
98+
- name: 'SocioPortal'
99+
description: "CESSDA repository of social sciences ontologies and semantic artefacts"
100+
coming: true
101+
88102
sponsors:
89103
- acronym: 'D2KAB'
90104
logo: https://agroportal.lirmm.fr/assets/logos/collaboration/d2kab_logo-5155645cfcfe00890f3cad2307ca7975a1ff43b841755002830c99aba060a9e5.png

index.html

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -273,11 +273,49 @@ <h2>What Users Say</h2>
273273
<h2>Be part of a <strong>community</strong></h2>
274274
</div>
275275

276+
<style>
277+
.portal-badge {
278+
display: inline-block;
279+
font-size: 0.68em;
280+
font-weight: 600;
281+
letter-spacing: 0.04em;
282+
text-transform: uppercase;
283+
padding: 2px 7px;
284+
border-radius: 4px;
285+
vertical-align: middle;
286+
margin-left: 5px;
287+
}
288+
.portal-badge-retired { background: #f3dede; color: #a33; }
289+
.portal-badge-coming { background: #ddeeff; color: #1a6aaa; }
290+
.portal-coming-box {
291+
height: 100px;
292+
background-color: #d8d8d8;
293+
display: flex;
294+
align-items: center;
295+
justify-content: center;
296+
width: 200px;
297+
border-radius: 200px;
298+
margin: 25px auto 0px;
299+
}
300+
.portal-coming-box span {
301+
color: #888;
302+
font-size: 0.85em;
303+
font-style: italic;
304+
}
305+
</style>
276306
<ul class="staff">
277307
{% for portal in site.alliance_members %}
278308
<li>
309+
{% if portal.coming %}
310+
<div class="portal-coming-box"><span>coming soon</span></div>
311+
<div class="name">{{ portal.name }} <span class="portal-badge portal-badge-coming">coming</span></div>
312+
{% elsif portal.retired %}
313+
<div style="height: 100px;background-color:{{portal.color}}" class="square-image"><img src="{% include relative-src.html src=portal.logo %}" alt="{{ portal.name }}" style="object-fit: contain;width: 200px; height: 100px; opacity: 0.7;"/></div>
314+
<div class="name"><a target="_blank" href="{{ portal.link }}" style="color: black">{{ portal.name }}</a> <span class="portal-badge portal-badge-retired">retired</span></div>
315+
{% else %}
279316
<div style="height: 100px;background-color:{{portal.color}}" class="square-image"><img src="{% include relative-src.html src=portal.logo %}" alt="{{ portal.name }}" style="object-fit: contain;width: 200px; height: 100px"/></div>
280317
<div class="name"><a target="_blank" href="{{ portal.link }}" style="color: black">{{ portal.name }}</a></div>
318+
{% endif %}
281319
<div class="position">{{ portal.description }}</div>
282320
</li>
283321
{% endfor %}

0 commit comments

Comments
 (0)