mirror of
https://github.com/cloudreve/frontend.git
synced 2025-12-25 19:52:48 +00:00
feat: add alt attribute to logo image for accessibility and SEO (#267)
This commit is contained in:
parent
c8ed035425
commit
88a04209a0
|
|
@ -28,6 +28,7 @@ const Logo = (props: any) => {
|
|||
component={"img"}
|
||||
onLoad={() => setLoaded(true)}
|
||||
src={mode === "light" ? logo : logo_light}
|
||||
alt="Logo"
|
||||
{...props}
|
||||
sx={{
|
||||
display: loaded ? "block" : "none",
|
||||
|
|
|
|||
Loading…
Reference in New Issue