📝 Docs: 添加 uwu logo (#2689)

This commit is contained in:
StarHeart
2024-05-01 22:28:36 +08:00
committed by GitHub
parent a9a86aba61
commit ea49318809
5 changed files with 23 additions and 0 deletions

View File

@ -47,6 +47,7 @@ function HomeHero(): JSX.Element {
return (
<div className="home-hero">
<img src="/img/uwu.svg" alt="uwu" className="home-hero-uwu" />
<img src={logo!.src} alt={logo!.alt} className="home-hero-logo" />
<h1 className="home-hero-title">
<span className="text-primary">None</span>

View File

@ -39,3 +39,16 @@
@apply inline-block !max-w-[600px];
}
}
.home-hero-uwu {
@apply hidden;
}
[data-uwu=true] .home-hero-uwu {
@apply block max-w-xs;
}
[data-uwu=true] .home-hero-logo,
[data-uwu=true] .home-hero-title {
@apply hidden;
}