@endpush
@push('before_scripts')
- {{-- Safari doesn't support native smooth scrolling so an alternative is required --}}
- <script src="{{ asset('js/smooth-scroll.js') }}"></script>
{{-- Gumshoe is a scroll spy library for highlighting the current menu section --}}
<script src="{{ asset('js/gumshoe.js') }}"></script>
<script>
// Copy Gumshoe (Scroll Spy) script
mix.copy('node_modules/gumshoejs/dist/gumshoe.js', 'public/js');
-
-// Copy Smooth Scroll library (Safari doesn't support native CSS version)
-mix.copy('node_modules/smooth-scroll/dist/smooth-scroll.min.js', 'public/js/smooth-scroll.js');