temporarily use bootstrap cdn for js-files

This commit is contained in:
Jannis Portmann 2021-05-05 22:49:11 +02:00
parent c3e56756cb
commit d32e62c01b
2 changed files with 7 additions and 4 deletions

View file

@ -9,7 +9,7 @@
import './styles/app.scss';
// start the Stimulus application
import './bootstrap';
// import './bootstrap';
// Fontawesome
import '@fortawesome/fontawesome-free/js/fontawesome'

View file

@ -10,6 +10,9 @@
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1">
@ -24,13 +27,13 @@
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item">
<a class="nav-link" href=" {{ path('homepage') }} ">Offers</a>
<a class="nav-link" href=" {{ path('homepage') }} "><i class="fas fa-seedling"></i> Offers</a>
</li>
<li class="nav-item">
<a class="nav-link" href="{{ path('user_page') }}">User</a>
<a class="nav-link" href="{{ path('user_page') }}"><i class="fas fa-user"></i> User</a>
</li>
<li>
<a class="nav-link" href="{{ path('new_offer') }}">New Offer</a>
<a class="nav-link" href="{{ path('new_offer') }}"><i class="fas fa-plus-square"></i> New Offer</a>
</li>
</ul>
</div>