mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-07-01 09:13:57 +00:00
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 5m39s
21 lines
430 B
TypeScript
21 lines
430 B
TypeScript
"use client";
|
|
|
|
|
|
interface WelcomeBannerProps {
|
|
firstName?: string | null;
|
|
lastName?: string | null;
|
|
}
|
|
|
|
export function WelcomeBanner({ firstName, lastName }: WelcomeBannerProps) {
|
|
|
|
return (
|
|
<div
|
|
className={"text-sm font-mono px-2 p-1 bg-green-500/10 text-green-900 dark:text-green-400"}
|
|
>
|
|
Welcome,{" "}
|
|
<span className="font-semibold">
|
|
{firstName} {lastName}
|
|
</span>
|
|
</div>
|
|
);
|
|
} |