fix: upgrade font-weight in <Welcome /> heading (#22067)

This pull-request ensures we're globally using a similar `font-weight`
in the `<Welcome />` component (specifically noticed on `cli-auth`).
This commit is contained in:
Jake Howell
2026-02-13 03:08:13 +11:00
committed by GitHub
parent 220b9f3cc5
commit 72438a0e55
+2 -10
View File
@@ -1,14 +1,6 @@
import type { FC, PropsWithChildren } from "react";
import { CoderIcon } from "../Icons/CoderIcon";
const Language = {
defaultMessage: (
<>
Welcome to <strong>Coder</strong>
</>
),
};
type WelcomeProps = Readonly<
PropsWithChildren<{
className?: string;
@@ -21,8 +13,8 @@ export const Welcome: FC<WelcomeProps> = ({ children, className }) => {
<CoderIcon className="w-12 h-12" />
</div>
<h1 className="text-center text-3xl font-normal m-0 leading-[1.1] pb-4 [&_strong]:font-semibold">
{children || Language.defaultMessage}
<h1 className="text-3xl font-semibold m-0 flex justify-center items-center text-center leading-snug">
{children || "Welcome to Coder"}
</h1>
</div>
);