fix: inner a

This commit is contained in:
Ou 2024-10-11 11:26:01 +08:00
parent 6ac60b6143
commit 250fc4543a

View File

@ -50,13 +50,15 @@ function RefreshButton() {
export function Header() {
return (
<>
<Link className="text-6 flex gap-2 items-center" to="/">
<img src={logo} alt="logo" className="h-8" />
<span className="font-mono">NewsNow</span>
<a className="btn-pure text-sm mt--2">
<div className="flex items-center">
<Link className="text-6 flex gap-2 items-center" to="/">
<img src={logo} alt="logo" className="h-8" />
<span className="font-mono">NewsNow</span>
</Link>
<a className="btn-pure text-sm ml-1 mt--2">
{`v${Version}`}
</a>
</Link>
</div>
<div className="flex gap-2 items-center">
<RefreshButton />
<ThemeToggle />