Skip to content

Commit f162d93

Browse files
feat: add fixed Buy me a coffee button top-right on all pages
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fc792f6 commit f162d93

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

src/app/layout.tsx

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,31 @@ export default function RootLayout({ children }: { children: React.ReactNode })
7171
<script type="application/ld+json" dangerouslySetInnerHTML={{ __html: JSON.stringify(jsonLd) }} />
7272
</head>
7373
<body className={`${courierPrime.variable} ${unifraktur.variable} ${inter.variable} antialiased`}>
74+
<a
75+
href="https://buymeacoffee.com/commitmentissues"
76+
target="_blank"
77+
rel="noopener noreferrer"
78+
aria-label="Buy me a coffee"
79+
style={{
80+
position: 'fixed',
81+
top: '12px',
82+
right: '14px',
83+
zIndex: 999,
84+
fontFamily: `var(--font-courier), monospace`,
85+
fontSize: '11px',
86+
fontWeight: 700,
87+
letterSpacing: '0.06em',
88+
textTransform: 'uppercase',
89+
color: '#1a1a1a',
90+
textDecoration: 'none',
91+
padding: '6px 10px',
92+
border: '1.5px solid #1a1a1a',
93+
background: '#f6f6f6',
94+
whiteSpace: 'nowrap',
95+
}}
96+
>
97+
☕ Coffee
98+
</a>
7499
{children}
75100
<Analytics />
76101
<SpeedInsights />

0 commit comments

Comments
 (0)