Skip to content
Snippets Groups Projects
Unverified Commit a2a2d56c authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge branch 'main' into refacto/contact-details

parents 4c7752d0 362d11ca
No related branches found
No related tags found
No related merge requests found
.block-organization_chart .block-organization_chart
@include media-breakpoint-up(desktop)
@include in-page-without-sidebar
.top .description
max-width: col(8)
@include in-page-with-sidebar @include in-page-with-sidebar
.persons .persons
@include grid(1, sm) @include grid(1, sm)
......
.block-partners .block-partners
@include media-breakpoint-up(desktop)
@include in-page-without-sidebar
.top .description
max-width: col(8)
@include in-page-with-sidebar @include in-page-with-sidebar
.organizations .organizations
@include grid(4, xl) @include grid(4, xl)
......
...@@ -107,8 +107,6 @@ ...@@ -107,8 +107,6 @@
.media .media
margin-bottom: $spacing0 margin-bottom: $spacing0
background: none background: none
&, img
aspect-ratio: 1
.list .list
margin-top: half($spacing3) margin-top: half($spacing3)
border-top: 1px solid $color-border border-top: 1px solid $color-border
......
...@@ -8,9 +8,11 @@ ...@@ -8,9 +8,11 @@
text-decoration: none text-decoration: none
.media .media
background: $color-background-alt background: $color-background-alt
aspect-ratio: 1/1
padding: $spacing1 padding: $spacing1
margin-bottom: half($spacing0) margin-bottom: half($spacing0)
picture
aspect-ratio: 1/1
display: block
img img
width: 100% width: 100%
height: 100% height: 100%
......
...@@ -170,6 +170,8 @@ ol.persons--list ...@@ -170,6 +170,8 @@ ol.persons--list
.roles .roles
a a
@include small @include small
.blocks
margin-top: $spacing3
.person-programs .person-programs
margin-top: $spacing4 margin-top: $spacing4
@include media-breakpoint-down(lg) @include media-breakpoint-down(lg)
......
...@@ -9,12 +9,14 @@ ...@@ -9,12 +9,14 @@
{{ partial "organizations/hero.html" . }} {{ partial "organizations/hero.html" . }}
<div class="document-content"> <div class="document-content">
{{ partial "pages/summary.html" (dict
"context" .
"with_container" true
) }}
{{ partial "blocks/list.html" . }} {{ partial "blocks/list.html" . }}
<div class="container"> <div class="container">
{{ partial "pages/summary.html" (dict
"context" .
) }}
{{- if not $is_partners_block_present -}} {{- if not $is_partners_block_present -}}
{{ partial "organizations/organizations.html" . }} {{ partial "organizations/organizations.html" . }}
{{ partial "commons/pagination.html" . }} {{ partial "commons/pagination.html" . }}
......
{{ if os.FileExists "static/assets/images/default.png" }} {{- if os.FileExists "static/assets/images/default.png" -}}
{{ $file := "/assets/images/default.png" }} {{ $file := "/assets/images/default.png" }}
{{ $fileDimensions := partial "GetImageDimensions" (dict "context" . "file" $file "static" true) }} {{ $fileDimensions := partial "GetImageDimensions" (dict "context" . "file" $file "static" true) }}
{{- $lazy := default true .lazy -}} {{- $lazy := default true .lazy -}}
...@@ -14,4 +14,4 @@ ...@@ -14,4 +14,4 @@
{{- if .class }} class="{{ .class }}"{{- end -}} {{- if .class }} class="{{ .class }}"{{- end -}}
{{- if $lazy }} loading="lazy"{{- end -}} {{- if $lazy }} loading="lazy"{{- end -}}
> >
{{ end }} {{- end -}}
{{ with .Params.contact_details }} {{ with .Params }}
{{ if or .website .linkedin .twitter .email .address .city .zipcode .country .phone }} {{ if or .website .linkedin .twitter .email .address .city .zipcode .country .phone }}
<div class="contacts-details"> <div class="contacts-details">
{{ if or .website .linkedin .twitter .email }} {{ if or .website .linkedin .twitter .email }}
......
{{ with .Params.contact_details }} {{ with .Params }}
{{ if or .website .linkedin .twitter .email .phone }} {{ if or .website .linkedin .twitter .email .phone }}
<div class="contacts-details contacts-details--person"> <div class="contacts-details contacts-details--person">
{{ if or .website .linkedin .twitter .email .phone }} {{ if or .website .linkedin .twitter .email .phone }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment