feat: transform site to profile linktree
This commit is contained in:
@@ -1,80 +1,87 @@
|
||||
---
|
||||
import BaseLayout from "../layouts/BaseLayout.astro";
|
||||
import Navbar from "../components/Navbar.astro";
|
||||
|
||||
const links = [
|
||||
{
|
||||
title: "Aussi Vite Que Nécessaire",
|
||||
url: "https://avqn.ch",
|
||||
icon: "🌐",
|
||||
},
|
||||
{
|
||||
title: "LinkedIn",
|
||||
url: "https://www.linkedin.com/in/emmbernard",
|
||||
icon: "💼",
|
||||
},
|
||||
{
|
||||
title: "YouTube",
|
||||
url: "https://www.youtube.com/@emmanuelflux",
|
||||
icon: "🎥",
|
||||
},
|
||||
];
|
||||
---
|
||||
|
||||
<BaseLayout
|
||||
title="Astro Starter Kit"
|
||||
description="Un starter kit minimal et élégant avec Astro, React et Tailwind CSS"
|
||||
>
|
||||
<Navbar />
|
||||
<BaseLayout>
|
||||
<main class="max-w-2xl mx-auto px-6 py-16 flex flex-col items-center min-h-[80vh] justify-center">
|
||||
<!-- Profile Section -->
|
||||
<div class="text-center mb-10">
|
||||
<div class="mb-6 relative inline-block">
|
||||
<div class="w-28 h-28 sm:w-32 sm:h-32 rounded-full overflow-hidden border-4 border-white mx-auto bg-gray-200">
|
||||
<img
|
||||
src="/emmanuel-bernard.webp"
|
||||
alt="Emmanuel Bernard - Consultant AI Automation & n8n"
|
||||
class="w-full h-full object-cover"
|
||||
onerror="this.src='https://ui-avatars.com/api/?name=Emmanuel+Bernard&background=random&size=256'"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h1 class="text-3xl sm:text-4xl font-bold tracking-tight text-gray-900 mb-2">
|
||||
Emmanuel Bernard
|
||||
</h1>
|
||||
|
||||
<h2 class="text-xl sm:text-2xl text-[var(--color-accent)] font-semibold mb-6 text-balance">
|
||||
Consultant-formateur AI Automation & Expert n8n à Lausanne
|
||||
</h2>
|
||||
|
||||
<div class="max-w-lg mx-auto">
|
||||
<p class="text-gray-600 leading-relaxed text-base text-balance">
|
||||
Avec 20 ans d'expérience technique, j'accompagne les entreprises et les indépendants dans l'automatisation de leurs processus et l'intégration de l'IA pour décupler leur productivité.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<main class="max-w-4xl mx-auto px-6 py-16">
|
||||
<!-- Hero Section -->
|
||||
<div class="mb-16">
|
||||
<h1 class="text-5xl font-bold tracking-tight mb-4">
|
||||
Astro Starter Kit
|
||||
</h1>
|
||||
<p class="text-xl text-gray-600 leading-relaxed">
|
||||
Un point de départ minimal et élégant pour vos projets web
|
||||
modernes.
|
||||
</p>
|
||||
<div class="mt-3">
|
||||
<span
|
||||
class="inline-block px-2 py-1 text-xs font-medium bg-gray-100 text-gray-700 rounded"
|
||||
>
|
||||
⚡ Powered by pnpm
|
||||
</span>
|
||||
</div>
|
||||
<p class="text-sm text-gray-500 mt-2 italic">
|
||||
✨ Mise à jour de test — Version mobile ready 📱
|
||||
</p>
|
||||
</div>
|
||||
<!-- Links Section -->
|
||||
<div class="w-full max-w-sm space-y-4">
|
||||
{
|
||||
links.map((link) => (
|
||||
<a
|
||||
href={link.url}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
class="group block w-full bg-white border border-gray-200 hover:border-[var(--color-accent)] rounded-lg px-6 py-4 transition-colors duration-200"
|
||||
>
|
||||
<div class="flex items-center justify-between">
|
||||
<span class="flex items-center gap-3 font-medium text-gray-700 group-hover:text-[var(--color-accent)] transition-colors">
|
||||
<span class="text-xl opacity-80 group-hover:opacity-100 transition-opacity">{link.icon}</span>
|
||||
{link.title}
|
||||
</span>
|
||||
<svg
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
viewBox="0 0 20 20"
|
||||
fill="currentColor"
|
||||
class="w-5 h-5 text-gray-400 group-hover:text-[var(--color-accent)] transition-colors"
|
||||
>
|
||||
<path fill-rule="evenodd" d="M3 10a.75.75 0 01.75-.75h10.638L10.23 5.29a.75.75 0 111.04-1.08l5.5 5.25a.75.75 0 010 1.08l-5.5 5.25a.75.75 0 11-1.04-1.08l4.158-3.96H3.75A.75.75 0 013 10z" clip-rule="evenodd" />
|
||||
</svg>
|
||||
</div>
|
||||
</a>
|
||||
))
|
||||
}
|
||||
</div>
|
||||
|
||||
<!-- Features -->
|
||||
<div class="space-y-12">
|
||||
<div>
|
||||
<h2 class="text-2xl font-semibold mb-3">Performance</h2>
|
||||
<p class="text-gray-600 leading-relaxed">
|
||||
Génération statique ultra-rapide avec Astro. Zéro JavaScript
|
||||
par défaut, hydratation partielle intelligente uniquement
|
||||
quand nécessaire.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2 class="text-2xl font-semibold mb-3">Design System</h2>
|
||||
<p class="text-gray-600 leading-relaxed">
|
||||
Tailwind CSS intégré pour un développement rapide et
|
||||
cohérent. Typographie soignée avec Inter, design épuré et
|
||||
moderne.
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<h2 class="text-2xl font-semibold mb-3">
|
||||
Prêt pour la production
|
||||
</h2>
|
||||
<p class="text-gray-600 leading-relaxed">
|
||||
Build Docker multi-stage optimisé, SEO configuré, structure
|
||||
claire et extensible.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- CTA -->
|
||||
<div class="mt-16 pt-12 border-t border-gray-200">
|
||||
<div class="flex items-center gap-2 mb-2">
|
||||
<span
|
||||
class="inline-block px-2 py-1 text-xs font-medium bg-gray-900 text-white rounded"
|
||||
>
|
||||
Nouveau
|
||||
</span>
|
||||
<span class="text-sm text-gray-600">Prêt pour vos projets</span>
|
||||
</div>
|
||||
<p class="text-sm text-gray-500">
|
||||
Commencez à construire votre projet dès maintenant.
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
<!-- Footer -->
|
||||
<footer class="mt-16 text-center text-sm text-gray-400">
|
||||
<p>© {new Date().getFullYear()} Emmanuel Bernard</p>
|
||||
</footer>
|
||||
</main>
|
||||
</BaseLayout>
|
||||
|
||||
Reference in New Issue
Block a user