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
@include media-breakpoint-up(desktop)
@include in-page-without-sidebar
.top .description
max-width: col(8)
@include in-page-with-sidebar
.persons
@include grid(1, sm)
......
.block-partners
@include media-breakpoint-up(desktop)
@include in-page-without-sidebar
.top .description
max-width: col(8)
@include in-page-with-sidebar
.organizations
@include grid(4, xl)
......
......@@ -107,8 +107,6 @@
.media
margin-bottom: $spacing0
background: none
&, img
aspect-ratio: 1
.list
margin-top: half($spacing3)
border-top: 1px solid $color-border
......
......@@ -8,9 +8,11 @@
text-decoration: none
.media
background: $color-background-alt
aspect-ratio: 1/1
padding: $spacing1
margin-bottom: half($spacing0)
picture
aspect-ratio: 1/1
display: block
img
width: 100%
height: 100%
......
......@@ -170,6 +170,8 @@ ol.persons--list
.roles
a
@include small
.blocks
margin-top: $spacing3
.person-programs
margin-top: $spacing4
@include media-breakpoint-down(lg)
......
......@@ -9,12 +9,14 @@
{{ partial "organizations/hero.html" . }}
<div class="document-content">
{{ partial "pages/summary.html" (dict
"context" .
"with_container" true
) }}
{{ partial "blocks/list.html" . }}
<div class="container">
{{ partial "pages/summary.html" (dict
"context" .
) }}
{{- if not $is_partners_block_present -}}
{{ partial "organizations/organizations.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" }}
{{ $fileDimensions := partial "GetImageDimensions" (dict "context" . "file" $file "static" true) }}
{{- $lazy := default true .lazy -}}
......@@ -14,4 +14,4 @@
{{- if .class }} class="{{ .class }}"{{- 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 }}
<div class="contacts-details">
{{ if or .website .linkedin .twitter .email }}
......
{{ with .Params.contact_details }}
{{ with .Params }}
{{ if or .website .linkedin .twitter .email .phone }}
<div class="contacts-details contacts-details--person">
{{ 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