update people

This commit is contained in:
2024-09-26 11:12:28 +03:00
parent 46fd141289
commit b5a651b071
7 changed files with 10 additions and 10 deletions

View File

@@ -1,6 +1,6 @@
--- ---
title: Abdulrahman Elawady title: Abdulrahman Elawady
weight: 2 weight: 9
description: Development Team description: Development Team
taxonomies: taxonomies:
people: [abdulrahman_elawady] people: [abdulrahman_elawady]

View File

@@ -7,7 +7,7 @@ taxonomies:
memberships: [team] memberships: [team]
categories: [foundation] categories: [foundation]
extra: extra:
imgPath: zainab_elgohary.jpeg imgPath: zainab_elgohary.png
organizations: [threefold_tech] organizations: [threefold_tech]
countries: [Egypt] countries: [Egypt]
cities: [Cairo] cities: [Cairo]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 KiB

View File

@@ -13,10 +13,10 @@ and a side nav for category and featured post navigation
<!--sets global featured variable as the most recent post with the isFeatured tag--> <!--sets global featured variable as the most recent post with the isFeatured tag-->
{%- set section = get_section(path="people/_index.md") %} {%- set section = get_section(path="people/_index.md") %}
<div class="container mx-auto"> <div class="container mx-auto">
{% include "partials/filter_bar.html" %} {# {% include "partials/filter_bar.html" %} #}
<div class="text-center main-title px-0 md:w-full"> <div class="text-center main-title px-0 md:w-full">
<h1 <h1
class="tracking-tight text-5xl text-left text-2xl sm:text-3xl md:text-4xl lg:text-5xl fw-500 leading-snug font-normal mb-10" class="tracking-tight text-5xl text-left sm:text-3xl md:text-4xl lg:text-5xl fw-500 leading-snug font-normal mb-10"
> >
{% set path_array = current_path | split(pat="/") %} {% set path_array = current_path | split(pat="/") %}
{% set taxonomy = path_array[1] %} {% set taxonomy = path_array[1] %}

View File

@@ -1,6 +1,6 @@
{% if page.title != 'ThreeFold Community' %} {% if page.title != 'ThreeFold Community' %}
<div class="flex flex-col px-0 sm:px-4 pb-2"> <div class="flex flex-col px-0 sm:px-4 pb-2">
<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 class="aspect-[14/13] w-full rounded-2xl object-cover" src="{{url}}" alt="{{page.title ~ ' Picture'}}" /> <img class="aspect-[14/13] w-full rounded-2xl object-cover" src="{{url}}" alt="{{page.title ~ ' Picture'}}" />
<div class="text-center"> <div class="text-center">
@@ -22,7 +22,7 @@
{% endif %} {% endif %}
</div> #} </div> #}
</div> </div>
</a> {# </a> #}
</div> </div>
{%endif%} {%endif%}

View File

@@ -3,7 +3,7 @@
{%- set section = get_section(path="people/_index.md") %} {%- set section = get_section(path="people/_index.md") %}
{% include "partials/intro.html" %} {% include "partials/intro.html" %}
<div class="mx-auto max-w-screen-lg px-6 lg:px-8"> <div class="mx-auto max-w-screen-lg px-6 lg:px-8">
{% include "partials/filter_bar.html" %} {# {% include "partials/filter_bar.html" %} #}
<div class="text-center main-title px-0 md:w-full"> <div class="text-center main-title px-0 md:w-full">
{# <h1 class="tracking-tight text-left text-2xl sm:text-3xl md:text-4xl lg:text-5xl fw-500 leading-snug font-normal mb-10"> {# <h1 class="tracking-tight text-left text-2xl sm:text-3xl md:text-4xl lg:text-5xl fw-500 leading-snug font-normal mb-10">
{% set path_array = current_path | split(pat="/") %} {% set path_array = current_path | split(pat="/") %}
@@ -12,7 +12,7 @@
{{category | replace(from='-', to=' ' ) | title}} {{category | replace(from='-', to=' ' ) | title}}
</h1> #} </h1> #}
<div> <div>
<div class="text-center mx-auto mt-4 grid max-w-2xl grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 lg:mx-0 lg:max-w-none lg:grid-cols-3 xl:grid-cols-4"> <div class="text-center mx-auto mt-6 grid max-w-2xl grid-cols-1 gap-x-4 gap-y-8 sm:grid-cols-2 lg:mx-0 lg:max-w-none lg:grid-cols-3 xl:grid-cols-4">
{% for person in section.pages %} {% for person in section.pages %}
{% set page_path = person.path ~ 'index.md' | replace(from='-', to='_') | trim_start_matches(pat="/") %} {% set page_path = person.path ~ 'index.md' | replace(from='-', to='_') | trim_start_matches(pat="/") %}
{% set people = get_section(path="people/_index.md") %} {% set people = get_section(path="people/_index.md") %}
@@ -27,7 +27,7 @@
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div> </div>
<hr class="mt-6"> {# <hr class="mt-6">
<p class="text-center text-sm mt-2 mb-16"> <p class="text-center text-sm mt-2 mb-16">
{% if paginator.previous %} {% if paginator.previous %}
<a class="border-transparent" aria-label="First page" href="{{ paginator.first }}"> <a class="border-transparent" aria-label="First page" href="{{ paginator.first }}">
@@ -63,7 +63,7 @@
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {% include &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; {% include
"partials/icons/svgLastPageIcon.html" %}{% include "partials/icons/svgLastPageIcon.html" %}{% include
"partials/icons/svgLastPageIcon.html" %} {% endif %} "partials/icons/svgLastPageIcon.html" %} {% endif %}
</p> </p> #}
</div> </div>
</div> </div>
</div> </div>