✨ Feature: Epic 4 - Compétences & Me Découvrir (Stories 4.1-4.5)
- Page Compétences: Technologies groupées par catégorie avec compteur projets - Page Compétences: Outils démontrables avec liens + autres outils avec tooltips - Page Me Découvrir: Parcours (timeline 4 étapes) + Motivations - Page Me Découvrir: Passions (musique, gaming, open source) - Témoignages: JSON dynamique, template réutilisable, section sur about + home - Fonctions: getToolIcon(), getTestimonials(), getFeaturedTestimonials() Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
237
pages/about.php
237
pages/about.php
@@ -1,10 +1,10 @@
|
||||
<?php
|
||||
/**
|
||||
* Page à propos
|
||||
* Page Me Découvrir
|
||||
*/
|
||||
|
||||
$pageTitle = 'À propos';
|
||||
$pageDescription = 'Découvrez mon parcours, mes motivations et ce qui me passionne.';
|
||||
$pageTitle = 'Me Découvrir';
|
||||
$pageDescription = 'Découvrez mon parcours, mes motivations et ce qui me passionne en tant que développeur web.';
|
||||
$currentPage = 'a-propos';
|
||||
|
||||
include_template('header', compact('pageTitle', 'pageDescription'));
|
||||
@@ -12,18 +12,241 @@ include_template('navbar', compact('currentPage'));
|
||||
?>
|
||||
|
||||
<main>
|
||||
<!-- Section Hero / Qui je suis -->
|
||||
<section class="section">
|
||||
<div class="container-content">
|
||||
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12 items-center">
|
||||
<!-- Photo -->
|
||||
<div class="order-2 lg:order-1">
|
||||
<div class="aspect-square max-w-md mx-auto lg:mx-0 rounded-2xl overflow-hidden bg-surface-alt">
|
||||
<!-- Placeholder si pas de photo -->
|
||||
<div class="w-full h-full flex items-center justify-center bg-gradient-to-br from-primary/20 to-primary/5">
|
||||
<svg class="w-32 h-32 text-primary/30" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M16 7a4 4 0 11-8 0 4 4 0 018 0zM12 14a7 7 0 00-7 7h14a7 7 0 00-7-7z"/>
|
||||
</svg>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Texte -->
|
||||
<div class="order-1 lg:order-2">
|
||||
<h1 class="text-3xl lg:text-display font-bold text-text-primary mb-6">
|
||||
Bonjour, je suis <span class="text-primary">Célian</span>
|
||||
</h1>
|
||||
|
||||
<p class="text-xl text-text-secondary mb-6 leading-relaxed">
|
||||
Développeur web passionné basé dans le <strong class="text-text-primary">Grand Est, France</strong>.
|
||||
Je crée des expériences numériques qui allient performance,
|
||||
accessibilité et design soigné.
|
||||
</p>
|
||||
|
||||
<p class="text-text-secondary leading-relaxed">
|
||||
Je transforme des idées en solutions web concrètes.
|
||||
Mon approche : comprendre les besoins, proposer des solutions pragmatiques,
|
||||
et livrer un travail dont je suis fier.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Mon Parcours -->
|
||||
<section class="section bg-surface">
|
||||
<div class="container-content">
|
||||
<div class="section-header">
|
||||
<h1 class="section-title">À propos</h1>
|
||||
<h2 class="section-title">Mon Parcours</h2>
|
||||
</div>
|
||||
|
||||
<div class="max-w-3xl mx-auto">
|
||||
<!-- Timeline -->
|
||||
<div class="space-y-8">
|
||||
<!-- Étape 1 -->
|
||||
<div class="flex gap-6">
|
||||
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center">
|
||||
<span class="text-primary font-bold">1</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Découverte du code</h3>
|
||||
<p class="text-text-secondary leading-relaxed">
|
||||
Mes premiers pas dans le développement, par curiosité et passion pour la technologie.
|
||||
J'ai commencé par des projets personnels, apprenant HTML, CSS et JavaScript.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Étape 2 -->
|
||||
<div class="flex gap-6">
|
||||
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center">
|
||||
<span class="text-primary font-bold">2</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Formation et spécialisation</h3>
|
||||
<p class="text-text-secondary leading-relaxed">
|
||||
Approfondissement des compétences à travers une formation dédiée.
|
||||
Découverte du backend avec PHP, des bases de données et des bonnes pratiques de développement.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Étape 3 -->
|
||||
<div class="flex gap-6">
|
||||
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary/20 flex items-center justify-center">
|
||||
<span class="text-primary font-bold">3</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Projets concrets</h3>
|
||||
<p class="text-text-secondary leading-relaxed">
|
||||
Réalisation de projets pour des clients et des projets personnels.
|
||||
Chaque projet est une opportunité d'apprendre et de s'améliorer.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Étape 4 -->
|
||||
<div class="flex gap-6">
|
||||
<div class="flex-shrink-0 w-12 h-12 rounded-full bg-primary flex items-center justify-center">
|
||||
<span class="text-white font-bold">4</span>
|
||||
</div>
|
||||
<div>
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Aujourd'hui</h3>
|
||||
<p class="text-text-secondary leading-relaxed">
|
||||
Je continue à me former et à explorer de nouvelles technologies.
|
||||
Mon objectif : créer des sites web performants, accessibles et agréables à utiliser.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Pourquoi ce métier -->
|
||||
<section class="section">
|
||||
<div class="container-content">
|
||||
<div class="max-w-3xl mx-auto text-center">
|
||||
<h2 class="text-2xl lg:text-heading font-bold text-text-primary mb-8">Pourquoi le Développement Web ?</h2>
|
||||
|
||||
<div class="space-y-6 text-text-secondary text-lg leading-relaxed">
|
||||
<p>
|
||||
Ce qui me passionne dans le développement, c'est la possibilité de
|
||||
<strong class="text-text-primary">créer quelque chose à partir de rien</strong>.
|
||||
Une idée, du code, et soudain un site web existe et aide des gens.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
J'aime particulièrement le challenge de rendre les choses
|
||||
<strong class="text-text-primary">simples pour l'utilisateur</strong>,
|
||||
même quand elles sont complexes sous le capot.
|
||||
</p>
|
||||
|
||||
<p>
|
||||
Mon objectif : livrer un travail dont je suis fier, avec des solutions
|
||||
qui durent dans le temps et qui sont agréables à utiliser.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- En dehors du code -->
|
||||
<section class="section bg-surface">
|
||||
<div class="container-content">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">En Dehors du Code</h2>
|
||||
<p class="section-subtitle">
|
||||
Mon parcours et mes motivations
|
||||
Parce qu'un développeur a aussi une vie en dehors de l'écran.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p class="text-text-secondary text-center">
|
||||
Page en construction - Epic 4
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
<!-- Passion 1 : Musique -->
|
||||
<div class="card group overflow-hidden">
|
||||
<div class="aspect-video overflow-hidden bg-gradient-to-br from-purple-500/20 to-pink-500/20 flex items-center justify-center">
|
||||
<svg class="w-16 h-16 text-purple-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Musique</h3>
|
||||
<p class="text-text-secondary text-sm">
|
||||
Passionné par la création musicale et la MAO.
|
||||
La musique développe la créativité et la rigueur, des qualités que j'applique aussi dans le code.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Passion 2 : Gaming -->
|
||||
<div class="card group overflow-hidden">
|
||||
<div class="aspect-video overflow-hidden bg-gradient-to-br from-green-500/20 to-cyan-500/20 flex items-center justify-center">
|
||||
<svg class="w-16 h-16 text-green-400" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M15 5v2m0 4v2m0 4v2M5 5a2 2 0 00-2 2v3a2 2 0 110 4v3a2 2 0 002 2h14a2 2 0 002-2v-3a2 2 0 110-4V7a2 2 0 00-2-2H5z"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Jeux vidéo</h3>
|
||||
<p class="text-text-secondary text-sm">
|
||||
Le gaming a éveillé ma curiosité pour l'informatique.
|
||||
Aujourd'hui, c'est aussi une source d'inspiration pour l'UX et le game design.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- Passion 3 : Projets Open Source -->
|
||||
<div class="card group overflow-hidden">
|
||||
<div class="aspect-video overflow-hidden bg-gradient-to-br from-primary/20 to-primary/5 flex items-center justify-center">
|
||||
<svg class="w-16 h-16 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"/>
|
||||
</svg>
|
||||
</div>
|
||||
<div class="card-body">
|
||||
<h3 class="text-lg font-semibold text-text-primary mb-2">Projets Open Source</h3>
|
||||
<p class="text-text-secondary text-sm mb-3">
|
||||
Je développe des projets personnels et explore de nouvelles technologies sur mon temps libre.
|
||||
</p>
|
||||
<a href="https://github.com/skycel" target="_blank" rel="noopener" class="text-primary text-sm hover:underline inline-flex items-center gap-1">
|
||||
Voir sur GitHub
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Témoignages -->
|
||||
<?php $testimonials = getTestimonials(); ?>
|
||||
<?php if (!empty($testimonials)): ?>
|
||||
<section class="section">
|
||||
<div class="container-content">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Ce Qu'ils Disent</h2>
|
||||
<p class="section-subtitle">
|
||||
Retours de clients et collaborateurs.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
|
||||
<?php foreach ($testimonials as $testimonial): ?>
|
||||
<?php include_template('testimonial', ['testimonial' => $testimonial, 'showProjectLink' => true]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- CTA -->
|
||||
<section class="section bg-surface">
|
||||
<div class="container-content text-center">
|
||||
<h2 class="text-2xl lg:text-heading font-bold text-text-primary mb-4">Envie d'en savoir plus ?</h2>
|
||||
<p class="text-text-secondary mb-8">
|
||||
Découvrez mes réalisations ou contactez-moi directement.
|
||||
</p>
|
||||
<div class="flex flex-wrap justify-center gap-4">
|
||||
<a href="/projets" class="btn-primary">Voir mes projets</a>
|
||||
<a href="/contact" class="btn-secondary">Me contacter</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
@@ -106,6 +106,36 @@ include_template('navbar', compact('currentPage'));
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Témoignages Featured -->
|
||||
<?php $featuredTestimonials = array_slice(array_values(getFeaturedTestimonials()), 0, 2); ?>
|
||||
<?php if (!empty($featuredTestimonials)): ?>
|
||||
<section class="section">
|
||||
<div class="container-content">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Ce Qu'ils Disent</h2>
|
||||
<p class="section-subtitle">
|
||||
Retours de clients et collaborateurs.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto">
|
||||
<?php foreach ($featuredTestimonials as $testimonial): ?>
|
||||
<?php include_template('testimonial', ['testimonial' => $testimonial, 'showProjectLink' => false]); ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
|
||||
<div class="text-center mt-8">
|
||||
<a href="/a-propos#temoignages" class="text-primary hover:underline inline-flex items-center gap-2">
|
||||
Voir tous les témoignages
|
||||
<svg class="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M9 5l7 7-7 7"/>
|
||||
</svg>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
<?php endif; ?>
|
||||
</main>
|
||||
|
||||
<?php include_template('footer'); ?>
|
||||
|
||||
196
pages/skills.php
196
pages/skills.php
@@ -1,12 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* Page compétences
|
||||
* Page Compétences
|
||||
*/
|
||||
|
||||
$pageTitle = 'Compétences';
|
||||
$pageDescription = 'Mes compétences techniques : langages, frameworks et outils maîtrisés.';
|
||||
$pageDescription = 'Mes compétences techniques en développement web : langages, frameworks et outils.';
|
||||
$currentPage = 'competences';
|
||||
|
||||
// Récupérer le comptage des technologies
|
||||
$techCount = getProjectCountByTech();
|
||||
|
||||
// Catégoriser les technologies
|
||||
$categories = [
|
||||
'Frontend' => [
|
||||
'icon' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 20l4-16m4 4l4 4-4 4M6 16l-4-4 4-4"/>',
|
||||
'techs' => ['HTML', 'CSS', 'JavaScript', 'TypeScript', 'React', 'Vue.js', 'Tailwind CSS', 'Bootstrap', 'SASS']
|
||||
],
|
||||
'Backend' => [
|
||||
'icon' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 12h14M5 12a2 2 0 01-2-2V6a2 2 0 012-2h14a2 2 0 012 2v4a2 2 0 01-2 2M5 12a2 2 0 00-2 2v4a2 2 0 002 2h14a2 2 0 002-2v-4a2 2 0 00-2-2m-2-4h.01M17 16h.01"/>',
|
||||
'techs' => ['PHP', 'Node.js', 'Python', 'Laravel', 'Express', 'Symfony']
|
||||
],
|
||||
'Base de données' => [
|
||||
'icon' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 7v10c0 2.21 3.582 4 8 4s8-1.79 8-4V7M4 7c0 2.21 3.582 4 8 4s8-1.79 8-4M4 7c0-2.21 3.582-4 8-4s8 1.79 8 4m0 5c0 2.21-3.582 4-8 4s-8-1.79-8-4"/>',
|
||||
'techs' => ['MySQL', 'PostgreSQL', 'MongoDB', 'SQLite', 'Redis']
|
||||
],
|
||||
'DevOps & Outils' => [
|
||||
'icon' => '<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10.325 4.317c.426-1.756 2.924-1.756 3.35 0a1.724 1.724 0 002.573 1.066c1.543-.94 3.31.826 2.37 2.37a1.724 1.724 0 001.065 2.572c1.756.426 1.756 2.924 0 3.35a1.724 1.724 0 00-1.066 2.573c.94 1.543-.826 3.31-2.37 2.37a1.724 1.724 0 00-2.572 1.065c-.426 1.756-2.924 1.756-3.35 0a1.724 1.724 0 00-2.573-1.066c-1.543.94-3.31-.826-2.37-2.37a1.724 1.724 0 00-1.065-2.572c-1.756-.426-1.756-2.924 0-3.35a1.724 1.724 0 001.066-2.573c-.94-1.543.826-3.31 2.37-2.37.996.608 2.296.07 2.572-1.065z"/><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 12a3 3 0 11-6 0 3 3 0 016 0z"/>',
|
||||
'techs' => ['Git', 'Docker', 'Linux', 'Nginx', 'Apache', 'CI/CD']
|
||||
],
|
||||
];
|
||||
|
||||
include_template('header', compact('pageTitle', 'pageDescription'));
|
||||
include_template('navbar', compact('currentPage'));
|
||||
?>
|
||||
@@ -17,13 +40,174 @@ include_template('navbar', compact('currentPage'));
|
||||
<div class="section-header">
|
||||
<h1 class="section-title">Compétences</h1>
|
||||
<p class="section-subtitle">
|
||||
Technologies et outils maîtrisés
|
||||
Technologies que j'utilise au quotidien, liées à mes projets réels.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p class="text-text-secondary text-center">
|
||||
Page en construction - Epic 4
|
||||
</p>
|
||||
<!-- Technologies par catégorie -->
|
||||
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 lg:gap-12">
|
||||
<?php foreach ($categories as $category => $data): ?>
|
||||
<div class="card">
|
||||
<div class="card-body">
|
||||
<div class="flex items-center gap-3 mb-6">
|
||||
<div class="w-10 h-10 rounded-lg bg-primary/10 flex items-center justify-center">
|
||||
<svg class="w-5 h-5 text-primary" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<?= $data['icon'] ?>
|
||||
</svg>
|
||||
</div>
|
||||
<h2 class="text-xl font-semibold text-text-primary"><?= htmlspecialchars($category) ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-wrap gap-3">
|
||||
<?php foreach ($data['techs'] as $tech): ?>
|
||||
<?php $count = $techCount[$tech] ?? 0; ?>
|
||||
<?php if ($count > 0): ?>
|
||||
<span class="group flex items-center gap-2 px-4 py-2 bg-surface-alt rounded-lg border border-transparent hover:border-primary/30 transition-colors cursor-default"
|
||||
title="<?= $count ?> projet<?= $count > 1 ? 's' : '' ?>">
|
||||
<span class="font-medium text-text-primary">
|
||||
<?= htmlspecialchars($tech) ?>
|
||||
</span>
|
||||
<span class="text-xs px-2 py-0.5 bg-primary/20 text-primary rounded-full">
|
||||
<?= $count ?>
|
||||
</span>
|
||||
</span>
|
||||
<?php else: ?>
|
||||
<span class="flex items-center gap-2 px-4 py-2 bg-surface-alt/50 rounded-lg text-text-secondary">
|
||||
<?= htmlspecialchars($tech) ?>
|
||||
</span>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section Outils Démontrables (Story 4.2) -->
|
||||
<?php
|
||||
// Outils démontrables avec preuves vérifiables
|
||||
$demonstrableTools = [
|
||||
[
|
||||
'name' => 'GitHub',
|
||||
'icon' => 'github',
|
||||
'url' => 'https://github.com/skycel',
|
||||
'description' => 'Historique de commits et projets publics'
|
||||
],
|
||||
[
|
||||
'name' => 'VS Code',
|
||||
'icon' => 'vscode',
|
||||
'url' => null,
|
||||
'description' => 'Éditeur principal, visible dans le code source'
|
||||
],
|
||||
[
|
||||
'name' => 'Figma',
|
||||
'icon' => 'figma',
|
||||
'url' => null,
|
||||
'description' => 'Maquettes et prototypes de projets'
|
||||
],
|
||||
[
|
||||
'name' => 'Docker',
|
||||
'icon' => 'docker',
|
||||
'url' => null,
|
||||
'description' => 'Conteneurisation des environnements'
|
||||
],
|
||||
[
|
||||
'name' => 'Linux',
|
||||
'icon' => 'linux',
|
||||
'url' => null,
|
||||
'description' => 'Administration serveur et développement'
|
||||
],
|
||||
];
|
||||
|
||||
// Autres outils utilisés régulièrement
|
||||
$otherTools = [
|
||||
['name' => 'Photoshop', 'context' => 'Retouche d\'images et création graphique'],
|
||||
['name' => 'Insomnia', 'context' => 'Test d\'APIs REST et GraphQL'],
|
||||
['name' => 'DBeaver', 'context' => 'Administration de bases de données'],
|
||||
['name' => 'FileZilla', 'context' => 'Transfert FTP/SFTP'],
|
||||
['name' => 'Notion', 'context' => 'Organisation et documentation'],
|
||||
['name' => 'Trello', 'context' => 'Gestion de projet Kanban'],
|
||||
];
|
||||
?>
|
||||
|
||||
<section class="section bg-surface">
|
||||
<div class="container-content">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Outils Démontrables</h2>
|
||||
<p class="section-subtitle">
|
||||
Outils accompagnés de preuves vérifiables ou visibles dans mes projets.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 gap-6">
|
||||
<?php foreach ($demonstrableTools as $tool): ?>
|
||||
<?php if ($tool['url']): ?>
|
||||
<a href="<?= htmlspecialchars($tool['url']) ?>"
|
||||
target="_blank"
|
||||
rel="noopener"
|
||||
class="card group hover:border-primary/30 transition-colors">
|
||||
<div class="card-body flex items-start gap-4">
|
||||
<div class="w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0 text-primary">
|
||||
<?= getToolIcon($tool['icon']) ?>
|
||||
</div>
|
||||
<div class="flex-grow">
|
||||
<h3 class="font-semibold text-text-primary group-hover:text-primary transition-colors flex items-center gap-2">
|
||||
<?= htmlspecialchars($tool['name']) ?>
|
||||
<svg class="w-4 h-4 opacity-50" fill="none" stroke="currentColor" viewBox="0 0 24 24">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M10 6H6a2 2 0 00-2 2v10a2 2 0 002 2h10a2 2 0 002-2v-4M14 4h6m0 0v6m0-6L10 14"/>
|
||||
</svg>
|
||||
</h3>
|
||||
<p class="text-sm text-text-secondary mt-1">
|
||||
<?= htmlspecialchars($tool['description']) ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</a>
|
||||
<?php else: ?>
|
||||
<div class="card">
|
||||
<div class="card-body flex items-start gap-4">
|
||||
<div class="w-12 h-12 rounded-lg bg-primary/10 flex items-center justify-center flex-shrink-0 text-primary">
|
||||
<?= getToolIcon($tool['icon']) ?>
|
||||
</div>
|
||||
<div class="flex-grow">
|
||||
<h3 class="font-semibold text-text-primary">
|
||||
<?= htmlspecialchars($tool['name']) ?>
|
||||
</h3>
|
||||
<p class="text-sm text-text-secondary mt-1">
|
||||
<?= htmlspecialchars($tool['description']) ?>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Section Autres Outils -->
|
||||
<section class="section">
|
||||
<div class="container-content">
|
||||
<div class="section-header">
|
||||
<h2 class="section-title">Autres Outils</h2>
|
||||
<p class="section-subtitle">
|
||||
Outils utilisés régulièrement dans mes projets.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div class="flex flex-wrap gap-3">
|
||||
<?php foreach ($otherTools as $tool): ?>
|
||||
<span class="group relative px-4 py-2 bg-surface-alt rounded-lg text-text-secondary cursor-help border border-transparent hover:border-border transition-colors">
|
||||
<?= htmlspecialchars($tool['name']) ?>
|
||||
<!-- Tooltip -->
|
||||
<span class="absolute bottom-full left-1/2 -translate-x-1/2 mb-2 px-3 py-2 bg-surface-light text-text-primary text-xs rounded-lg opacity-0 group-hover:opacity-100 transition-opacity pointer-events-none whitespace-nowrap shadow-lg z-10">
|
||||
<?= htmlspecialchars($tool['context']) ?>
|
||||
</span>
|
||||
</span>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user