Skip to content

Commit 4d64ad2

Browse files
committed
fix: mailto icon; px adjust; re-enable on cta
1 parent a322fb4 commit 4d64ad2

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

app/[locale]/10years/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -348,7 +348,7 @@ const Page = async ({ params }: { params: Promise<{ locale: Lang }> }) => {
348348
/>
349349
<h3>{t("page-10-year-ideas-title")}</h3>
350350
<p>{t("page-10-year-ideas-description")}</p>
351-
<ButtonLink href="mailto:[email protected]" hideArrow>
351+
<ButtonLink href="mailto:[email protected]">
352352
{t("page-10-year-ideas-cta")}
353353
</ButtonLink>
354354
</div>

src/components/ui/Link.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,9 @@ export const BaseLink = forwardRef<HTMLAnchorElement, LinkProps>(function Link(
105105
>
106106
{isMailto ? (
107107
<span className="text-nowrap">
108-
{!hideArrow && <Mail className="me-1 inline size-[1em] shrink-0" />}
108+
{!hideArrow && (
109+
<Mail className="mb-0.5 me-1 inline-block size-[1em] shrink-0" />
110+
)}
109111
{children}
110112
</span>
111113
) : (

0 commit comments

Comments
 (0)