Commit Graph

11 Commits

Author SHA1 Message Date
curben cf16dd3e43 refactor: move creation of 'Copy' button from client to server
* https://github.com/cheeriojs/cheerio#append-content-content--
  * cheerio doesn't have .createElement() function
    - https://code.tutsplus.com/tutorials/jquery-14-released-the-15-new-features-you-must-know--net-8590
2019-05-25 20:14:02 +09:30
curben e312ed2b69 feat: add alt attribute to <img>
* https://support.google.com/webmasters/answer/114016?hl=en
  * remove version tag from cloudinary link
    * cache of previous version should be purged by now
  * img tag doesn't need to be self-closing
2019-05-23 16:46:02 +09:30
curben bc4082ac06 refactor: use image file instead of inline 2019-05-21 13:10:40 +09:30
curben 2ac754fa4d style: arrow function
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Functions/Arrow_functions
2019-05-21 11:22:01 +09:30
curben 47e7982432 refactor: use image file instead of inline
page source looks cleaner this way
2019-05-21 10:12:35 +09:30
curben 07afb16715 Use js standard style
https://standardjs.com/
2018-10-25 19:33:38 +10:30
curben 13b9218525 Use brighter colours, increase the size from 30px to 48px
svg optimised using svgo
https://www.npmjs.com/package/svgo
2018-10-03 18:48:15 +09:30
curben 983b522b7c Limit max width of picture to 500px, remove dpr_auto
https://cloudinary.com/documentation/responsive_images#automatic_image_width
dpr is not widely supported https://www.caniuse.com/#feat=client-hints-dpr-width-viewport
2018-10-02 21:11:43 +09:30
curben af0dde9483 Fix typo in cloudinary script 2018-10-02 09:45:02 +09:30
curben adf707c0fb Add cloudinary call
https://cloudinary.com/documentation/responsive_images#step_3_call_the_cloudinary_responsive_method
19e3cd1bcb
2018-10-01 21:30:53 +09:30
curben 19e3cd1bcb Add cloudinary tag plugin 2018-10-01 12:20:54 +09:30