use font-awesome

This commit is contained in:
Jannis Portmann 2021-04-27 23:22:12 +02:00
parent e8cfb87012
commit 781c8602d9
5 changed files with 19746 additions and 3701 deletions

View file

@ -10,3 +10,9 @@ import './styles/app.scss';
// start the Stimulus application // start the Stimulus application
import './bootstrap'; import './bootstrap';
// Fontawesome
import '@fortawesome/fontawesome-free/js/fontawesome'
import '@fortawesome/fontawesome-free/js/solid'
import '@fortawesome/fontawesome-free/js/regular'
import '@fortawesome/fontawesome-free/js/brands'

15973
package-lock.json generated Normal file

File diff suppressed because it is too large Load diff

View file

@ -1,5 +1,6 @@
{ {
"devDependencies": { "devDependencies": {
"@fortawesome/fontawesome-free": "^5.15.3",
"@symfony/stimulus-bridge": "^2.0.0", "@symfony/stimulus-bridge": "^2.0.0",
"@symfony/webpack-encore": "^1.0.0", "@symfony/webpack-encore": "^1.0.0",
"bootstrap": "^4.6.0", "bootstrap": "^4.6.0",

View file

@ -18,7 +18,7 @@
<body> <body>
<nav class="navbar navbar-expand-lg navbar-light bg-light"> <nav class="navbar navbar-expand-lg navbar-light bg-light">
<a class="navbar-brand" href="#">Plantex</a> <a class="navbar-brand" href="#"><i class="fas fa-seedling"></i>Plantex</a>
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span> <span class="navbar-toggler-icon"></span>
</button> </button>

7465
yarn.lock

File diff suppressed because it is too large Load diff