Skip to content

Commit d6af6e4

Browse files
MaxDatenclaude
andcommitted
refactor(og): simplify card for thumbnail readability with CTA
- Remove skill tags and secondary tagline for cleaner design - Increase role text from 28px to 36px for readability at small sizes - Add "Book a 30min Call" CTA button (right-aligned) - Fix alignments per design principles: - Accent bar radius 2px → 4px (sharp system) - Domain bottom 40px → 56px (symmetrical padding) - Button/domain right edges aligned - Change design direction: Precision & Density → Boldness & Clarity 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 633bb14 commit d6af6e4

1 file changed

Lines changed: 20 additions & 42 deletions

File tree

src/templates/og-card.html

Lines changed: 20 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<style>
88
/*
99
* OG Card Design
10-
* Direction: Precision & Density
10+
* Direction: Boldness & Clarity (optimized for thumbnail readability)
1111
* Grid: 4px base (all values multiples of 4)
1212
* Depth: Borders-only
1313
* Border radius: Sharp system (4, 6, 8)
@@ -55,16 +55,15 @@
5555

5656
.og-content {
5757
display: flex;
58-
align-items: center;
58+
align-items: flex-start;
5959
gap: 56px;
6060
width: 100%;
61-
max-width: 1000px;
6261
}
6362

64-
/* Photo - 224px on 4px grid */
63+
/* Photo - stretch to match text block height */
6564
.og-photo {
6665
width: 224px;
67-
height: 224px;
66+
align-self: stretch;
6867
border-radius: 8px;
6968
object-fit: cover;
7069
border: 1px solid var(--border);
@@ -94,51 +93,36 @@
9493
height: 4px;
9594
background: var(--accent);
9695
margin-top: 16px;
97-
border-radius: 2px;
96+
border-radius: 4px;
9897
}
9998

100-
/* Role - 28px on grid */
99+
/* Role - larger for thumbnail readability */
101100
.og-role {
102101
font-family: var(--font-sans);
103-
font-size: 28px;
102+
font-size: 36px;
104103
font-weight: 500;
105104
letter-spacing: -0.01em;
106105
color: var(--text-secondary);
107-
margin-top: 20px;
106+
margin-top: 24px;
108107
}
109108

110-
/* Tagline - 24px on grid */
111-
.og-tagline {
109+
/* CTA - button style, right aligned */
110+
.og-cta {
111+
align-self: flex-end;
112+
margin-top: 32px;
113+
padding: 16px 32px;
114+
background: var(--accent);
115+
color: white;
112116
font-family: var(--font-sans);
113117
font-size: 24px;
114-
font-weight: 400;
115-
color: var(--text-muted);
116-
margin-top: 12px;
117-
}
118-
119-
/* Skills - 16px on grid */
120-
.og-skills {
121-
display: flex;
122-
flex-wrap: wrap;
123-
gap: 12px;
124-
margin-top: 28px;
125-
}
126-
127-
.og-skill {
128-
font-family: var(--font-mono);
129-
font-size: 14px;
130-
font-weight: 500;
131-
color: var(--text-secondary);
132-
background: var(--bg-primary);
133-
padding: 8px 16px;
134-
border-radius: 6px;
135-
border: 1px solid var(--border);
118+
font-weight: 600;
119+
border-radius: 8px;
136120
}
137121

138-
/* Domain - 24px on grid */
122+
/* Domain - 24px on grid, symmetrical with card padding */
139123
.og-domain {
140124
position: absolute;
141-
bottom: 40px;
125+
bottom: 56px;
142126
right: 56px;
143127
font-family: var(--font-sans);
144128
font-size: 24px;
@@ -154,13 +138,7 @@
154138
<div class="og-text">
155139
<h1 class="og-name">Jan-Philip Loos</h1>
156140
<p class="og-role">DevOps · Cloud · Functional Architecture</p>
157-
<p class="og-tagline">functional & automated</p>
158-
<div class="og-skills">
159-
<span class="og-skill">Cloud Native</span>
160-
<span class="og-skill">Infrastructure as Code</span>
161-
<span class="og-skill">Automation</span>
162-
<span class="og-skill">CI/CD</span>
163-
</div>
141+
<span class="og-cta">Book a 30min Call</span>
164142
</div>
165143
</div>
166144
<div class="og-domain">cv.maxdaten.io</div>

0 commit comments

Comments
 (0)