mirror of
https://github.com/inventree/inventree-website.git
synced 2025-04-28 05:26:44 +00:00
Merge pull request #105 from matmair/matmair/issue55
Add avatars to team section
This commit is contained in:
commit
73323d9ef1
@ -1,17 +1,26 @@
|
|||||||
<section class="cm-gray-2 body-font">
|
<section class="cm-gray-2 body-font">
|
||||||
<div class="section-container">
|
<div class="section-container">
|
||||||
|
<a href="/about/team" alt="Learn more about the team">
|
||||||
<div class="flex flex-col text-center w-full mb-20">
|
<div class="flex flex-col text-center w-full mb-20">
|
||||||
<h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">OUR TEAM</h1>
|
<h1 class="text-2xl font-medium title-font mb-4 cm-gray-1 tracking-widest">OUR TEAM</h1>
|
||||||
<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>
|
<p class="lg:w-2/3 mx-auto leading-relaxed text-base">{{ include.data.text }}</p>
|
||||||
</div>
|
</div>
|
||||||
|
</a>
|
||||||
<div class="flex flex-wrap -m-4">
|
<div class="flex flex-wrap -m-4">
|
||||||
|
|
||||||
{% for item in include.data.team %}
|
{% for item in include.data.team %}
|
||||||
<div class="p-4 lg:w-1/2">
|
<div class="p-4 lg:w-1/2">
|
||||||
<div class="h-full flex sm:flex-row flex-col sm:justify-start justify-center text-center sm:text-left">
|
<div class="h-full flex sm:flex-row flex-col sm:justify-start justify-center text-center sm:text-left">
|
||||||
<div class="flex-grow sm:pl-8">
|
<div class="flex-grow sm:pl-8">
|
||||||
<h2 class="title-font font-medium text-lg cm-gray-1">{{ item.tag }}</h2>
|
<div class="flex items-end">
|
||||||
<h3 class="cm-gray-3 mb-3">{{ item.name }}</h3>
|
<div class="mb-5">
|
||||||
|
<img src="https://github.com/{{ item.tag }}.png?size=40" alt="mdo" class="rounded-full" width="40" height="40" style="margin:0px">
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<h2 class="title-font font-medium text-lg cm-gray-1">{{ item.tag }}</h2>
|
||||||
|
<h3 class="cm-gray-3 mb-3">{{ item.name }}</h3>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<p class="mb-4">{{ item.text }}</p>
|
<p class="mb-4">{{ item.text }}</p>
|
||||||
<span class="inline-flex">
|
<span class="inline-flex">
|
||||||
{% for link in item.links %}
|
{% for link in item.links %}
|
||||||
|
@ -24,7 +24,7 @@ notitle: true
|
|||||||
|
|
||||||
{% assign filtered_team = site.data.team.team | where: 'tag', page.short_name %}
|
{% assign filtered_team = site.data.team.team | where: 'tag', page.short_name %}
|
||||||
{% if filtered_team and filtered_team.size != 0 %}
|
{% if filtered_team and filtered_team.size != 0 %}
|
||||||
<a href="{% link about/team.html %}"><span class="badge bg-lime-600"><span class="fa-solid fa-shield"></span>Team Member</span></a>
|
<a href="/about/team"><span class="badge bg-lime-600"><span class="fa-solid fa-shield"></span>Team Member</span></a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user