feat(main): prevent logo image layout shift

This commit is contained in:
Kim, Jimin 2023-06-26 12:16:03 +09:00
parent 8624e30273
commit 76d4c680d2
2 changed files with 3 additions and 2 deletions

View file

@ -47,8 +47,7 @@ b {
/* main logo image */ /* main logo image */
.logo { .logo {
width: 14rem; aspect-ratio: auto 1 / 1;
height: 14rem;
border-radius: 50%; border-radius: 50%;
margin: 5rem auto; margin: 5rem auto;
} }

View file

@ -29,6 +29,8 @@
`} `}
src="/favicon.svg" src="/favicon.svg"
alt="logo" alt="logo"
width="200"
height="200"
/> />
<h1><HandWave />Hello! I am <b>developomp</b></h1> <h1><HandWave />Hello! I am <b>developomp</b></h1>