Closed erdnaxe closed 3 years ago
Thanks. I'll apply all of your changes except the last one — /me is deliberately undocumented, think of it as an easter egg for people who read the code. (To tell the truth, it used to be documented, and it confused people — I was receiving a lot of mails asking me what it does.)
Should we put all scripts in static/scripts/ and all stylesheets in static/css/?
No. static/scripts and static/css are for third-party files.
Should we split galene.js into galene-layout.js (manages the layout of the page) and galene.js for all the rest?
It's a good idea if it can be done cleanly. I cannot at this point decide whether I'd accept a patch that does that.
Can we remove font-awesome from index.html?
No idea. @takdj ?
If I contribute some SVG, will Galène still require font-awesome dependency?
No idea. @takdj ?
Can we remove font-awesome from index.html?
Yes, it's not used there.
If I contribute some SVG, will Galène still require font-awesome dependency?
font-awesome icons can be replaced by SVG but galene.css currently need it as dependency for some few styles.
If you prefer to have these fixes separated in distinct pull requests, I can split this PR.
About the commit adding the missing
<meta charset="utf-8">
, it is defined inside404.html
andindex.html
, so for the sake of consistency I added it togalene.html
. This enables someone to directly serve the static with a webserver that does not announce an UTF-8 charset.Some other thoughts that requires discussion (maybe for another PR?):
static/scripts/
and all stylesheets instatic/css/
?galene.js
intogalene-layout.js
(manages the layout of the page) andgalene.js
for all the rest?index.html
?I am also planing later to submit a PR to change the
height: calc(100vh - 50px);
inmainpage.css
to a flexbox, because the current footer is causing overflow on my Firefox (demo of the change: https://neree.crans.org/).Best regards,