Commit Graph

20 Commits

Author SHA1 Message Date
curben 024ac67308
feat(img): reverse proxy /img/ to cdn 2019-09-03 17:40:30 +01:00
curben b4dd405a5a
style: array destructuring
https://github.com/airbnb/javascript#destructuring--array
2019-09-03 03:48:42 +01:00
curben b6acf222e2
feat(lazy_loading): remove loading-attribute-polyfill due to requirement of inline script
* it requires 'unsafe-inline' for script-src policy
2019-08-30 08:23:06 +01:00
curben 503584a543
fix(cloudinary): Statically not support animated webp 2019-08-30 07:24:07 +01:00
curben bde71fd644
fix(cloudinary): <noscript> should have class attribute 2019-08-30 06:29:19 +01:00
curben f39bab62de
refactor(cloudinary): combine variables 2019-08-30 05:52:16 +01:00
curben 63a8fccc48 Revert "fix(head): meta generator tag should be after <title>"
This reverts commit 710b9b25a1.
2019-08-30 05:50:10 +01:00
curben 710b9b25a1
fix(head): meta generator tag should be after <title>
- so that browser can parse <title> asap
2019-08-30 05:43:20 +01:00
curben 0c5735f7b6
fix(cloudinary): fileName should be let 2019-08-30 04:34:33 +01:00
curben e6637dcef3
refactor(cloudinary): use Statically Imgpx image resize function
- https://developers.marsble.com/docs/imgpx
2019-08-30 04:31:44 +01:00
curben 65d463bc9d
feat(img): add image lazyloading
* https://dev.to/yashints/native-lazy-loading-is-landed-in-chrome-2kli
* https://github.com/mfranzke/loading-attribute-polyfill
2019-08-26 09:26:02 +09:30
curben 691709711c
fix(cloudinary): extra bracket 2019-08-26 09:14:35 +09:30
curben c416aedb2d
feat(cloudinary): use Staticaly CDN 2019-08-26 06:18:09 +09:30
curben ec2de84f66
fix(cloudinary): use similar resolutions in typing.css 2019-08-25 19:09:26 +09:30
curben c59f1c0740
refactor(cloudinary): remove unused w_auto and c_scale parameters
* only applicable in Cloudinary js library
2019-08-25 18:41:52 +09:30
curben bb5b0fdd39
docs(cloudinary): set username as a variable 2019-08-25 17:23:29 +09:30
curben a15d53f6f9
refactor(cloudinary): remove unused loading.svg 2019-08-25 17:19:09 +09:30
curben 7436391bc6
fix(cloudinary): include more sizes 2019-08-25 17:15:44 +09:30
curben 4baa40a641
refactor: use native responsive image function
* https://developer.mozilla.org/en-US/docs/Learn/HTML/Multimedia_and_embedding/Responsive_images
* https://cloudinary.com/blog/responsive_images_with_srcset_sizes_and_cloudinary
* https://www.html5rocks.com/en/tutorials/responsive/picture-element/
* https://alligator.io/html/picture-element/
* https://www.smashingmagazine.com/2014/05/responsive-images-done-right-guide-picture-srcset/
2019-08-25 16:07:58 +09:30
curben 35daa88cfb
chore: move scripts to root folder 2019-08-25 14:37:12 +09:30
Renamed from themes/typing/scripts/cloudinary.js (Browse further)