diff --git a/.bowerrc b/.bowerrc deleted file mode 100644 index 1885a4ea..00000000 --- a/.bowerrc +++ /dev/null @@ -1,3 +0,0 @@ -{ - "directory": "vendor/bower_components" -} diff --git a/app.yml b/app.yml index f1148764..c325d993 100644 --- a/app.yml +++ b/app.yml @@ -3,7 +3,7 @@ api: '1' sculpin: theme: build: - bower: yes + bower: no npm: no type: gulp yarn: yes diff --git a/assets/sass/blog-post.sass b/assets/sass/blog-post.sass index 8ceb2bd1..5aae9333 100644 --- a/assets/sass/blog-post.sass +++ b/assets/sass/blog-post.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' .post-pager clear: both diff --git a/assets/sass/blog.sass b/assets/sass/blog.sass index 674bdfc6..9a6c0478 100644 --- a/assets/sass/blog.sass +++ b/assets/sass/blog.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' .page--blog__list ul.posts diff --git a/assets/sass/experience.sass b/assets/sass/experience.sass index 202ba3d6..99a7d764 100644 --- a/assets/sass/experience.sass +++ b/assets/sass/experience.sass @@ -1,5 +1,5 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .experience-item diff --git a/assets/sass/main.sass b/assets/sass/main.sass index 7d476575..9f21df9b 100644 --- a/assets/sass/main.sass +++ b/assets/sass/main.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap' @import 'base' @import 'mixins' diff --git a/assets/sass/project.sass b/assets/sass/project.sass index 516cfd9c..25c7bd5f 100644 --- a/assets/sass/project.sass +++ b/assets/sass/project.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .project-company diff --git a/assets/sass/talk.sass b/assets/sass/talk.sass index 3c048396..eb7f9ad6 100644 --- a/assets/sass/talk.sass +++ b/assets/sass/talk.sass @@ -1,4 +1,4 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .talk-full h1 diff --git a/assets/sass/testimonials.sass b/assets/sass/testimonials.sass index 1cbaff0a..2e2da81f 100644 --- a/assets/sass/testimonials.sass +++ b/assets/sass/testimonials.sass @@ -1,5 +1,5 @@ -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' -@import '../../vendor/bower_components/bootstrap-sass/assets/stylesheets/bootstrap/variables' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/mixins/clearfix' +@import '../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/variables' @import 'mixins' .testimonial diff --git a/bower.json b/bower.json deleted file mode 100644 index 12927282..00000000 --- a/bower.json +++ /dev/null @@ -1,9 +0,0 @@ -{ - "name": "oliverdavies.uk", - "devDependencies": { - "bootstrap-sass": "~3.3.6", - "font-awesome": "fontawesome#~4.5.0", - "jquery2": "^2.0.0", - "prism": "prismjs#^1.6.0" - } -} diff --git a/features/home.feature b/features/home.feature index a1164ea1..7b35919e 100644 --- a/features/home.feature +++ b/features/home.feature @@ -6,7 +6,7 @@ Feature: Home Scenario: Given I am on the homepage Then the response status code should be 200 - And I should see "I’m a Web Developer and System Administrator based in Wales, UK." + And I should see "a Web Developer and System Administrator based in Wales, UK." And the active menu link should be "About" And the page title should be "Web Developer, System Administrator - PHP, Drupal, Symfony, Linux | Oliver Davies" And the page title should not be "About | Oliver Davies" diff --git a/gulpfile.js b/gulpfile.js index b92db22b..d9eb4510 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -5,7 +5,6 @@ var plugins = require('gulp-load-plugins')(); var del = require('del'); var config = { - bowerDir: 'vendor/bower_components', fontsDir: 'source/assets/fonts', js: { sourceDir: 'assets/js', @@ -46,14 +45,14 @@ app.sass = function (sourceFiles, filename) { gulp.task('styles', function () { app.sass([ - config.bowerDir + '/font-awesome/css/font-awesome.css', + 'node_modules/font-awesome/css/font-awesome.css', config.sass.sourceDir + '/main.sass' ], 'main.css'); app.sass(config.sass.sourceDir + '/about.sass', 'about.css'); app.sass(config.sass.sourceDir + '/blog.sass', 'blog.css'); app.sass([ - config.bowerDir + '/prism/themes/prism-twilight.css', + 'node_modules/prism/themes/prism-twilight.css', config.sass.sourceDir + '/blog-post.sass' ], 'blog-post.css'); app.sass(config.sass.sourceDir + '/experience.sass', 'experience.css'); @@ -65,10 +64,10 @@ gulp.task('styles', function () { gulp.task('scripts', function () { return gulp.src([ - config.bowerDir + '/jquery2/jquery.js', - config.bowerDir + '/bootstrap-sass/assets/javascripts/bootstrap.js', - config.bowerDir + '/prism/prism.js', - config.bowerDir + '/prism/components/prism-{apacheconf,bash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js', + 'node_modules/jquery/dist/jquery.js', + 'node_modules/bootstrap-sass/assets/javascripts/bootstrap.js', + 'node_modules/prism/prism.js', + 'node_modules/prism/components/prism-{apacheconf,bash,css,diff,ini,json,nginx,php,sass,scss,sql,less,twig,xml,yaml}.js', config.js.sourceDir + config.js.pattern ]) .pipe(plugins.plumber()) @@ -80,7 +79,7 @@ gulp.task('scripts', function () { }); gulp.task('fonts', function () { - return gulp.src(config.bowerDir + "/font-awesome/fonts/*") + return gulp.src('node_modules/font-awesome/fonts/*') .pipe(gulp.dest(config.fontsDir)); }); diff --git a/package.json b/package.json index e85b32da..f3a12277 100644 --- a/package.json +++ b/package.json @@ -21,5 +21,11 @@ "gulp-sourcemaps": "^1.6.0", "gulp-uglify": "^1.5.3", "gulp-util": "^3.0.7" + }, + "dependencies": { + "bootstrap-sass": "^3.3.7", + "font-awesome": "^4.7.0", + "jquery.2": "^1.0.0", + "prismjs": "^1.6.0" } } diff --git a/source/_partials/availability.twig b/source/_partials/availability.twig index bd839f18..bd8b4685 100644 --- a/source/_partials/availability.twig +++ b/source/_partials/availability.twig @@ -1,7 +1,5 @@