Open peterblazejewicz opened 9 years ago
After recent revert: https://github.com/marionettejs/marionettejs.com/commit/740f3ce8bedbd80fad119dbd5ea0ea642441444b the source code has now inlined SVGs images for brand and branded text visible in above the fold section - which allowed us to completely solve problem with ATF topic:
above the fold
This is fine - but we should figure out the way to automate conversion process from SVG source file: https://github.com/marionettejs/marionettejs.com/blob/master/src/images/marionette.svg into this one: https://github.com/marionettejs/marionettejs.com/blob/master/src/partials/_marionette_logo.jade
Ideally Grunt task. I've been using shell command:
echo -n `cat marionette-text.svg` | base64 | pbcopy
to manually create content.
:+1:
Maybe this can be a solution?
https://www.npmjs.com/package/grunt-datauri-variables
@ingro Thanks! I'll look
After recent revert: https://github.com/marionettejs/marionettejs.com/commit/740f3ce8bedbd80fad119dbd5ea0ea642441444b the source code has now inlined SVGs images for brand and branded text visible in
above the fold
section - which allowed us to completely solve problem with ATF topic:This is fine - but we should figure out the way to automate conversion process from SVG source file: https://github.com/marionettejs/marionettejs.com/blob/master/src/images/marionette.svg into this one: https://github.com/marionettejs/marionettejs.com/blob/master/src/partials/_marionette_logo.jade
Ideally Grunt task. I've been using shell command:
to manually create content.