Skip to content

Commit 9f43f23

Browse files
committed
Add 'Hero' card for contact information
1 parent bccfa80 commit 9f43f23

3 files changed

Lines changed: 24 additions & 0 deletions

File tree

content/socials.csv

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
url,title
2+
https://github.com/mbuffa,GitHub
3+
https://www.linkedin.com/in/maxime-buffa,LinkedIn
4+
https://bsky.app/profile/madmakks.bsky.social,BlueSky
5+
mailto:makkusoft@proton.me,Email

templates/_layout.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,7 @@
145145
">
146146
<div class="w-228 max-w-screen m-auto p-4 bg-slate-200 dark:bg-transparent">
147147
{% include "layout/navbar.html" %}
148+
{% include "layout/hero.html" %}
148149

149150
<div class="
150151
w-11/12 m-auto mt-2 p-4

templates/layout/hero.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<div class="
2+
w-11/12 m-auto mt-2 mb-4 p-4 rounded-md text-center
3+
bg-black bg-opacity-100 shadow-lg
4+
dark:bg-black dark:bg-opacity-60
5+
">
6+
<h1 class="text-2xl font-bold text-white dark:text-orange-500">Maxime Buffa</h1>
7+
<p class="text-lg text-gray-300 dark:text-gray-400 mt-1">Sr. Backend Engineer and DevOps</p>
8+
<div class="mt-3 flex justify-center gap-4 flex-wrap">
9+
{% set socials = load_data(path="content/socials.csv") %}
10+
{% for link in socials["records"] %}
11+
<a href="{{ link.0 }}" class="
12+
inline-block no-underline px-3 py-1 hover:no-underline border border-solid rounded-md border-transparent
13+
text-white hover:bg-white hover:text-black
14+
dark:text-orange-500 dark:hover:bg-orange-500 dark:hover:text-neutral-900"
15+
>{{ link.1 }}</a>
16+
{% endfor %}
17+
</div>
18+
</div>

0 commit comments

Comments
 (0)