<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">

        <title>{{ $setting->siteName($pageTitle ?? '') }}</title>
        <link rel="shortcut icon" type="image/png" href="{{ getImage(getFilePath('logoFavicon') . '/favicon.png') }}">

        <link rel="stylesheet" href="{{ asset('assets/universal/css/bootstrap.css') }}">
        <link rel="stylesheet" href="{{ asset('assets/universal/css/tabler.css') }}">
        <link rel="stylesheet" href="{{ asset('assets/universal/css/select2.min.css') }}">
        <link rel="stylesheet" href="{{ asset('assets/universal/css/nice-select.css') }}">

        @stack('page-style-lib')

        <link rel="stylesheet" href="{{ asset('assets/staff/css/main.css') }}">

        @stack('page-style')
    </head>
    <body>
        @yield('content')

        <script src="{{ asset('assets/universal/js/jquery-3.7.1.min.js') }}"></script>
        <script src="{{ asset('assets/universal/js/bootstrap.js') }}"></script>
        <script src="{{ asset('assets/universal/js/select2.min.js') }}"></script>
        <script src="{{ asset('assets/universal/js/nice-select.min.js') }}"></script>

        @stack('page-script-lib')

        <script src="{{ asset('assets/staff/js/main.js') }}"></script>

        @stack('page-script')

        @include('partials.toasts')
    </body>
</html>
