From 334fe87c815a4abdf2e1e4855b5cc5d5d30c8c50 Mon Sep 17 00:00:00 2001 From: tksheppard Date: Thu, 28 Dec 2023 17:13:40 -0500 Subject: [PATCH 1/4] Upgrade fontawesome free to recent version --- package.json | 2 +- yarn.lock | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package.json b/package.json index 0b20f30..15c9298 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "license": "GPL-3.0", "private": true, "dependencies": { - "@fortawesome/fontawesome-free": "^6.2.0", + "@fortawesome/fontawesome-free": "^6.5.1", "bootstrap": "^5.2.2", "normalize.css": "^8.0.1" }, diff --git a/yarn.lock b/yarn.lock index d66e02b..e125a13 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,10 +2,10 @@ # yarn lockfile v1 -"@fortawesome/fontawesome-free@^6.2.0": - version "6.2.0" - resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.2.0.tgz#ba3510825b332816fe7190f28827f8cb33a298b5" - integrity sha512-CNR7qRIfCwWHNN7FnKUniva94edPdyQzil/zCwk3v6k4R6rR2Fr8i4s3PM7n/lyfPA6Zfko9z5WDzFxG9SW1uQ== +"@fortawesome/fontawesome-free@^6.5.1": + version "6.5.1" + resolved "https://registry.yarnpkg.com/@fortawesome/fontawesome-free/-/fontawesome-free-6.5.1.tgz#55cc8410abf1003b726324661ce5b0d1c10de258" + integrity sha512-CNy5vSwN3fsUStPRLX7fUYojyuzoEMSXPl7zSLJ8TgtRfjv24LOnOWKT2zYwaHZCJGkdyRnTmstR0P+Ah503Gw== "@jridgewell/gen-mapping@^0.3.0": version "0.3.2" From d5195c57ba48d749d39cc537e3e70e215c748e6b Mon Sep 17 00:00:00 2001 From: tksheppard Date: Thu, 28 Dec 2023 17:14:15 -0500 Subject: [PATCH 2/4] Update fontawesome webfont usage --- gulpfile.js | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/gulpfile.js b/gulpfile.js index 762592d..fec1cf3 100644 --- a/gulpfile.js +++ b/gulpfile.js @@ -32,11 +32,18 @@ const paths = { dest: './dist/fonts/' }, faFonts: { - src: './node_modules/@fortawesome/fontawesome-free/webfonts/*', + src: [ + './node_modules/@fortawesome/fontawesome-free/webfonts/fa-brands-400.*', + './node_modules/@fortawesome/fontawesome-free/webfonts/fa-solid-900.*' + ], dest: './dist/webfonts/' }, faCss: { - src: './node_modules/@fortawesome/fontawesome-free/css/all.min.css', + src: [ + './node_modules/@fortawesome/fontawesome-free/css/brands.min.css', + './node_modules/@fortawesome/fontawesome-free/css/solid.min.css', + './node_modules/@fortawesome/fontawesome-free/css/fontawesome.min.css', + ], dest: './dist/css/' }, normalize: { From ef5f83e633d1ec84c2508c04803c8d18e7b6e495 Mon Sep 17 00:00:00 2001 From: tksheppard Date: Thu, 28 Dec 2023 17:15:02 -0500 Subject: [PATCH 3/4] Add specific fontawesome css needed --- partials/_includes.ascx | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/partials/_includes.ascx b/partials/_includes.ascx index f260562..5c74f48 100644 --- a/partials/_includes.ascx +++ b/partials/_includes.ascx @@ -1,8 +1,10 @@ - - + + + + From fbcead7982009fc7cd120bf90c050015672e2ddf Mon Sep 17 00:00:00 2001 From: tksheppard Date: Thu, 28 Dec 2023 17:15:18 -0500 Subject: [PATCH 4/4] Remove fontawesome pro webfont usage --- partials/_includes.ascx | 1 - 1 file changed, 1 deletion(-) diff --git a/partials/_includes.ascx b/partials/_includes.ascx index 5c74f48..ccd7d19 100644 --- a/partials/_includes.ascx +++ b/partials/_includes.ascx @@ -17,7 +17,6 @@ var fonts = new string[] { "dist/webfonts/fa-brands-400", - "dist/webfonts/fa-regular-400", "dist/webfonts/fa-solid-900", "dist/fonts/OpenSans-Bold", "dist/fonts/OpenSans-BoldItalic",