Skip to content

Commit

Permalink
Merge pull request #28 from born2scan/new-about-events
Browse files Browse the repository at this point in the history
New Events page & About page members udpate
  • Loading branch information
beryxz authored Jun 18, 2023
2 parents 6dd5d91 + c827e9e commit bcf0d7f
Show file tree
Hide file tree
Showing 11 changed files with 474 additions and 81 deletions.
84 changes: 84 additions & 0 deletions _data/members.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
founders:
- name: Lorenzo Coppi
tag: beryxz
phrase: 'Pwning things for fun and profit'
skillset:
- web
links:
- icon: 'github'
url: 'https://github.com/beryxz'
- name: Niccolò Maggioni
tag: synack
phrase: 'Oh, good. My slow-clap processor made it into this thing'
skillset:
- network
- hardware
links:
- icon: 'link-variant'
url: 'https://nmaggioni.xyz/'
- icon: 'github'
url: 'https://github.com/nmaggioni'
- name: Ion Farima
tag: ionno
phrase:
skillset:
- web
links:
- icon: 'github'
url: 'https://github.com/ionfarima'
- name: Letterio Galletta
tag: lillo
phrase:
skillset:
- binary
- crypto
links:
-
residents:
- name: Angelo Rosa
tag: Virgula
phrase: 'Pwning my own bugs'
skillset:
- web
links:
- icon: 'github'
url: 'https://github.com/Virgula0'
- name: Cosimo Giraldi
tag: cocsx
phrase:
skillset:
- binary
links:
-
- name: Giacomo
tag: mashtrishke
phrase:
skillset:
- binary
links:
-
- name: Gianmarco Pastore
tag: GB1
phrase: 'Just hanging around'
skillset:
- binary
- crypto
links:
- icon: 'github'
url: 'https://github.com/Giamm9998'
- name: Gioele Dimilta
tag: lonixon
phrase:
skillset:
- web
links:
- icon: 'github'
url: 'https://github.com/pklone'
- name: Romeo Biancalani
tag: Rom7x
phrase: 'HACKED!'
skillset:
- web
links:
- icon: 'github'
url: 'https://github.com/RomeoBiancalani'
6 changes: 3 additions & 3 deletions _includes/externals/anchor_links.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@
}
};

document.onreadystatechange = function () {
if (this.readyState === "complete") {
document.addEventListener('readystatechange', function (evt) {
if (evt.target.readyState === "complete") {
let contentBlocks = document.getElementsByClassName("content");
for (const contentBlock of contentBlocks) {
for (var level = 1; level <= 3; level++) {
linkifyAnchors(level, contentBlock);
}
}
}
};
}, false);
</script>
6 changes: 3 additions & 3 deletions _includes/externals/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
}
}

document.onreadystatechange = function() {
if (this.readyState === "complete") {
document.addEventListener('readystatechange', function (evt) {
if (evt.target.readyState === "complete") {
generateToc();

let tocNavbar = document.querySelector('#toc nav');
Expand All @@ -80,5 +80,5 @@
window.addEventListener("scroll", () => { tocUpdateStatus(tocNavbar, tocElements, tocPointedElements); });
tocUpdateStatus(tocNavbar, tocElements, tocPointedElements);
}
};
}, false);
</script>
27 changes: 16 additions & 11 deletions _includes/header.html
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<header class="grid-center">
<div class="header">
<div class="navigation">
<div class="site-title">
<a href="/" id="logo-text" class="logo narrow-glitch" onmouseenter="logoMouseOver(true)" onmouseleave="logoMouseOver(false)" data-text="b0rn25c4n">{{ site.title }}</a>
<script>
setTimeout(function() { // Intermittently animate logo after 6s
Expand Down Expand Up @@ -36,24 +36,29 @@
animateLogo(yn, yn ? null : 500);
}
</script>
</div>

<div class="site-navbar">
<ul class="menu">
<li class="menu__entry{% if page.title == 'About' %} menu__selected{% endif %}"><a href="{{ '/about' | prepend: site.baseurl }}">About</a></li>
<li class="menu__entry{% if page.title == 'Writeups' or page.categories contains 'writeups' %} menu__selected{% endif %}"><a href="{{ '/' | prepend: site.baseurl }}">Writeups</a></li>
<li class="menu__entry{% if page.title == 'Articles' or page.categories contains 'articles' %} menu__selected{% endif %}"><a href="{{ '/articles' | prepend: site.baseurl }}">Articles</a></li>
<li class="menu__entry{% if page.title == 'Events' %} menu__selected{% endif %}"><a href="{{ '/events' | prepend: site.baseurl }}">Events</a></li>
</ul>
</div>

<ul class="social-links">
{% if site.author.github %}
<a href="https://github.com/{{ site.author.github }}" class="social-links__entry" target="_blank">
<span class="mdi mdi-github" ></span>
<div class="social-links">
{% if site.author.github %}
<a href="https://github.com/{{ site.author.github }}" class="social-links__entry" target="_blank">
<span class="mdi mdi-github" ></span>
</a>
{% endif %}

<a href="/feed.xml" class="social-links__entry" target="_blank">
<span class="mdi mdi-rss" ></span>
</a>
{% endif %}
</div>
</div>

<a href="/feed.xml" class="social-links__entry" style="margin-left: 5px;" target="_blank">
<span class="mdi mdi-rss" ></span>
</a>
</ul>
<span class="mobile-header-divider"></span>
</div>
</header>
26 changes: 26 additions & 0 deletions _includes/mixins/user_card.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<div class="user-card">
<span class="user-tag">{{ include.tag }}</span>
<span class="user-name">{{ include.name }}</span>
<span class="user-skillset">
{%- for skill in include.skillset -%}
{%- case skill -%}
{%- when 'web' -%}
<span class="mdi mdi-cookie"><span class="tooltip">Web</span></span>
{%- when 'binary' -%}
<span class="mdi mdi-matrix"><span class="tooltip">Binary</span></span>
{%- when 'crypto' -%}
<span class="mdi mdi-key-chain"><span class="tooltip">Crypto</span></span>
{%- when 'hardware' -%}
<span class="mdi mdi-chip"><span class="tooltip">Hardware</span></span>
{%- when 'network' -%}
<span class="mdi mdi-server-network"><span class="tooltip">Network</span></span>
{%- endcase -%}
{%- endfor -%}
</span>
<span class="user-phrase">{{ include.phrase }}</span>
<span class="user-links">
{%- for link in include.links -%}
<a href="{{ link.url }}" target="_blank"><span class="mdi mdi-{{ link.icon }}"></span></a>
{%- endfor -%}
</span>
</div>
12 changes: 12 additions & 0 deletions _includes/mixins/users_container.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<div class="users-container">

{% assign users = include.users | sort: 'name' %}
{%- for user in users -%}
{%- include mixins/user_card.html tag=user.tag
name=user.name
phrase=user.phrase
skillset=user.skillset
links=user.links -%}
{%- endfor -%}

</div>
Loading

0 comments on commit bcf0d7f

Please sign in to comment.