moved content to app.js

This commit is contained in:
tracer 2022-11-03 18:51:48 +01:00
parent 5cc320d656
commit 39c6b5a22b
1 changed files with 0 additions and 15 deletions

View File

@ -1,17 +1,2 @@
// assets/js/index.js
import '../styles/app.scss'
import 'fork-awesome/scss/fork-awesome.scss'
require('bootstrap')
import 'bootswatch/dist/slate/bootstrap.min.css'
$(document).ready(function () {
console.log('ready')
$('#toggleSidebar').on('click', function () {
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')
$('#sidebar').toggleClass('active')
})
})