feat(main): prevent logo image layout shift
This commit is contained in:
parent
8624e30273
commit
76d4c680d2
2 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue