2021-04-24 16:59:51 +02:00
|
|
|
/*
|
|
|
|
* 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';
|
|
|
|
|
|
|
|
// start the Stimulus application
|
2021-05-06 13:21:07 +02:00
|
|
|
require('bootstrap');
|
2021-04-27 23:22:12 +02:00
|
|
|
|
|
|
|
// 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'
|
2021-05-04 11:59:08 +02:00
|
|
|
|
2022-01-25 18:27:51 +01:00
|
|
|
// Cookie-consent
|
|
|
|
import 'cookie-notice/dist/cookie.notice.min';
|
2022-01-18 17:50:54 +01:00
|
|
|
|
2022-01-25 18:27:51 +01:00
|
|
|
new cookieNoticeJS({
|
|
|
|
// Position for the cookie-notifier (default=bottom)
|
|
|
|
'cookieNoticePosition': 'bottom',
|
2022-01-18 17:50:54 +01:00
|
|
|
|
2022-01-25 18:27:51 +01:00
|
|
|
// The message will be shown again in X days
|
|
|
|
'expiresIn': 365,
|
2021-05-04 14:28:06 +02:00
|
|
|
|
2022-01-25 18:27:51 +01:00
|
|
|
// Specify a custom font family and size in pixels
|
|
|
|
'fontFamily': 'inherit',
|
|
|
|
'fontSize': '.9rem',
|
2021-05-27 16:40:00 +02:00
|
|
|
|
2022-01-25 18:27:51 +01:00
|
|
|
// Dismiss button background color
|
|
|
|
'buttonBgColor': '#343a40',
|
|
|
|
|
|
|
|
// Dismiss button text color
|
|
|
|
'buttonTextColor': '#fff',
|
|
|
|
|
|
|
|
// Notice background color
|
|
|
|
'noticeBgColor': '#000',
|
|
|
|
|
|
|
|
// Notice text color
|
|
|
|
'noticeTextColor': '#fff',
|
|
|
|
|
|
|
|
// Print debug output to the console (default=false)
|
|
|
|
'debug': false
|
|
|
|
});
|