From 65c774a64c085bd8981cbee2d78c19a5b39871e1 Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Mon, 24 Aug 2015 10:46:13 +0200 Subject: [PATCH] Added a SVG-graphic as logo --- Gruntfile.js | 20 +++++++++++++++++++- html/layout.html | 9 +++++++-- img/mo.svg | 1 + less/frontend.less | 12 ++++++++++++ package.json | 5 +++-- 5 files changed, 42 insertions(+), 5 deletions(-) create mode 100644 img/mo.svg diff --git a/Gruntfile.js b/Gruntfile.js index a51b0fa..9125a55 100644 --- a/Gruntfile.js +++ b/Gruntfile.js @@ -3,6 +3,7 @@ module.exports = function(grunt) { grunt.loadNpmTasks('grunt-contrib-copy'); grunt.loadNpmTasks('grunt-contrib-less'); grunt.loadNpmTasks('grunt-contrib-watch'); + grunt.loadNpmTasks('grunt-svgstore'); grunt.initConfig({ @@ -28,6 +29,19 @@ module.exports = function(grunt) { } }, + svgstore: { + options: { + cleanup: true + }, + sprite: { + files: { + 'dist/img/sprite.svg': [ + 'img/mo.svg' + ] + } + } + }, + watch: { copy: { files: [ 'html/**/*.html' ], @@ -36,11 +50,15 @@ module.exports = function(grunt) { less: { files: [ 'less/**/*.less' ], tasks: [ 'less' ] + }, + svgstore: { + files: [ 'img/**/*.svg' ], + tasks: [ 'svgstore' ] } } }); - grunt.registerTask('default', [ 'copy', 'less' ]); + grunt.registerTask('default', [ 'copy', 'less', 'svgstore' ]); }; diff --git a/html/layout.html b/html/layout.html index be958d5..fc5d9d1 100644 --- a/html/layout.html +++ b/html/layout.html @@ -1,5 +1,5 @@ - + @@ -16,7 +16,12 @@
-

yourSHOUTER - Startseite

+

+ + + + Simple Example-Project for Template-Development +