This commit is contained in:
2023-10-04 16:00:22 +02:00
parent ebac3e185b
commit 46e3ed44a1
15 changed files with 4738 additions and 1 deletions

22
assets/app.js Normal file
View File

@ -0,0 +1,22 @@
/*
* Welcome to your app's main JavaScript file!
*
* We recommend including the built version of this JavaScript file
* (and its CSS file) in your base layout (base.html.twig).
*/
// any CSS you import will output into a single css file (app.css in this case)
import './styles/app.scss';
const $ = require('jquery');
// this "modifies" the jquery module: adding behavior to it
// the bootstrap module doesn't export/return anything
require('bootstrap');
// or you can include specific pieces
// require('bootstrap/js/dist/tooltip');
// require('bootstrap/js/dist/popover');
$(document).ready(function() {
$('[data-toggle="popover"]').popover();
});

4
assets/styles/app.scss Normal file
View File

@ -0,0 +1,4 @@
$primary: darken(#428bca, 20%);
// the ~ allows you to reference things in node_modules
@import "~bootstrap/scss/bootstrap";