From b911cccd991b673c4c96257290517c9ce1e02f28 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Mon, 16 May 2016 21:46:16 +0100 Subject: [PATCH] Add font-awesome --- content/pages/index.html | 4 ++++ package.json | 4 ++-- theme/static/src/scss/index.scss | 3 +++ 3 files changed, 9 insertions(+), 2 deletions(-) diff --git a/content/pages/index.html b/content/pages/index.html index 516e7c8..b379dbe 100644 --- a/content/pages/index.html +++ b/content/pages/index.html @@ -65,24 +65,28 @@
+

Server

Designing and building high-performance server applications and environments

+

Client

Creating functional, fast, and mobile-friendly websites

+

Mobile

Building lightweight, cross-platform mobile applications

+

Hardware

Constructing workflow-specific Desktops, Servers and Notebooks

diff --git a/package.json b/package.json index 5fe484d..798e97b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "build": "npm run create-build-dirs && npm run build-fonts && npm run build-js && npm run build-scss", "build-js": "./scripts/build-js.sh", "build-scss": "bash scripts/build-scss.sh", - "build-fonts": "cp -R node_modules/bootstrap-sass/assets/fonts/bootstrap/* theme/static/build/fonts/ && cp -R node_modules/ionicons/dist/fonts theme/static/build/ ", + "build-fonts": "cp -R node_modules/bootstrap-sass/assets/fonts/bootstrap/* theme/static/build/fonts/ && cp -R node_modules/font-awesome/fonts theme/static/build/ ", "create-build-dirs": "mkdir -p theme/static/build/js/lib theme/static/build/fonts theme/static/build/css theme/static/build/img", "test": "npm run lint", "spellcheck": "mdspell --en-gb -ranx \"templates/**/*.*\"" @@ -19,7 +19,7 @@ "dependencies": { "animate.css": "=3.5.1", "bootstrap-sass": "=3.3.6", - "ionicons": "=3.0.0", + "font-awesome": "=4.6.1", "jquery": "=2.2.3", "jquery.easing": "=1.3.2", "underscore": "=1.8.3" diff --git a/theme/static/src/scss/index.scss b/theme/static/src/scss/index.scss index 77d5884..039cf3e 100644 --- a/theme/static/src/scss/index.scss +++ b/theme/static/src/scss/index.scss @@ -11,6 +11,9 @@ @import "node_modules/bootstrap-sass/assets/stylesheets/_bootstrap"; @import "node_modules/animate.css/animate"; +$fa-font-path: "../fonts"; +@import "node_modules/font-awesome/scss/font-awesome.scss"; + /* @end Libraries */