Skip to content

Commit

Permalink
feat: update contributors
Browse files Browse the repository at this point in the history
Signed-off-by: Bulat Safiullin <bulat.safiullin@akvelon.com>
  • Loading branch information
bullet03 authored and poiana committed Apr 3, 2023
1 parent ac30fe1 commit 9970af7
Show file tree
Hide file tree
Showing 10 changed files with 387 additions and 0 deletions.
30 changes: 30 additions & 0 deletions ADD_CONTRIBUTOR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# How to add new contributor
Please follow these steps to add new contributor to [contributors page](https://falco.org//community/contributors/#the-latest-contributors):
1. Fork [Falco](https://github.com/falcosecurity/falco-website) repository
2. Add new contributor image to
the [static/img/community/contributors](https://github.com/falcosecurity/falco-website/blob/master/static/img/community/contributors)
folder. Use svg, preferably rounded images
3. Add new contributor information to [contributors data file](https://github.com/falcosecurity/falco-website/blob/master/data/contributors.yaml) at the beginning of the file before the first element using template below
```
- date: January and February, 2022
names:
- Alban Créquy
links:
- https://github.com/alban
images:
- /img/community/contributors/melissa_kilby.svg
```
4. If you need to add more than one contributor use template below
```
- date: February, 2023
names:
- Melissa Kilby
- David Windsor
links:
- https://github.com/incertum
- https://github.com/dwindsor
images:
- /img/community/contributors/melissa_kilby.svg
- /img/community/contributors/contributor_m.svg
```
5. Create pull request to the Falco repository with your changes
14 changes: 14 additions & 0 deletions ADD_NOMINATION.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# How to add nomination of the month
Please follow these steps to add nomination to [contributors page](https://falco.org/community/contributors/#nominate-the-next-contributor-of-the-month):
1. Fork [Falco](https://github.com/falcosecurity/falco-website) repository
2. Add new information to [nominations file](https://github.com/falcosecurity/falco-website/blob/master/data/nominations.yaml) at the bottom of the file after the last element using template below
```
- month: May
link: https://github.com/falcosecurity/community/issues/166
open: May 15, 2023
close: May 24, 2023
period: May 25, 2023 — May 27, 2023
announcement: May 28, 2023
```
3. Note: only 3 last month nominations will be shown. Others will be hidden automatically
4. Create pull request to the Falco repository with your changes
29 changes: 29 additions & 0 deletions assets/scss/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,33 @@
@include media-breakpoint-up(xl) {
width: 80%;
}

&--sm {
font-size: 0.75rem;
}

&-rounded {
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.05);
border-collapse: separate;
border-spacing: 0;
border-radius: $table-border-radius;

th:first-child {
border-top-left-radius: $table-border-radius;
}

th:last-child {
border-top-right-radius: $table-border-radius;
}

tr:last-child {
td:first-child {
border-bottom-left-radius: $table-border-radius;
}

td:last-child {
border-bottom-right-radius: $table-border-radius;
}
}
}
}
1 change: 1 addition & 0 deletions assets/scss/_variables_project.scss
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ $table-border-color: $light;
$table-cell-padding: 1rem;
$table-cell-padding-sm: .5rem;
$table-head-bg: $light;
$table-border-radius: 1.25rem;

//
// Pagination
Expand Down
1 change: 1 addition & 0 deletions content/en/community/contributors.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Contributors
layout: contributors
---

{{< blocks/content wrap="col" >}}
Expand Down
92 changes: 92 additions & 0 deletions data/contributors.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
- date: February, 2023
names:
- Melissa Kilby
- David Windsor
links:
- https://github.com/incertum
- https://github.com/dwindsor
images:
- /img/community/contributors/melissa_kilby.svg
- /img/community/contributors/contributor_m.svg
- date: January, 2023
names:
- Logan Bond
links:
- https://github.com/EXONER4TED
- date: January and February, 2022
names:
- Alban Créquy
links:
- https://github.com/alban
- date: November and December, 2021
names:
- Pablo Lopez Zaldivar
links:
- https://github.com/pabloopez
- date: September and October, 2021
names:
- Leo Di Donato
links:
- https://github.com/leodido
- date: August, 2021
names:
- Teryl Taylor
- Frederico Araujo
links:
- https://github.com/terylt
- https://github.com/araujof
- date: July, 2021
names:
- Furkan Türkal
links:
- https://github.com/Dentrax
- date: June, 2021
names:
- Ismail Yenigul
links:
- https://github.com/ismailyenigul
- date: May, 2021
names:
- Batuhan Apaydın
- Yuvraj
links:
- https://github.com/developer-guy
- https://github.com/evalsocket
- date: April, 2021
names:
- Batuhan Apaydın
- Yuvraj
links:
- https://github.com/developer-guy
- https://github.com/evalsocket
- date: March, 2021
names:
- Frank Jogeleit
links:
- https://github.com/fjogeleit
- date: February, 2021
names:
- Scott Nichols
links:
- https://github.com/n3wscott
- date: January, 2021
names:
- Carlos Panato
- KeisukeYamashita
- Rajakavitha Kodhandapani
links:
- https://github.com/cpanato
- https://github.com/KeisukeYamashita
- https://github.com/Rajakavitha1
- date: December, 2020
names:
- Massimiliano Giovagnoli
- Jonah Jones
links:
- https://github.com/maxgio92
- https://github.com/jonahjon
- date: November, 2020
names:
- Thomas Labarussias
links:
- https://github.com/Issif
18 changes: 18 additions & 0 deletions data/nominations.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
- month: January / February
link: none
open: Feb 15, 2023
close: Feb 24, 2023
period: Feb 25, 2023 — Feb 27, 2023
announcement: Feb 28, 2023
- month: March
link: https://github.com/falcosecurity/community/issues/164
open: Mar 13, 2023
close: Mar 20, 2023
period: Mar 21, 2023 — Mar 27, 2023
announcement: Mar 31, 2023
- month: April
link: https://github.com/falcosecurity/community/issues/165
open: Apr 10, 2023
close: Apr 17, 2023
period: Apr 18, 2023 — Apr 24, 2023
announcement: Apr 28, 2023
80 changes: 80 additions & 0 deletions layouts/community/contributors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
{{ define "main" }}

<section class="row td-box td-box--transparent">
<div class="container">
<div class="row">
<div class="col">
<h2 id="contributor-of-the-month">
Contributor of the Month
</h2>
<p>Hundreds of developers around the world contribute to Falco open source projects. Our Hall of Fame honors the best of the best.</p>
<div class="mt-4">
<a href="https://github.com/falcosecurity/.github/blob/master/CONTRIBUTING.md" class="text-center btn btn-primary btn-lg">
Learn how to contribute
</a>
</div>
</div>
</div>
</div>
</section>

<section class="row td-box td-box--transparent">
<div class="container">
<div class="row">
<div class="col">
<h2 id="the-latest-contributors">The latest contributors</h2>
{{ partial "contributors.html" }}
</div>
</div>
</div>
</section>

<section class="row td-box td-box--transparent">
<div class="container">
<div class="row">
<div class="col">
<h3 id="nominate-the-next-contributor-of-the-month">Nominate the next Contributor of the Month</h3>
<p>Head over to the 👉🏼 <a href="https://github.com/falcosecurity/falco-website">Falco community repo</a>. You’ll find an issue by month to offer nominations (open for one week starting the second Tuesday of each month) and then vote</p>
<div class="overflow-auto">
<table class="table table-rounded table--sm w-100">
<thead>
<tr>
<th scope="col">Month</th>
<th scope="col">Nominations open</th>
<th scope="col">Nominations close</th>
<th scope="col">Voting period</th>
<th scope="col">Announcement</th>
</tr>
</thead>
<tbody>
{{ partial "nominations.html" }}
</tbody>
</table>
</div>
</div>
</div>
</div>
</section>

<section class="row td-box td-box--transparent">
<div class="container">
<div class="row">
<div class="col">
<a class="text-decoration-none" href="https://github.com/falcosecurity/community/blob/main/community-appreciation-program.md">
<div class="card shadow td-box--info">
<div class="card-body">
<div class="card-text h-100 w-100 font-weight-normal">
<h3 id="make-contributions-get-rewarded">
Make contributions, get rewarded
</h3>
<p>If you’re supporting the Falco community with contributions, please let us know! Earn digital badges, stickers, t-shirts and other swag awards for making blogs, bug fixes, doc posts, events, new features and more. Visit for more details. Happy contributing!</p>
</div>
</div>
</div>
</a>
</div>
</div>
</div>
</section>

{{ end }}
98 changes: 98 additions & 0 deletions layouts/partials/contributors.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,98 @@
{{ $contributors := site.Data.contributors }}

{{ range $i, $contributor := $contributors }}
{{ if and (ge $i 0) (le $i 1) }}
<div class="card card-sm shadow mt-2">
<div class="card-body">
<div class="card-text h-100 w-100">
{{ if eq $i 0 }}
<div>
<h4 class="text-primary" id="contributor-date">{{ $contributor.date }}</h4>
<div class="d-flex align-items-center flex-column flex-md-row">
{{$links := $contributor.links }}
{{$names := $contributor.names }}
{{$images := $contributor.images }}
{{ range $index, $link := $links }}
<div class="contributor-date mt-3 mt-md-0">
{{ with $contributor.images }}
<img src="{{ index $images $index }}" alt="{{ index $names $index }}">
{{ end }}
<a href="{{ $link }}" class="text-dark font-weight-bold pl-3">{{ index $names $index }}</a>
</div>
{{ end }}
</div>
</div>
{{ else }}
<div class="d-flex flex-column flex-xl-row py-2 px-3">
<div class="contributor-date text-dark">
<span class="pr-5">{{ $contributor.date }}</span>
</div>
<p>
{{$links := $contributor.links }}
{{$names := $contributor.names }}
{{ range $index, $link := $links }}
{{ if ne $index (sub (len $links) 1) }}
<a href="{{ $link }}" class="text-dark font-weight-bold">{{ index $names $index }} </a>
<span class="text-dark font-weight-bold">and </span>
{{ else }}
<a href="{{ $link }}" class="text-dark font-weight-bold">{{ index $names $index }}</a>
{{ end }}
{{ end }}
</p>
</div>
{{ end }}
</div>
</div>
</div>
{{ end }}
{{ end }}

<ul
id="contributors-list"
class="collapse multi-collapse pl-0 ml-0 fa-ul"
aria-labelledby="contributors-list"
>
<li>
{{ range $i, $contributor := $contributors }}
{{ if (ge $i 2) }}
<div class="card card-sm shadow mt-2">
<div class="card-body">
<div class="card-text h-100 w-100">
<div class="d-flex flex-column flex-xl-row py-2 px-3">
<div class="contributor-date text-dark">
<span class="pr-5">{{ $contributor.date }}</span>
</div>
<p>
{{$links := $contributor.links }}
{{$names := $contributor.names }}
{{ range $index, $link := $links }}
{{ if ne $index (sub (len $links) 1) }}
<a href="{{ $link }}" class="text-dark font-weight-bold">{{ index $names $index }} </a>
<span class="text-dark font-weight-bold">and </span>
{{ else }}
<a href="{{ $link }}" class="text-dark font-weight-bold">{{ index $names $index }}</a>
{{ end }}
{{ end }}
</p>
</div>
</div>
</div>
</div>
{{ end }}
{{ end }}
</li>
</ul>

<div class="d-flex justify-content-center mt-4">
<a
data-toggle="collapse"
data-target="#contributors-list"
class="btn btn-link text-primary align-self-start p-0 feature-card__expand-control"
aria-expanded="false"
aria-controls="contributors-list"
role="button"
>
<button class="btn btn-outline-primary collapsed font-weight-normal px-4">Show more</button>
<button class="btn btn-outline-primary expanded font-weight-normal px-4">Show less</button>
</a>
</div>
Loading

0 comments on commit 9970af7

Please sign in to comment.