feat: improve contact

This commit is contained in:
2024-11-03 13:11:26 +01:00
parent 052ad4c2ca
commit ba82c25d1c
4 changed files with 44 additions and 26 deletions

View File

@ -1,24 +1,10 @@
<script lang="ts">
import Icon from '@iconify/svelte';
import { firstName, lastName, socialNetworks } from './data/global';
import { firstName, lastName } from './data/global';
const year = new Date().getFullYear();
</script>
<div class="flex flex-wrap items-center justify-center" id="contact">
{#each socialNetworks as socialNetwork}
<div class="p-5">
<a
href={socialNetwork.url}
target="_blank"
title={socialNetwork.title}
rel="noopener"
data-umami-event={`Social ${socialNetwork.title} button`}
>
<Icon icon={socialNetwork.icon} class="text-5xl" />
</a>
</div>
{/each}
</div>
<div class="pb-5 text-center text-lg font-light">© {year} {firstName} {lastName}</div>
<div class="pb-5 text-center text-sm font-light">
Design inspiré par le thème hugo-porto créé par Andrew Molyuk
</div>