change the people page

This commit is contained in:
sasha-astiadi 2023-12-05 21:46:10 +01:00
parent 0adb9c3d75
commit 6b8bed7cde
7 changed files with 33 additions and 43 deletions

View File

@ -8,7 +8,10 @@ taxonomies:
tags: [update, news, community] tags: [update, news, community]
news-category: [foundation] news-category: [foundation]
extra: extra:
imgPath: zuzalu.png imgPath: "zuzalu.png"
socialLinks: {
websites: "https//www.bbc.com/news/explainers-52442754",
}
--- ---
Some of the team has arrived to Zuzalu in Montenegro for this weekend's New Cities & Network States event. Kristof will be speaking on Sunday and we'll also be hosting several side events including a hackathon around the Web3 Gateway. Some of the team has arrived to Zuzalu in Montenegro for this weekend's New Cities & Network States event. Kristof will be speaking on Sunday and we'll also be hosting several side events including a hackathon around the Web3 Gateway.

View File

@ -4,18 +4,16 @@ weight: 4
description: Ahmed is an Automation Software Testing Engineer, started his career at Codescalers. description: Ahmed is an Automation Software Testing Engineer, started his career at Codescalers.
taxonomies: taxonomies:
people: [ahmed_hanafy] people: [ahmed_hanafy]
memberships: [tech] memberships: []
categories: [foundation] categories: []
extra: extra:
imgPath: ahmed_hanafy.png imgPath: ahmed_hanafy.png
organizations: [threefold_tech] organizations: []
countries: [Egypt] countries: []
cities: [Cairo] cities: []
private: 0 private: 0
socialLinks: { socialLinks: {
LinkedIn: https://www.linkedin.com/in/ahmed-hanafy-7250/, contact: https://www.linkedin.com/in/ahmed-hanafy-7250/,
github: https://github.com/AhmedHanafy725,
websites: https://threefold.tech,
} }
--- ---

View File

@ -1,22 +1,18 @@
--- ---
title: Ahmed Saleh Harby title: Ahmed Saleh Harby
weight: 4 weight: 2
description: Ahmed is a passionate software test engineer with experience in software testing and automation .... description: Ahmed is a passionate software test engineer with experience in software testing and automation ....
taxonomies: taxonomies:
people: [ahmed_harby] people: [ahmed_harby]
memberships: [tech] memberships: []
categories: [foundation] categories: []
extra: extra:
imgPath: ahmed_harby.jpg imgPath: ahmed_harby.jpg
organizations: [threefold_tech] organizations: []
countries: [Egypt] countries: []
cities: [Cairo] cities: []
private: 0 private: 0
socialLinks: { socialLinks: {
LinkedIn: https://www.linkedin.com/in/ahmed-saleh-harby/, contact: https://www.linkedin.com/in/ahmed-saleh-harby/,
github: https://github.com/A-Harby,
websites: https://threefold.tech,
} }
--- ---
Ahmed is a passionate software test engineer with experience in software testing and automation using Selenium, Cypress, and other technologies. And always curious to learn more.

View File

@ -2,15 +2,18 @@
title: Dr. Denis Mukwege title: Dr. Denis Mukwege
weight: 1 weight: 1
description: A world-renowned gynaecologist, human rights activist and Nobel Peace Prize laureate from east Congo. description: A world-renowned gynaecologist, human rights activist and Nobel Peace Prize laureate from east Congo.
taxonomies:
people: [denis_mukwege]
memberships: []
categories: []
extra: extra:
imgPath: denis_mukwege.jpg imgPath: denis_mukwege.jpg
organizations: [Panzi Foundation] organizations: []
countries: [DR of Congo] countries: []
cities: [Dubai, Ibiza] cities: []
private: 0 private: 0
socialLinks: { socialLinks: {
LinkedIn: https://www.linkedin.com/in/adnansf/, contact: https://www.mukwegefoundation.org
websites: https://denismukwege2023.com/index.php, https://www.mukwegefoundation.org
} }
--- ---

View File

@ -1,5 +1,4 @@
<div class="flex flex-col px-0 sm:px-4 pb-2"> <div class="flex flex-col px-0 sm:px-4 pb-2">
<div style="pointer-events: none;">
<a href="{{page.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left"> <a href="{{page.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left">
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %} {% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
<img src="{{url}}" alt="{{page.title ~ ' Picture'}}" /> <img src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
@ -23,6 +22,5 @@
</div> </div>
</div> </div>
</a> </a>
</div>
</div> </div>

View File

@ -1,11 +1,10 @@
<div class="flex flex-col px-0 sm:px-4 pb-2"> <div class="flex flex-col px-0 sm:px-4 pb-2">
<div style="pointer-events: none;"> <a href="{{page.permalink}}" style="pointer-events: none" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left ">
<a href="{{page.permalink}}" class="border-0 text-gray-700 hover:!text-gray-700 font-normal text-left">
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %} {% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %}
<img src="{{url}}" alt="{{page.title ~ ' Picture'}}" /> <img src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
<div> <div>
<h2 class="text-2xl">{{page.title}}</h2> <h2 class="text-2xl">{{page.title}}</h2>
<div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis"> <div class="text-md text-gray-700 text-left line-clamp-3 text-ellipsis" style="pointer-events: none;">
{% if page.description %} {% if page.description %}
{{page.description}} {{page.description}}
{% else %} {% else %}
@ -13,16 +12,12 @@
{% endif %} {% endif %}
</div> </div>
<div class="my-2 flex flex-row items-start flex-wrap"> <div class="my-2 flex flex-row items-start flex-wrap">
{% if page.taxonomies.memberships %} {% if page.extra.socialLinks.contact %}
{% for tag in page.taxonomies.memberships %} <a href="{{ page.extra.socialLinks.contact }}" class="border-1 text-s font-bold border-gray-600 hover:text-blue-700 py-1 px-2 mr-2 my-1 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full" target="_blank">
<a href="{{'/memberships/' ~ tag | replace(from='_', to='-' )}}" class="border-1 text-xs font-light bg-transparent hover:text-blue-700 py-1 px-2 mr-2 my-1 border hover:border-blue-500 border-gray-600 text-gray-700 rounded-full "> <u>More Info</u>
{{tag}} </a>
</a> {% endif %}
{% endfor %}
{% endif %}
</div> </div>
</div> </div>
</a> </a>
</div> </div>
</div>

View File

@ -11,9 +11,6 @@
<h1 class="pb-0 mb-0 mt-0 text-4xl font-normal tracking-wide my-1"> <h1 class="pb-0 mb-0 mt-0 text-4xl font-normal tracking-wide my-1">
{{page.title}} {{page.title}}
</h1> </h1>
<div class="ml-4">
{% include "partials/socialLinks.html" %}
</div>
</div> </div>
<div class="text-gray-700 my-4"> <div class="text-gray-700 my-4">
{{page.content | safe }} {{page.content | safe }}