Skip to content

Commit 4eec538

Browse files
Update sidebar.blade.php
Adds the ability to insert code snippets into the head and body element laid out by the sidebar with blade by including: @Push('stylesheets') <!-- your code --> @endpush @Push('scripts') <!-- your code --> @endpush
1 parent 5586a17 commit 4eec538

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

resources/views/layouts/sidebar.blade.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,8 @@ function has_sslsb( $domain ) {
8585
@else
8686
<link rel="icon" type="image/svg+xml" href="{{ asset('littlelink/images/logo.svg') }}">
8787
@endif
88+
89+
@stack('stylesheets')
8890
</head>
8991
<body>
9092

@@ -314,5 +316,7 @@ function URL_event_exists(string $url): bool
314316
<script src="{{ asset('/studio/js/popper.js') }}"></script>
315317
<script src="{{ asset('/studio/js/bootstrap.min.js') }}"></script>
316318
<script src="{{ asset('/studio/js/main-dashboard.js') }}"></script>
319+
320+
@stack('scripts')
317321
</body>
318322
</html>

0 commit comments

Comments
 (0)