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