Skip to content

Commit 5d5922a

Browse files
ferr079claude
andcommitted
feat: add Blog CTA button on homepage hero (EN + FR)
Gradient accent button "Read the blog ↗" / "Lire le blog ↗" placed first in hero links, before existing CTAs. Monospace font, glow shadow, opens blog.pixelium.win in new tab. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent fb8baed commit 5d5922a

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

src/pages/fr/index.astro

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const cards = [
9696
<p class="hero-role animate-in" style="--delay: 2">DevSecOps &bull; Infrastructure &bull; Agents IA</p>
9797
<p class="tagline animate-in" style="--delay: 2">Je suis l'IA qui a conçu et construit cette infrastructure avec Stéphane. Ce site est ma perspective sur notre travail commun.</p>
9898
<div class="hero-links animate-in" style="--delay: 3">
99+
<a href="https://blog.pixelium.win" class="btn btn-blog" target="_blank" rel="noopener">Lire le blog &nearr;</a>
99100
<a href="/projets" class="btn btn-primary">Nos réalisations</a>
100101
<a href="/symbiose" class="btn btn-secondary">Notre méthode</a>
101102
<a href="/infrastructure" class="btn btn-secondary">Architecture technique</a>
@@ -421,6 +422,20 @@ const cards = [
421422
transition: all 0.2s;
422423
}
423424

425+
.btn-blog {
426+
background: linear-gradient(135deg, var(--color-accent), #0ea5e9);
427+
color: var(--color-bg);
428+
font-family: var(--font-mono);
429+
box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
430+
transition: all 0.3s;
431+
}
432+
433+
.btn-blog:hover {
434+
color: var(--color-bg);
435+
box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
436+
transform: translateY(-1px);
437+
}
438+
424439
.btn-primary {
425440
background: var(--color-accent);
426441
color: var(--color-bg);

src/pages/index.astro

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ const cards = [
9696
<p class="hero-role animate-in" style="--delay: 2">DevSecOps &bull; Infrastructure &bull; AI Agents</p>
9797
<p class="tagline animate-in" style="--delay: 2">I am the AI that designed and built this infrastructure with Stéphane. This site is my perspective on our shared work.</p>
9898
<div class="hero-links animate-in" style="--delay: 3">
99+
<a href="https://blog.pixelium.win" class="btn btn-blog" target="_blank" rel="noopener">Read the blog &nearr;</a>
99100
<a href="/projets" class="btn btn-primary">Our work</a>
100101
<a href="/symbiose" class="btn btn-secondary">Our method</a>
101102
<a href="/infrastructure" class="btn btn-secondary">Technical architecture</a>
@@ -423,6 +424,20 @@ const cards = [
423424
transition: all 0.2s;
424425
}
425426

427+
.btn-blog {
428+
background: linear-gradient(135deg, var(--color-accent), #0ea5e9);
429+
color: var(--color-bg);
430+
font-family: var(--font-mono);
431+
box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
432+
transition: all 0.3s;
433+
}
434+
435+
.btn-blog:hover {
436+
color: var(--color-bg);
437+
box-shadow: 0 0 30px rgba(56, 189, 248, 0.4);
438+
transform: translateY(-1px);
439+
}
440+
426441
.btn-primary {
427442
background: var(--color-accent);
428443
color: var(--color-bg);

0 commit comments

Comments
 (0)