<!DOCTYPE html>
<html lang="fa">

<head>

    <meta charset="utf-8">
    <meta name="viewport" content="width=1190, initial-scale=1" />
    <meta name="description" content="فیلما - تلویزیون">
    <meta name="author" content="Filmaa">

    <title>فیلما - @yield('title')</title>


    <!-- Theme CSS -->
    <link href="/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">    <link href="/dist/css/bootstrap.rtl.min.css" rel="stylesheet">
    <link href="/dist/css/filmaa.css" rel="stylesheet">
    @yield('style')
</head>

<body id="page-top">

<!-- Navigation -->
{{--
<nav class="navbar navbar-expand-lg bg-secondary" id="mainNav">
    <div class="container rowfcosuable" id="row-0">
        <a class="navbar-brand" href="#page-top">فیلما</a>

        <div class="navbar-collapse">
            <ul class="navbar-nav ml-auto float-right">
                <li class="nav-item mx-0 mx-lg-1">
                    <a id="1" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/">صفحه اصلی</a>
                </li>
                <li class="nav-item mx-0 mx-lg-1">
                    <a id="2" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/genres">دسته بندی ها</a>
                </li>
                <li class="nav-item mx-0 mx-lg-1">
                    <a id="3" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/search">جستجو</a>
                </li>
                @if (\Illuminate\Support\Facades\Request::path() == '/')
                    <li class="nav-item mx-0 mx-lg-1 hidden">
                        <a id="4" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="javascript:history.go(-1)">بازگشت</a>
                    </li>
                @else
                    <li class="nav-item mx-0 mx-lg-1">
                        <a id="4" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="javascript:history.go(-1)">بازگشت</a>
                    </li>
                @endif

            </ul>
            <ul class="navbar-nav float-left">
                @if(checkLogin())
                    <li class="nav-item mx-0 mx-lg-1 ">
                        <a id="5" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable logoutBtn" href="#">خروج از حساب
                            کاربری</a>
                    </li>
                @else
                    <li class="nav-item mx-0 mx-lg-1 ">
                        <a id="5" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/login">ورود به حساب
                            کاربری</a>
                    </li>
                @endif
            </ul>
        </div>
    </div>
</nav>
--}}
<nav class="navbar navbar-inverse">
    <div class="container-fluid rowfcosuable" id="row-0">
        <div class="navbar-header">
            <a class="navbar-brand" href="#">فیلما</a>
        </div>
        <ul class="nav navbar-nav">
            <li class="">
                <a id="1" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/">صفحه اصلی</a>
            </li>
            <li class="">
                <a id="2" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/genres">دسته بندی ها</a>
            </li>
            <li class="">
                <a id="3" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="/search">جستجو</a>
            </li>
  {{--          @if (\Illuminate\Support\Facades\Request::path() == '/')
            <li class="hidden">
                <a id="4" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="javascript:history.go(-1)">بازگشت</a>
            </li>
                @else--}}
                <li class="">
                    <a id="4" class="nav-link py-3 px-0 px-lg-3 rounded fcosuable" href="javascript:history.go(-1)">بازگشت</a>
                </li>

            {{--@endif--}}


        </ul>

    </div>
</nav>

@yield('content')

<!-- Bootstrap core JavaScript -->
<script src="/dist//vendor/jquery/jquery.min.js"></script>
<script src="/dist/js/bootstrap.min.js"></script>
<script src="/dist/js/js.cookie.min.js"></script>

<!-- Custom scripts for this template -->
@yield('script')

</body>
