Skip to content

Commit c34ccc2

Browse files
ux: remove Buy me a coffin from footer, make top-right button squared
The top-right pill is enough — no need to repeat the link in the footer. Removes the divider+coffin chunk from the footer row. Top-right button now has sharp corners and a hard offset shadow (2px,2px) instead of the rounded pill + soft blur shadow. Fits the morgue/gothic aesthetic better than a soft modern pill. Hover pushes the button into the shadow for a tactile press feel. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 358a4de commit c34ccc2

2 files changed

Lines changed: 11 additions & 45 deletions

File tree

src/app/globals.css

Lines changed: 11 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -565,40 +565,17 @@ a.subpage-inline-mail {
565565
display: inline-block;
566566
}
567567

568-
.footer-coffin {
569-
display: inline-flex;
570-
align-items: center;
571-
gap: 6px;
572-
padding: 5px 11px;
573-
font-family: var(--font-courier), system-ui, sans-serif;
574-
font-size: 12px;
575-
font-weight: 600;
576-
letter-spacing: 0.04em;
577-
color: var(--c-ink);
578-
background: transparent;
579-
border: 1.5px solid var(--c-ink);
580-
border-radius: 999px;
581-
text-decoration: none;
582-
transition: background 0.15s, color 0.15s;
583-
-webkit-tap-highlight-color: transparent;
584-
}
585-
586-
.footer-coffin:hover {
587-
background: var(--c-ink);
588-
color: var(--c-bg);
589-
}
590-
591568
/* Mobile: hide social link text, keep icons; drop dividers */
592569
@media (max-width: 640px) {
593570
.footer-row { gap: 8px; }
594571
.footer-group { gap: 8px; }
595572
.footer-link { font-size: 12px; }
596573
.footer-group--socials .footer-link-text { display: none; }
597574
.footer-divider { display: none; }
598-
.footer-coffin { padding: 5px 10px; font-size: 11.5px; }
599575
}
600576

601-
/* Floating top-right "Buy me a coffin" pill — sits just below the ScannerBanner */
577+
/* Floating top-right "Buy me a coffin" button — sits just below the ScannerBanner.
578+
Sharp corners to match the morgue/gothic theme (no rounded pill shapes). */
602579
.coffin-pill {
603580
position: fixed;
604581
top: 44px;
@@ -615,31 +592,33 @@ a.subpage-inline-mail {
615592
color: var(--c-ink);
616593
background: var(--c-bg);
617594
border: 1.5px solid var(--c-ink);
618-
border-radius: 999px;
595+
border-radius: 0;
619596
text-decoration: none;
620-
box-shadow: 0 1px 0 var(--c-border-light), 0 4px 12px rgba(0,0,0,0.06);
621-
transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
597+
box-shadow: 2px 2px 0 var(--c-ink);
598+
transition: transform 0.1s, box-shadow 0.1s, background 0.15s, color 0.15s;
622599
-webkit-tap-highlight-color: transparent;
623600
animation: section-fade-up 600ms ease-out both;
624601
}
625602

626603
.coffin-pill:hover {
627604
background: var(--c-ink);
628605
color: var(--c-bg);
629-
transform: translateY(-1px);
630-
box-shadow: 0 1px 0 var(--c-border-light), 0 6px 16px rgba(0,0,0,0.12);
606+
transform: translate(1px, 1px);
607+
box-shadow: 1px 1px 0 var(--c-ink);
631608
}
632609

633610
.coffin-pill:active {
634-
transform: translateY(0);
611+
transform: translate(2px, 2px);
612+
box-shadow: 0 0 0 var(--c-ink);
635613
}
636614

637615
@media (max-width: 640px) {
638616
.coffin-pill {
639617
top: 40px;
640618
right: 10px;
641-
padding: 6px 10px;
619+
padding: 6px 9px;
642620
font-size: 11px;
621+
box-shadow: 1.5px 1.5px 0 var(--c-ink);
643622
}
644623
.coffin-pill-text {
645624
display: none;

src/components/SiteFooter.tsx

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -72,19 +72,6 @@ export default function SiteFooter({ compact = false }: SiteFooterProps) {
7272
<span className="footer-link-text">Instagram</span>
7373
</a>
7474
</div>
75-
76-
<span className="footer-divider" aria-hidden />
77-
78-
<a
79-
href="https://buymeacoffee.com/dotdevs"
80-
target="_blank"
81-
rel="noopener noreferrer"
82-
onClick={() => track('buy_me_a_coffin_clicked', { from: 'footer' })}
83-
className="footer-coffin"
84-
>
85-
<span aria-hidden></span>
86-
<span>Buy me a coffin</span>
87-
</a>
8875
</nav>
8976
</footer>
9077
)

0 commit comments

Comments
 (0)