Skip to content

Commit 102cc65

Browse files
committed
Update CV references and enhance hero section layout: Rename CV file to "CV_SOFT.pdf", adjust stats formatting, and improve responsive design for hero component.
1 parent 0fd83f8 commit 102cc65

8 files changed

Lines changed: 41 additions & 17 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ Static assets live in `public/`:
2020

2121
- `liam-portrait-white.jpg`
2222
- `liam-portrait-black.jpg`
23-
- `CV_SIA.pdf`
23+
- `CV_SOFT.pdf`
2424
- `CV_SOFT_EN.pdf`
2525
- `Memoire_Liam_Abourousse.pdf`
2626
- `og-image.jpg`

content.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,8 @@
1313
"portrait_alt": "Portrait of Liam Abourousse in a white shirt against a light wall",
1414
"stats": [
1515
{
16-
"num": "#1",
17-
"label": "KPMG HACKATHON · 2026",
16+
"num": "#1 KPMG",
17+
"label": "HACKATHON 2026",
1818
"sublabel": "Won against 100+ teams · 350 engineering students"
1919
}
2020
]
@@ -143,7 +143,7 @@
143143
{
144144
"kind": "CV FR",
145145
"title": "SOFTWARE, DATA & AI ENGINEER — PYTHON, GENAI & DATA PRODUCTS",
146-
"href": "CV_SIA.pdf"
146+
"href": "CV_SOFT.pdf"
147147
},
148148
{
149149
"kind": "GITHUB",

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
<link data-trunk rel="copy-file" href="public/og-image.jpg" />
1818
<link data-trunk rel="copy-file" href="public/liam-portrait-white.jpg" />
1919
<link data-trunk rel="copy-file" href="public/liam-portrait-black.jpg" />
20-
<link data-trunk rel="copy-file" href="public/CV_SIA.pdf" />
20+
<link data-trunk rel="copy-file" href="public/CV_SOFT.pdf" />
2121
<link data-trunk rel="copy-file" href="public/CV_SOFT_EN.pdf" />
2222
<link data-trunk rel="copy-file" href="public/Memoire_Liam_Abourousse.pdf" />
2323
<link data-trunk rel="copy-file" href="public/robots.txt" />

public/CV_SIA.pdf

-356 KB
Binary file not shown.

public/CV_SOFT.pdf

271 KB
Binary file not shown.

public/CV_SOFT_EN.pdf

270 KB
Binary file not shown.

src/components/hero.rs

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,19 @@ pub fn Hero() -> impl IntoView {
99
let h = c.hero;
1010
let stats = h.stats.clone();
1111
view! {
12-
<section class="hero-section grid grid-cols-1 md:grid-cols-12 border-b">
13-
<div class="hidden md:flex md:col-span-2 p-[clamp(16px,2.5vw,32px)] flex-col justify-center border-r">
12+
<section class="hero-section grid grid-cols-1 lg:grid-cols-12 border-b">
13+
<div class="hidden lg:flex lg:col-span-2 p-[clamp(16px,2.5vw,32px)] flex-col justify-center border-r">
1414
<p class="font-sans text-[0.6rem] font-medium tracking-normal uppercase text-muted [writing-mode:vertical-rl] [text-orientation:mixed]">{c.meta.edition}</p>
1515
</div>
16-
<div class="col-span-full md:col-span-6 min-w-0 p-[clamp(32px,5vw,80px)] flex flex-col justify-center border-r">
17-
<h1 class="hero-title font-serif text-[clamp(2rem,8.5vw,7.5rem)] font-black leading-[0.95] tracking-normal">
16+
<div class="hero-copy col-span-full lg:col-span-6 min-w-0 p-[clamp(32px,5vw,80px)] flex flex-col justify-center border-r">
17+
<h1 class="hero-title font-serif font-black leading-[0.95] tracking-normal">
1818
<span class="line">{h.headline_1}</span>
1919
<span class="line italic">{h.headline_2}</span>
2020
</h1>
2121
<p class="hero-body text-[clamp(0.85rem,1.1vw,1rem)] leading-[1.7] text-muted max-w-[560px] mt-7">{h.body}</p>
2222
</div>
23-
<div class="col-span-full md:col-span-4 flex flex-col min-h-0">
24-
<figure class="portrait-panel relative flex-1 min-h-[360px] md:min-h-[420px] border-b overflow-hidden bg-bg-dark">
23+
<div class="col-span-full lg:col-span-4 flex flex-col min-h-0">
24+
<figure class="portrait-panel relative flex-1 min-h-[360px] lg:min-h-[420px] border-b overflow-hidden bg-bg-dark">
2525
<img
2626
src=h.portrait
2727
alt=h.portrait_alt
@@ -38,10 +38,9 @@ pub fn Hero() -> impl IntoView {
3838
let has_sub = !s.sublabel.is_empty();
3939
view! {
4040
<div class="stat-block flex flex-col justify-center gap-2 p-[clamp(16px,2.5vw,32px)]">
41-
<p class="font-serif text-[clamp(2rem,4vw,3.2rem)] font-black text-red leading-[0.9] tracking-normal">
42-
<span class="whitespace-nowrap">{s.num}</span>
43-
" "
44-
{s.label}
41+
<p class="stat-headline font-serif font-black text-red tracking-normal">
42+
<span class="stat-line">{s.num}</span>
43+
<span class="stat-line">{s.label}</span>
4544
</p>
4645
{has_sub.then(|| view! {
4746
<span class="text-[0.55rem] tracking-normal text-muted/80 normal-case leading-snug">{s.sublabel}</span>

styles/portfolio.css

Lines changed: 27 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,14 +81,26 @@
8181
}
8282

8383
/* ── HERO LINE (GSAP initial state) ────────────── */
84+
.hero-copy {
85+
container-type: inline-size;
86+
container-name: hero-copy;
87+
}
88+
8489
.hero-title {
8590
max-width: 100%;
8691
}
8792

93+
.hero-section .hero-title {
94+
font-size: clamp(2.15rem, 6.8vw, 6.25rem);
95+
font-size: clamp(2.15rem, 13cqi, 6.25rem);
96+
}
97+
8898
.hero-title .line {
8999
display: block;
90100
overflow: hidden;
91-
padding-right: 0.2em;
101+
white-space: nowrap;
102+
padding: 0.08em 0.2em 0.12em 0;
103+
margin: -0.08em 0 -0.12em;
92104
opacity: 0;
93105
transform: translateY(50px);
94106
}
@@ -148,7 +160,7 @@
148160
padding-bottom: calc(clamp(32px, 5vw, 80px) + var(--half-empty-ticker-space));
149161
}
150162

151-
@media (min-width: 768px) {
163+
@media (min-width: 1024px) {
152164
.ticker-wrap-empty + .hero-section .portrait-panel {
153165
min-height: calc(420px + var(--empty-ticker-space));
154166
}
@@ -278,9 +290,22 @@
278290
}
279291

280292
.hero-stats .stat-block {
293+
container-type: inline-size;
281294
background: var(--color-bg);
282295
}
283296

297+
.hero-stats .stat-headline {
298+
font-size: clamp(1.2rem, 3.6vw, 2.5rem);
299+
font-size: clamp(1.2rem, 9.3cqi, 2.5rem);
300+
line-height: 0.95;
301+
letter-spacing: -0.02em;
302+
}
303+
304+
.hero-stats .stat-line {
305+
display: block;
306+
white-space: nowrap;
307+
}
308+
284309
/* ── SKILLS GRID CONTINUITY ────────────────────── */
285310
.skills-grid .skill-bucket {
286311
border-right: 1px solid var(--color-border, rgba(20, 20, 18, 0.12));

0 commit comments

Comments
 (0)