Hosted Avatar images results build error #201
-
First and foremost, thank you so much for such a beautiful theme. I changed the code a little bit to test if it is possible to self host the avatar images in my own server instead of unsplash.com image; as shown below. It is now spitting the error " Any help?
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Thank you for your kind words about the theme, @gcafepgdi! As for the issue you are facing, you might want to try using |
Beta Was this translation helpful? Give feedback.
Thank you for your kind words about the theme, @gcafepgdi! As for the issue you are facing, you might want to try using
const avatarSrcs: Array<any>
to bypass the type mismatch. Or you might want to look at this recipe: https://docs.astro.build/en/recipes/dynamically-importing-images/