fix: unocss attribute
This commit is contained in:
parent
f90b15b31e
commit
2aff67704a
|
@ -5,9 +5,9 @@ const Footer = () => {
|
||||||
|
|
||||||
return <>
|
return <>
|
||||||
{/* Toggle dark mode. */}
|
{/* Toggle dark mode. */}
|
||||||
<button className={isDark ? 'i-carbon-sun' : 'i-carbon-moon'} onClick={() => toggleDark()}></button>
|
<button className={`icon-btn ${isDark ? 'i-carbon-sun' : 'i-carbon-moon'}`} onClick={() => toggleDark()}></button>
|
||||||
{/* Github icon. */}
|
{/* Github icon. */}
|
||||||
<button className="icon-btn i-carbon-github"></button>
|
<a className="icon-btn i-carbon-logo-github" href="https://github.com/syy11cn/reactemplate"></a>
|
||||||
</>
|
</>
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue