mirror of
https://github.com/cfngc4594/monaco-editor-lsp-next.git
synced 2025-05-18 23:42:24 +00:00
fix(banner): wrap link in a paragraph for better semantic structure
This commit is contained in:
parent
326cce7836
commit
2b5b4dee57
@ -19,15 +19,17 @@ export function Banner({
|
|||||||
{...props}
|
{...props}
|
||||||
className={cn("h-12 flex items-center justify-center bg-muted text-foreground", className)}
|
className={cn("h-12 flex items-center justify-center bg-muted text-foreground", className)}
|
||||||
>
|
>
|
||||||
<a href={link} className="group flex justify-center text-sm">
|
<p className="flex justify-center text-sm">
|
||||||
<span className="me-1 text-base leading-none">✨</span>
|
<a href={link} className="group">
|
||||||
{text}
|
<span className="me-1 text-base leading-none">✨</span>
|
||||||
<ArrowRightIcon
|
{text}
|
||||||
className="ms-2 -mt-0.5 inline-flex opacity-60 transition-transform group-hover:translate-x-0.5"
|
<ArrowRightIcon
|
||||||
size={16}
|
className="ms-2 -mt-0.5 inline-flex opacity-60 transition-transform group-hover:translate-x-0.5"
|
||||||
aria-hidden="true"
|
size={16}
|
||||||
/>
|
aria-hidden="true"
|
||||||
</a>
|
/>
|
||||||
|
</a>
|
||||||
|
</p>
|
||||||
</header>
|
</header>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user