<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>@ViewBag.Title – приложение ASP.NET</title>
    @Styles.Render("~/Content/css")
    @Scripts.Render("~/bundles/modernizr")
</head>
<body>
    <nav class="navbar navbar-expand-sm navbar-dark fixed-top bg-dark">
        <div class="container">
            <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"></button>
            <a class="navbar-brand" href="/">Test React</a>
            <div class="navbar-collapse collapse" id="navbarSupportedContent">
                <ul class="nav navbar-nav mr-auto">
                    <li class="nav-item"><a href="/" class="nav-link">Home</a></li>
                    <li class="nav-item"><a href="/Home/Test" class="nav-link">Test</a></li>
                    <li class="nav-item"><a href="/ReactCRUD/Index" class="nav-link">React CRUD</a></li>
                    @*<li class="nav-item"><a href="/Home/About" class="nav-link">About</a></li>
        <li class="nav-item"><a href="/Home/Contact" class="nav-link">Contact</a></li>*@
                </ul>

                <ul class="nav navbar-nav navbar-right mr-auto">
                    <li class="nav-item dropdown">
                        <a class="nav-link dropdown-toggle" href="#" id="navbarDropdown1" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">React</a>
                        <div class="dropdown-menu" aria-labelledby="navbarDropdown1">

                            @Html.ActionLink("Index", "Index", "React", null, new { @class = "dropdown-item" })
                            @Html.ActionLink("Test1_Say", "Test1_Say", "React", new { s = "I'm work" }, new { @class = "dropdown-item" })
                            @Html.ActionLink("Test2_Components", "Test2_Components", "React", null, new { @class = "dropdown-item" })
                            @Html.ActionLink("Test3_Props", "Test3_Props", "React", new { s1 = "I'm work1", s2 = "I'm work2" }, new { @class = "dropdown-item" })
                            @Html.ActionLink("Test4_State", "Test4_State", "React", null, new { @class = "dropdown-item" })
                            @Html.ActionLink("Test5_Event", "Test5_Event", "React", null, new { @class = "dropdown-item" })
                            @Html.ActionLink("Test6_ParentChild", "Test6_ParentChild", "React", null, new { @class = "dropdown-item" })

                        </div>
                    </li>
                </ul>

            </div>
        </div>
    </nav>
   
    <div class="container body-content">
        @RenderBody()
        <hr />
        <footer>
            <p>&copy; @DateTime.Now.Year – приложение ASP.NET</p>
        </footer>
    </div>

    @Scripts.Render("~/bundles/jquery")
    @Scripts.Render("~/bundles/bootstrap")
    @RenderSection("scripts", required: false)
</body>
</html>
