Add favicons to assets folder
This commit is contained in:
8
src/components/Favicons.astro
Normal file
8
src/components/Favicons.astro
Normal file
@ -0,0 +1,8 @@
|
||||
---
|
||||
import favIcon from '~/assets/favicons/favicon.ico';
|
||||
import favIconSvg from '~/assets/favicons/favicon.svg';
|
||||
---
|
||||
|
||||
<link rel="shortcut icon" href={favIcon} />
|
||||
<link rel="icon" type="image/svg+xml" href={favIcon} />
|
||||
<link rel="mask-icon" href={String(favIconSvg)} color="#8D46E7" />
|
Reference in New Issue
Block a user