diff --git a/assets/scss/app.scss b/assets/scss/app.scss index 693138b..e6cf8be 100644 --- a/assets/scss/app.scss +++ b/assets/scss/app.scss @@ -1,4 +1,8 @@ @import '~mdb-ui-kit/src/scss/mdb.free'; +@import '~@fortawesome/fontawesome-free/scss/fontawesome.scss'; +@import '~@fortawesome/fontawesome-free/scss/solid.scss'; +@import '~@fortawesome/fontawesome-free/scss/regular.scss'; +@import '~@fortawesome/fontawesome-free/scss/brands.scss'; #body { width: 80vw; diff --git a/package-lock.json b/package-lock.json index 7036c6c..a1c901d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1074,6 +1074,12 @@ "to-fast-properties": "^2.0.0" } }, + "@fortawesome/fontawesome-free": { + "version": "5.15.2", + "resolved": "https://registry.npmjs.org/@fortawesome/fontawesome-free/-/fontawesome-free-5.15.2.tgz", + "integrity": "sha512-7l/AX41m609L/EXI9EKH3Vs3v0iA8tKlIOGtw+kgcoanI7p+e4I4GYLqW3UXWiTnjSFymKSmTTPKYrivzbxxqA==", + "dev": true + }, "@stimulus/core": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/@stimulus/core/-/core-2.0.0.tgz", diff --git a/package.json b/package.json index d22f133..691a7ef 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,6 @@ { "devDependencies": { + "@fortawesome/fontawesome-free": "^5.15.2", "@symfony/stimulus-bridge": "^1.1.0", "@symfony/webpack-encore": "^0.32.0", "bootstrap": "^4.5.3", diff --git a/templates/post/posts.html.twig b/templates/post/posts.html.twig index f4708ce..1d9cb7a 100644 --- a/templates/post/posts.html.twig +++ b/templates/post/posts.html.twig @@ -3,6 +3,11 @@ {% block title %}Administration - Posts{% endblock %} {% block body %} +