Skip to content

Commit e56fe08

Browse files
Ambassadors page (#1614)
1 parent 72799ee commit e56fe08

File tree

3 files changed

+86
-0
lines changed

3 files changed

+86
-0
lines changed

_data/ambassadors.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
- name: Template Ambassador
2+
description: Knows everything
3+
image: /resources/img/frontpage/scala-spiral.png
4+
city: Lausanne, Switzerland
5+
email: scala.center@epfl.ch
6+
twitter: scala_lang
7+
mastodon: https://fosstodon.org/@scala_lang

ambassadors/index.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
---
2+
layout: inner-page-no-masthead
3+
title: Scala Ambassadors
4+
permalink: /ambassadors/
5+
includeTOC: false
6+
---
7+
<style>
8+
.ambassadors {
9+
display: flex;
10+
flex-wrap: wrap;
11+
justify-content: center;
12+
}
13+
.ambassador-item {
14+
display: flex;
15+
flex-direction: column;
16+
align-items: center;
17+
text-align: center;
18+
margin: 10px;
19+
width: 300px;
20+
}
21+
.ambassador-image {
22+
border-radius: 50%;
23+
}
24+
</style>
25+
26+
<main>
27+
<div class="heading-box">
28+
<h2>Scala Ambassadors</h2>
29+
</div>
30+
<div>
31+
<p>Scala Ambassadors are independent community members who are known and have been recognized for their contributions to the community. They are active and welcoming individuals, happy to help newcomers, organize events, teach, speak at conferences, create content, and otherwise contribute to the Scala community.</p>
32+
<br/>
33+
<h3 style="text-align: center;">What does it mean for me?</h3>
34+
<p>Scala Ambassadors are here to help you. They are happy to answer your questions, help you get started with Scala, or point you in the right direction. You can ask an Ambassador, for example, about:
35+
<ul style="list-style-type: disc; padding: 10px;">
36+
<li>How to get started with Scala.</li>
37+
<li>How to start speaking at a Scala event.</li>
38+
<li>How to organize a Scala event.</li>
39+
<li>General technical questions about Scala.</li>
40+
</ul>
41+
42+
You can recognize an Ambassador by them having the following sticker:
43+
</p>
44+
<div>
45+
<img src="/resources/img/scala-ambassador-sticker-sample.png" alt="Scala Ambassador sticker" style="display: block; margin-left: auto; margin-right: auto; border-radius: 50%; height: 200px; object-fit: contain;">
46+
</div>
47+
<br/>
48+
<h3 style="text-align: center;">Ambassadors</h3>
49+
<div class="ambassadors">
50+
{% for ambassador in site.data.ambassadors %}
51+
<div class="ambassador-item">
52+
<img src="{{ambassador.image}}" alt="{{ambassador.name}}" class="ambassador-image" style="width: 100px; height: 100px; display: inline;">
53+
<p class="ambassador-name"><b>{{ambassador.name}}</b></p>
54+
<p class="ambassador-city">
55+
<i class="fa-solid fa-location-dot"></i> {{ambassador.city}}
56+
</p>
57+
<p class="ambassador-contact">
58+
{% if ambassador.email %}
59+
<a href="mailto:{{ambassador.email}}">
60+
<i class="fa-regular fa-envelope"></i>
61+
</a>
62+
{% endif %}
63+
{% if ambassador.twitter %}
64+
<a href="https://twitter.com/{{ambassador.twitter}}" target="_blank">
65+
<i class="fa-brands fa-twitter"></i>
66+
</a>
67+
{% endif %}
68+
{% if ambassador.mastodon %}
69+
<a href="{{ambassador.mastodon}}" target="_blank">
70+
<i class="fa-brands fa-mastodon"></i>
71+
</a>
72+
{% endif %}
73+
</p>
74+
<p class="ambassador-description">{{ambassador.description}}</p>
75+
</div>
76+
{% endfor %}
77+
</div>
78+
</div>
79+
</main>
Loading

0 commit comments

Comments
 (0)