jalil.arfaoui.net/src/pages/index.astro

208 lines
12 KiB
Text
Raw Normal View History

2024-08-18 19:06:50 +02:00
---
import { Image } from "astro:assets";
import { getCollection } from "astro:content";
2024-08-18 19:06:50 +02:00
import Layout from "../layouts/main.astro";
import jalilPhoto from "../assets/images/jalil-2.jpg";
const currentMission = (await getCollection("experiences"))
.filter((e) => e.data.lang === "fr" && !e.data.draft && !e.data.endDate)
.sort((a, b) => (b.data.startDate > a.data.startDate ? 1 : -1))[0];
const featuredProjects = (await getCollection("projects"))
.filter((p) => p.data.lang === "fr" && !p.data.draft && p.data.category === "dev" && p.data.featured)
.sort((a, b) => b.data.date.getTime() - a.data.date.getTime())
.slice(0, 2);
const recommendationCount = (await getCollection("recommendations")).length;
2024-08-18 19:06:50 +02:00
---
<Layout
title="Jalil Arfaoui - Développeur artisan • Photographe • Comédien improvisateur"
description="Jalil Arfaoui : développeur freelance, photographe et comédien improvisateur basé à Albi."
>
<!-- Hero Section -->
<div class="relative z-20 w-full max-w-6xl mx-auto mt-16 px-7 md:mt-24 lg:mt-32 xl:px-0">
2024-08-18 19:06:50 +02:00
<div class="flex flex-col items-center md:flex-row">
<div class="relative w-full md:w-1/2">
<h1 class="mb-5 text-5xl font-bold leading-tight md:text-6xl lg:text-7xl dark:text-white">
Jalil Arfaoui
2024-08-18 19:06:50 +02:00
</h1>
<h2 class="mb-6 text-xl font-medium text-neutral-600 dark:text-neutral-300 md:text-2xl">
Développeur • Photographe • Comédien
</h2>
<p class="mb-8 text-lg text-neutral-600 dark:text-neutral-400 leading-relaxed">
Je code pour un monde plus juste et je monte sur scène pour le reste. Ou l'inverse.
2024-08-18 19:06:50 +02:00
</p>
<div class="flex flex-wrap gap-4">
<a href="/code" class="inline-flex items-center px-6 py-3 text-sm font-semibold text-white bg-tiqa-600 rounded-full hover:bg-tiqa-700 transition-colors duration-200">
Voir mon travail
</a>
<a href="/a-propos" class="inline-flex items-center px-6 py-3 text-sm font-semibold text-neutral-700 bg-neutral-100 dark:bg-neutral-800 dark:text-neutral-200 rounded-full hover:bg-neutral-200 dark:hover:bg-neutral-700 transition-colors duration-200">
En savoir plus
</a>
</div>
2024-08-18 19:06:50 +02:00
</div>
<div class="relative justify-end w-full mt-12 md:flex md:pl-10 md:w-1/2 md:mt-0">
<div class="relative z-50 w-full max-w-sm mx-auto">
<div class="relative z-30 p-1 bg-gradient-to-br from-blue-500 via-purple-500 to-pink-500 rounded-3xl">
<div class="bg-white dark:bg-neutral-950 rounded-3xl p-4">
<Image
src={jalilPhoto}
alt="Jalil Arfaoui"
loading="eager"
decoding="auto"
class="w-full aspect-square object-cover rounded-2xl"
/>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="relative z-20 w-full max-w-6xl mx-auto mt-24 px-7 xl:px-0">
<div class="space-y-8">
<a href="/code" class="group relative overflow-hidden bg-gradient-to-br from-tiqa-50 to-tiqa-100 dark:from-tiqa-800/30 dark:to-tiqa-900/30 rounded-3xl p-8 hover:scale-[1.02] transition-all duration-300 border border-tiqa-200/50 dark:border-tiqa-600/30 block no-underline">
<div class="absolute top-4 right-4 text-4xl opacity-20 group-hover:opacity-40 transition-opacity">💻</div>
<div class="relative z-10">
<h3 class="text-2xl font-bold text-tiqa-900 dark:text-tiqa-100 mb-4">
Conception logicielle
</h3>
<div class="md:flex md:gap-8">
<div class="md:flex-1">
<p class="text-tiqa-600 dark:text-tiqa-300 mb-3 leading-relaxed">
Plus de 20 ans à concevoir et construire du logiciel. Développeur senior, tech lead ou coach technique, j'accompagne les équipes qui veulent livrer du code dont elles sont fières.
</p>
<p class="text-tiqa-600 dark:text-tiqa-300 mb-4 leading-relaxed">
Je privilégie le logiciel libre et les projets utiles. Ce qui me distingue peut-être : je m'intéresse autant à la qualité du code qu'aux biais qu'on y inscrit sans le savoir.
</p>
</div>
<div class="md:w-64 flex-shrink-0 space-y-4 mb-4 md:mb-0">
{currentMission && (
<div>
<p class="text-xs font-semibold text-tiqa-400 dark:text-tiqa-400 uppercase tracking-wider mb-1.5">Mission en cours</p>
<p class="text-sm font-medium text-tiqa-900 dark:text-tiqa-100">{currentMission.data.role}</p>
<p class="text-xs text-tiqa-500 dark:text-tiqa-300">{currentMission.data.company}</p>
</div>
)}
{featuredProjects.length > 0 && (
<div>
<p class="text-xs font-semibold text-tiqa-400 dark:text-tiqa-400 uppercase tracking-wider mb-1.5">Projets</p>
{featuredProjects.map((p) => (
<div class="mb-1.5 last:mb-0">
<p class="text-sm font-medium text-tiqa-900 dark:text-tiqa-100">{p.data.title}</p>
<p class="text-xs text-tiqa-500 dark:text-tiqa-300 line-clamp-1">{p.data.description}</p>
</div>
))}
</div>
)}
<div>
<p class="text-xs font-semibold text-tiqa-400 dark:text-tiqa-400 uppercase tracking-wider mb-1.5">Recommandations</p>
<p class="text-sm text-tiqa-600 dark:text-tiqa-300">{recommendationCount} recommandations</p>
</div>
</div>
</div>
<span class="text-tiqa-500 dark:text-tiqa-300 group-hover:text-tiqa-700 dark:group-hover:text-tiqa-100 font-medium">
→ Parcours, projets et recommandations
</span>
</div>
</a>
<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
<a href="/theatre" class="group relative overflow-hidden bg-gradient-to-br from-amber-50 to-amber-100 dark:from-amber-950/30 dark:to-amber-900/20 rounded-3xl p-8 hover:scale-105 transition-all duration-300 border border-amber-200/50 dark:border-amber-800/30 block no-underline">
<div class="absolute top-4 right-4 text-4xl opacity-20 group-hover:opacity-40 transition-opacity">🎭</div>
<div class="relative z-10">
<h3 class="text-2xl font-bold text-amber-900 dark:text-amber-100 mb-3">
Théâtre
</h3>
<p class="text-amber-700 dark:text-amber-300 mb-6 leading-relaxed">
Improvisateur depuis 2008, passé par les Yvelines et le Maroc avant de cofonder Les Particules à Albi. Aujourd'hui je m'attaque aussi au théâtre écrit.
</p>
<span class="text-amber-600 dark:text-amber-400 group-hover:text-amber-800 dark:group-hover:text-amber-200 font-medium">
→ Parcours artistique
</span>
</div>
</a>
<div class="group relative overflow-hidden bg-gradient-to-br from-slate-100 to-slate-200 dark:from-slate-800/30 dark:to-slate-700/20 rounded-3xl p-8 hover:scale-105 transition-all duration-300 border border-slate-300/50 dark:border-slate-600/30">
<a href="/photo" class="absolute inset-0 z-0" aria-label="Photographie"></a>
<div class="absolute top-4 right-4 text-4xl opacity-20 group-hover:opacity-40 transition-opacity">📸</div>
<div class="relative z-10 pointer-events-none">
<h3 class="text-2xl font-bold text-slate-900 dark:text-slate-100 mb-3">
Photographie
</h3>
<p class="text-slate-600 dark:text-slate-300 mb-6 leading-relaxed">
Je photographie un peu tout : des visages, des concerts, des moteurs, le quotidien. Pas de spécialité, juste la curiosité.
</p>
<div class="space-y-3">
<span class="block text-slate-500 dark:text-slate-400 group-hover:text-slate-800 dark:group-hover:text-slate-200 font-medium">
→ Portfolio photo
</span>
<a href="/photo/blog" class="block text-slate-500 dark:text-slate-400 hover:text-slate-800 dark:hover:text-slate-200 font-medium pointer-events-auto relative z-20">
→ Fil Photo
</a>
</div>
2024-08-18 19:06:50 +02:00
</div>
</div>
</div>
</div>
</div>
<!-- Blog Section
<div class="relative z-20 w-full max-w-6xl mx-auto mt-24 px-7 xl:px-0">
<div class="text-center mb-12">
<h2 class="text-3xl font-bold text-neutral-800 dark:text-neutral-200 mb-4">
Derniers articles
</h2>
<p class="text-neutral-600 dark:text-neutral-400 max-w-2xl mx-auto">
Découvrez mes réflexions sur le développement, la comédie et la photographie
</p>
</div>
<div class="text-center">
<span
class="inline-flex items-center px-8 py-4 text-lg font-semibold text-white/60 bg-gradient-to-r from-blue-600/50 via-purple-600/50 to-pink-600/50 rounded-full cursor-not-allowed"
title="En construction"
>
Découvrir tous mes articles
<span class="ml-2">🚧</span>
</span>
</div>
</div>
-->
<!-- Contact Section -->
<div class="relative z-20 w-full max-w-6xl mx-auto mt-24 mb-16 px-7 xl:px-0">
<div class="bg-gradient-to-r from-neutral-50 to-neutral-100 dark:from-neutral-900 dark:to-neutral-800 rounded-3xl p-12 text-center border border-neutral-200 dark:border-neutral-700">
<h2 class="text-2xl font-bold text-neutral-800 dark:text-neutral-200 mb-4">
Un projet, une scène, une idée ?
</h2>
<p class="text-neutral-600 dark:text-neutral-400 mb-8 max-w-2xl mx-auto">
Écrivez-moi.
</p>
<div class="flex justify-center space-x-6">
<a href="https://linkedin.com/in/jalil" target="_blank" rel="noopener noreferrer" class="p-3 bg-blue-600 text-white rounded-full hover:bg-blue-700 transition-colors">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z"/>
</svg>
</a>
<a href="https://github.com/jalilarfaoui" target="_blank" rel="noopener noreferrer" class="p-3 bg-neutral-800 text-white rounded-full hover:bg-neutral-900 transition-colors">
<svg class="w-6 h-6" fill="currentColor" viewBox="0 0 24 24">
<path d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"/>
</svg>
</a>
<a href="mailto:jalil@arfaoui.net" class="p-3 bg-green-600 text-white rounded-full hover:bg-green-700 transition-colors">
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M3 8l7.89 4.26a2 2 0 002.22 0L21 8M5 19h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v10a2 2 0 002 2z" />
</svg>
</a>
</div>
</div>
</div>
2024-08-18 19:06:50 +02:00
</Layout>