2022-05-06 13:52:18 +02:00
|
|
|
// assets/js/index.js
|
|
|
|
|
2022-05-11 14:48:04 +02:00
|
|
|
import '../styles/app.scss'
|
|
|
|
import 'fork-awesome/scss/fork-awesome.scss'
|
|
|
|
|
2022-10-28 18:48:25 +02:00
|
|
|
require('bootstrap')
|
|
|
|
import 'bootswatch/dist/slate/bootstrap.min.css'
|
2022-05-11 14:48:04 +02:00
|
|
|
|
2022-10-28 18:48:25 +02:00
|
|
|
$(document).ready(function () {
|
|
|
|
console.log('ready')
|
|
|
|
$('#toggleSidebar').on('click', function () {
|
2022-11-01 14:57:36 +01:00
|
|
|
let toggleIcon = $('#toggleIcon')
|
|
|
|
toggleIcon.toggleClass('fa fa-lg fa-fw fa-caret-square-o-left')
|
|
|
|
toggleIcon.toggleClass('fa fa-lg fa-fw fa-caret-square-o-right')
|
2022-10-28 18:48:25 +02:00
|
|
|
$('#sidebar').toggleClass('active')
|
|
|
|
})
|
|
|
|
})
|