-
Notifications
You must be signed in to change notification settings - Fork 4
/
authors.html
44 lines (42 loc) · 1.65 KB
/
authors.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
---
layout: default
title: 'Auteurs du Blog Tech de SCIAM'
---
<div class="px-3 py-12 lg:px-28 bg-grayBgSciam">
<nav aria-label="Breadcrumb" class="py-5">
<ol class="list-none flex">
<li class="text-navysciam text-xl font-medium">
<a href="/" class="hover:underline">Accueil</a>
</li>
<li class="text-navysciam mx-2 text-xl font-medium">
<span aria-hidden="true">/</span>
</li>
<li class="text-lightbluesciam text-xl font-medium">
{{ page.url | replace: '/', '' | capitalize }}
</li>
</ol>
</nav>
<div class="bg-gradient-to-r from-navysciamdark via-navysciam to-navysciamlight mx-auto py-14 md:py-14 px-8 md:px-8 text-left mb-10 rounded-lg">
<h1 class="text-white text-4xl font-sans font-bold">Tous les auteurs</h1>
</div>
<div class="space-y-6">
{% assign authors = site.data.authors | sort %}
{% for author_data in authors %}
{% assign author = author_data[1] %}
<div class="flex flex-col md:flex-row mt-6 p-8 border-0.5 bg-white border-lightbluesciam rounded-lg shadow-md">
{% if author.picture %}
<img class="rounded-full w-20 h-20 mr-4" src="{{ '/images/authors/' | append: author.picture | relative_url }}"
alt="{{ author.name }}">
{% endif %}
<div>
<h2 class="text-navysciam font-sans font-bold text-lg">
<a href="{{ '/author/' | append: author_data[0] | append: '/index.html' | relative_url }}">{{ author.name
}}</a>
</h2>
<p class="font-semibold">{{ author.job }}</p>
<p>{{ author.bio }}</p>
</div>
</div>
{% endfor %}
</div>
</div>