Skip to content

Commit d3c7085

Browse files
perf+style: trim unused Lora weight, soften subpage card borders
Two related cleanups on the subpages. Lora was loading weights [400, 500, 700] but nothing in the code actually targets weight 400. Drops it to [500, 700], saving the two extra font files (~25KB over the wire). The certificate and @username header still render identically. Subpage cards (About, FAQ, Legal, Pricing) were overriding the default .record-card border with 2px solid var(--c-border). With the unified cream background that landed earlier, the hard black 2px outline looked too heavy. The override is removed so cards fall back to 1px solid var(--c-border-light), which reads as a quiet record line instead of a heavy framed panel. Also drops a broken --c-panel-2 fallback on the Pricing form card (token never existed; was falling back to transparent anyway). Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 099f544 commit d3c7085

5 files changed

Lines changed: 1 addition & 7 deletions

File tree

src/app/about/AboutContent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,6 @@ export default function AboutContent() {
5858
<div
5959
key={id}
6060
className="record-card"
61-
style={{ border: '2px solid var(--c-border)' }}
6261
>
6362
<p className="record-label">{heading}</p>
6463
<p className="record-value" style={{ fontSize: 'clamp(14px, 3.8vw, 15px)', lineHeight: 1.75, color: 'var(--c-ink-2)' }}>

src/app/faq/FAQContent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export default function FAQContent({ items }: { items: FAQItem[] }) {
2727
<section
2828
key={i}
2929
className="record-card"
30-
style={{ border: '2px solid var(--c-border)' }}
3130
>
3231
<h2 className="record-label" style={{ fontSize: '11px', margin: '0 0 8px 0' }}>{q}</h2>
3332
<p className="record-value" style={{ fontSize: 'clamp(14px, 3.8vw, 15px)', lineHeight: 1.75, color: 'var(--c-ink-2)' }}>

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const spaceGrotesk = Space_Grotesk({
1616

1717
const lora = Lora({
1818
subsets: ['latin'],
19-
weight: ['400', '500', '700'],
19+
weight: ['500', '700'],
2020
style: ['normal', 'italic'],
2121
variable: '--font-dm',
2222
display: 'swap',

src/app/legal/legalContent.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ export default function LegalContent() {
5959
key={section.id}
6060
id={section.id}
6161
className="record-card"
62-
style={{ border: '2px solid var(--c-border)' }}
6362
>
6463
<p className="record-label">{section.heading}</p>
6564
<p className="record-value" style={{ fontSize: 'clamp(14px, 3.8vw, 15px)', lineHeight: 1.75, color: 'var(--c-ink-2)' }}>

src/app/pricing/PricingContent.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,6 @@ export default function PricingContent() {
113113
<div
114114
key={id}
115115
className="record-card"
116-
style={{ border: '2px solid var(--c-border)' }}
117116
>
118117
<p className="record-label">{heading}</p>
119118
<p className="record-value" style={{ fontSize: 'clamp(14px, 3.8vw, 15px)', lineHeight: 1.75, color: 'var(--c-ink-2)' }}>
@@ -148,8 +147,6 @@ export default function PricingContent() {
148147
<div
149148
className="record-card"
150149
style={{
151-
border: '2px solid var(--c-border)',
152-
background: 'var(--c-panel-2, transparent)',
153150
padding: '28px 20px',
154151
marginTop: '8px',
155152
}}

0 commit comments

Comments
 (0)