Commit addbfd69 authored by Philippe Krief's avatar Philippe Krief
Browse files

Define the poster layout


Signed-off-by: Philippe Krief's avatarPhilippe Krief <philippe.krief@eclipse-foundation.org>
parent 770194e8
......@@ -147,7 +147,7 @@ The Technical Program Committee is an independent panel of expert volunteers and
[//]: # (Posters)
{{< grid/section-container id="posters" class="featured-section-row text-center featured-section-row-dark-bg" >}}
{{< events/user_display event="saam-mobility" year="2021" title="Posters" source="posters" imageRoot="/2021/saam-mobility/images/posters/" subpage="posters" displayLearnMore="true" />}}
{{< research/poster_display event="saam-mobility" year="2021" title="Posters" source="posters" imageRoot="/2021/saam-mobility/images/posters/" subpage="posters" displayLearnMore="true" />}}
{{</ grid/section-container >}}
[//]: # (Organizing Committee)
......
items:
- name: "BRAIN-IoT"
url: http://www.brain-iot.eu/?smd_process_download=1&download_id=938
title: "Tagline or keywords"
img: brain-iot.png
bio: |
text: |
<p>Short description of the project with a link: <a href="http://brain-iot.eu">brain-iot.eu</a></p>
- name: "SmartCLIDE"
url: https://smartclide.eu/wp-content/uploads/2021/03/poster_smartclide_color.pdf
title: "Tagline or keywords"
img: smartclide.png
bio: |
text: |
<p>Short description of the project with a link: <a href="http://smartclide.eu">smartclide.eu</a></p>
- name: "BRAIN-IoT-2"
url: http://www.brain-iot.eu/?smd_process_download=1&download_id=938
title: "Tagline or keywords"
img: brain-iot.png
bio: |
text: |
<p>Short description of the project</p>
- name: "SmartCLIDE-2"
url: https://smartclide.eu/wp-content/uploads/2021/03/poster_smartclide_color.pdf
title: "Tagline or keywords"
img: smartclide.png
bio: |
text: |
<p>Short description of the project</p>
- name: "BRAIN-IoT-3"
url: http://www.brain-iot.eu/?smd_process_download=1&download_id=938
title: "Tagline or keywords"
img: brain-iot.png
bio: |
text: |
<p>Short description of the project</p>
- name: "SmartCLIDE-3"
url: https://smartclide.eu/wp-content/uploads/2021/03/poster_smartclide_color.pdf
title: "Tagline or keywords"
img: smartclide.png
bio: |
text: |
<p>Short description of the project</p>
\ No newline at end of file
<!--
Copyright (c) 2020 Eclipse Foundation, Inc.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0 which is available at
http://www.eclipse.org/legal/epl-2.0.
Contributors:
Martin Lowe <martin.lowe@eclipse-foundation.org>
SPDX-License-Identifier: EPL-2.0
-->
{{ $lang := .Page.Lang}}
{{ $year := .Get "year" }}
{{ if $year }}
{{ .Scratch.Set "base" (index (index .Site.Data $lang) $year) }}
{{ else }}
{{ .Scratch.Set "base" (index .Site.Data $lang) }}
{{ end }}
{{ $base := .Scratch.Get "base" }}
{{ $event := .Get "event" | default "default" }}
{{ $source := .Get "source" | default "user" }}
{{ $imageRoot := .Get "imgRoot" | default "/images/committee/" }}
<div class="eclipsefdn-user-bios">
<!-- Committee member -->
{{ range (index (index $base $event) $source).items }}
{{ $anchor := urlize .anchor }}
{{ if not $anchor }}
{{ $anchor = urlize .name }}
{{ end }}
<div class="row margin-top-30 margin-bottom-30" id="{{ $anchor }}">
<div class="eclipsefdn-user-bios-picture col-xs-24 col-sm-6">
{{ if .img }}
{{ if .url }}
<a href="{{ .url }}">
{{ end }}
<img class="img-responsive" src="{{ $imageRoot }}{{ .img }}"
title="{{ .name }}" />
{{ if .url }}
</a>
{{ end }}
{{ else }}
<div class="icon-backdrop">
<div class="ratio"></div>
<div class="icon-container"><i class="fa fa-user"></i></div>
</div>
{{ end }}
</div>
<div class="eclipsefdn-user-bios-info col-xs-24 col-sm-18">
<h3>{{ .name }}</h3>
{{ .text | safeHTML }}
{{- if .twitter_handle }}
<p>
<a class="twitter-follow-button btn btn-info btn-sm"
href="https://twitter.com/{{ .twitter_handle }}" target="_blank">
<i class="fa fa-twitter"></i>&nbsp;{{ i18n "committee-twitter-follow-text" . }}
</a>
</p>
{{ end -}}
</div>
</div>
{{ end }}
</div>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment