vlang / website

MIT License
62 stars 96 forks source link

building website from source, some style fixes #242

Open t4wE opened 1 year ago

t4wE commented 1 year ago

I found the original version that was written by leahlundqvist and decided to build the current version of website from it cause right now the latest one kinda has a lot of "hot" fixes built on top of index.html and app.css.

It was planned to build stuff like docs, faq, vpm, playground but now those are just separate pages so it is unnecessary, so i just commented some unused code.

Website changes:

-fixed book position on small screen -fixed news overflow on small screens -fixed some code overflow on small screens -fixed sponsor image overflow -added arrows to navigate within news -fixed sublime logo -added some left margins for better readability from phone -removed "run" buttons as they redirect to old wasm playground -download button now shows weekly binary sizes

Other changes:

-edited readme to add info on how to build the website -translation files moved to translation folder -media moved to res/media folder -the output (index.html, app.css and media) moved to build folder

t4wE commented 1 year ago

i decided that the npm version is unnecessary and complex as the only JS that has to be used is to give a proper download link depending on user's OS so i moved everything to Hugo. https://github.com/t4wE/vlanghugo