1
0
Fork 0

feat(freesewing.dev): Updated gradients and loading indicators

This commit is contained in:
Joost De Cock 2022-05-11 16:58:18 +02:00
parent 6c41b1d941
commit 7af63ed65f
8 changed files with 46 additions and 46 deletions

View file

@ -46,6 +46,8 @@ const Header = ({ app, setSearch }) => {
z-30
transition-transform
${show ? '': 'fixed top-0 left-0 -translate-y-20'}
drop-shadow-xl
${app.loading ? "theme-gradient loading" : ""}
`}>
<div className="max-w-6xl m-auto">
<div className="p-2 flex flex-row gap-2 justify-between text-neutral-content">
@ -115,10 +117,6 @@ const Header = ({ app, setSearch }) => {
</div>
</div>
</div>
<div className={`
theme-gradient h-1 w-full z-10 relative -mb-1
${app.loading ? 'loading' : ''}
`}></div>
</header>
)
}