3 ms·
> Copilot didn't write it all by itself but it did teach me things I didn't know like making a custom tag in vanilla JS by extending an HTMLElement. > This is
by skydhash 2y ago
> Copilot didn't write it all by itself but it did teach me things I didn't know like making a custom tag in vanilla JS by extending an HTMLElement.
> This is a simple component for a 5 page landing page build with astro
You're already in the over-engineered section there.
- jack_pp 2y agoNot that over engineered, here's the code : https://gist.github.com/lazarcf/c80ae6f9362aaf3aa92e21e3a0dd5c22 https://gist.github.com/lazarcf/c80ae6f9362aaf3aa92e21e3a0dd... you can see the component (the "image gallery") here : https://pixico.roware.ro/apa-distilata/ https://pixico.roware.ro/apa-distilata/