load navbar icon with priority
This commit is contained in:
parent
5bc8fc4a67
commit
29df9bc9cb
2 changed files with 2 additions and 2 deletions
|
@ -47,7 +47,7 @@ const Navbar = () => {
|
|||
<div className="flex items-center justify-between w-full max-w-5xl mx-auto pr-4 py-1">
|
||||
<Link href="/">
|
||||
<a className="dark:text-white hover:opacity-80 flex items-center p-2 space-x-2">
|
||||
<Image src={siteConfig.icon} alt="icon" width="28" height="28" />
|
||||
<Image src={siteConfig.icon} alt="icon" width="28" height="28" priority />
|
||||
<span className="sm:block hidden text-lg font-bold">{siteConfig.title}</span>
|
||||
</a>
|
||||
</Link>
|
||||
|
|
|
@ -39,7 +39,7 @@ const VideoPreview: FunctionComponent<{ file: any }> = ({ file }) => {
|
|||
onClickCallback={() =>
|
||||
window.open(`/api/proxy?url=${encodeURIComponent(file['@microsoft.graph.downloadUrl'])}`)
|
||||
}
|
||||
btnColor="pink"
|
||||
btnColor="teal"
|
||||
btnText="Proxy download"
|
||||
btnIcon="download"
|
||||
/>
|
||||
|
|
Loading…
Reference in a new issue