Portfolio site w/ Cockpit + Vue!

Nice one!
Very clean DOM and refreshing page-switch-animation.

I’m surfing your website from Europe and it seems the images load a little slow, me being all the way under and over the big lake and stuff.
But that made me think about the way you currently load your images. You directly show them as a normal <img/> tag, therefore loading the 1400px wide images also for a mobile view.

Suggestion: use a <picture/> tag instead in combination with the /api/cockpit/image endpoint to serve different resolutions for your images for different screen sizes without any need of uploading different sizes.

Thanks for sharing and keep promoting Cockpit! :slight_smile: