Skip to content

Commit

Permalink
Update wor, improve member layout in team page
Browse files Browse the repository at this point in the history
  • Loading branch information
VaiTon committed Jan 23, 2024
1 parent b5052cb commit 30d0c1d
Show file tree
Hide file tree
Showing 12 changed files with 63 additions and 80 deletions.
2 changes: 1 addition & 1 deletion data/team/donnoh.toml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name = "donnoh"
nickname = "donnoh"

website = "https://lucadonnoh.github.io/"
skills = [
Expand Down
7 changes: 7 additions & 0 deletions data/team/kabir.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name = "Kabir"
nickname = "amnesy"
role = "Member"
email = "[email protected]"
skills = ["Web", "Osint", "Network Analysis", "Insulting PHP"]
active = false
years = [2023]
12 changes: 0 additions & 12 deletions data/team/kabir.yml

This file was deleted.

8 changes: 8 additions & 0 deletions data/team/karina.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name = "Karina Chichifoi"
nickname = "trykatchup"
role = "Member and Co-Lead"
email = "[email protected]"
website = "https://trykatchup.github.io/"
years = [2_023]
active = true
skills = ["OSINT", "System Administration", "Network Analysis"]
16 changes: 0 additions & 16 deletions data/team/karina.yml

This file was deleted.

11 changes: 11 additions & 0 deletions data/team/lorenzo_guerra.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name = "Lorenzo Guerra"
nickname = "wor"

role = "Member"
email = "[email protected]"
website = "https://lorenzo9uerra.github.io"

skills = ["PWN", "Crypto", "System Administration"]
years = [2023]

active = false
15 changes: 0 additions & 15 deletions data/team/lorenzo_guerra.yml

This file was deleted.

8 changes: 8 additions & 0 deletions data/team/pouup.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
name = "Patrick Papa"
nickname = "pouup"
photo = "unknown.png"
role = "Member"
email = "[email protected]"
years = [2023]
skills = ["Crypto", "PWN", "Crying without tears /s"]
active = false
14 changes: 0 additions & 14 deletions data/team/pouup.yml

This file was deleted.

9 changes: 3 additions & 6 deletions data/team/xgampx.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,7 @@
name = "Gianmaria Rovelli (xgampx)"
name = "Gianmaria Rovelli"
nickname = "xgampx"
role = "Member"
website = "https://giammirove.github.io"
skills = [
"Web",
"Reverse Engineering",
"Low Level Programming",
]
skills = ["Web", "Reverse Engineering", "Low Level Programming"]

years = [2023, 2022]
14 changes: 11 additions & 3 deletions layouts/partials/member.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<div>

<h3 style="font-weight: bold;">{{ .name }} {{if .nickname}} (aka <code>{{.nickname}}</code>) {{end}}</h3>
<h3 style="font-weight: bold;">
{{if and .name .nickname}}
<em>{{.nickname}}</em> - {{ .name }}
{{else if .name}}
{{ .name }}
{{else if .nickname}}
<em>{{.nickname}}</em>
{{end}}
</h3>
<p>
{{ if not .active}}
<em>Former member</em>
Expand All @@ -9,10 +17,10 @@ <h3 style="font-weight: bold;">{{ .name }} {{if .nickname}} (aka <code>{{.nickna
<em>{{ .role }}</em>
{{ end }}
{{ if .email}}
| <a href="mailto:{{ .email }}">📧</a>
| <a href="mailto:{{ .email }}" title="{{ .nickname }}'s email address">📧</a>
{{ end }}
{{ if .website}}
| <a href="{{ .website }}">🌐</a>
| <a href=" {{ .website }}" title="{{.nickname}}'s website">🌐</a>
{{ end }}
</p>

Expand Down
27 changes: 14 additions & 13 deletions layouts/shortcodes/team.html
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
<h2>Membri attivi</h2>
<div>
<h2>Membri attivi</h2>

<div style="display: grid; grid-template-columns: 1fr 1fr;">
{{ range $.Site.Data.team }}
<div style="display: grid; grid-template-columns: 1fr 1fr;">
{{ range $.Site.Data.team }}
{{ if .active }}
{{ partial "member.html" . }}
{{ partial "member.html" . }}
{{ end }}
{{ end }}
{{ end }}
</div>
</div>

<details style="margin-top: 2rem">
<summary style="list-style: none;">
<h2 style="display: inline; text-decoration: underline; cursor: pointer;">Membri inattivi</h2>
</summary>
<div style="margin-top: 2rem">
<h2>Membri inattivi</h2>

<div style="display: grid; grid-template-columns: 1fr 1fr;">
{{ range $.Site.Data.team }}
{{ if not .active }}
{{ partial "member.html" . }}
{{ end }}
{{ if not .active }}
{{ partial "member.html" . }}
{{ end }}
{{ end }}
</div>
</details>
</div>

0 comments on commit 30d0c1d

Please sign in to comment.