mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
fix(banner): wrap link in a paragraph for better semantic structure
This commit is contained in:
parent
326cce7836
commit
2b5b4dee57
@ -19,7 +19,8 @@ export function Banner({
|
||||
{...props}
|
||||
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">
|
||||
<a href={link} className="group">
|
||||
<span className="me-1 text-base leading-none">✨</span>
|
||||
{text}
|
||||
<ArrowRightIcon
|
||||
@ -28,6 +29,7 @@ export function Banner({
|
||||
aria-hidden="true"
|
||||
/>
|
||||
</a>
|
||||
</p>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user