示例#1
0
        public void saveSiteStatic(SiteStatic SiteStatic, IFormFile Coverpic, IFormFile Footerpic, string lang)
        {
            if (Coverpic != null)
            {
                SiteStatic.CoverImageName = Guid.NewGuid() + Path.GetExtension(Coverpic.FileName);
                string imagePath = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot/myImages", SiteStatic.CoverImageName);

                using (var stream = new FileStream(imagePath, FileMode.Create))
                {
                    Coverpic.CopyTo(stream);
                }
            }

            if (Footerpic != null)
            {
                SiteStatic.FooterImageName = Guid.NewGuid() + Path.GetExtension(Footerpic.FileName);
                string imagePath = Path.Combine(Directory.GetCurrentDirectory(), "wwwroot/myImages", SiteStatic.FooterImageName);

                using (var stream = new FileStream(imagePath, FileMode.Create))
                {
                    Footerpic.CopyTo(stream);
                }
            }
            SiteStatic.LanguageTitle = lang;
            _db.siteStatics.Add(SiteStatic);
            _db.SaveChanges();
        }
示例#2
0
        public IActionResult StaticInformations(SiteStatic siteStatic, IFormFile footerpic, IFormFile coverpic, string lang)
        {
            if (siteStatic.SiteStaticId == 0)
            {
                _postService.saveSiteStatic(siteStatic, coverpic, footerpic, lang);
            }
            else
            {
                _postService.updateSiteStatic(siteStatic, coverpic, footerpic, lang);
            }

            return(View(_postService.getSiteStaticInformation()));
        }
示例#3
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(113, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 6 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"

            ViewData["Title"] = "Index";
            Layout            = "~/Views/Shared/_mainLayout.cshtml";
            SiteStatic siteStatic = ViewBag.siteStatic as SiteStatic;

#line default
#line hidden
            BeginContext(321, 828, true);
            WriteLiteral(@"<style>
    .active {
        background-color: rgba(105, 104, 104, 0.50);
    }

    .content {
        padding-left: 5%;
        padding-right: 5%
    }

    .card {
        background-color: white;
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 10px
    }

        .card img {
            border-radius: 5px
        }

    .card-title {
        margin-top: 10px;
        font-weight: bold
    }

    .post-btn {
        color: white !important
    }

    .hashtag {
        color: black
    }

    .hashtags {
        padding-top: 5px;
        padding-left: 10px;
        padding-right: 10px;
        padding-bottom: 5px;
        font-size: small;
        border-radius: 10px;
        background-color: #c6c3c3;
        cursor: pointer
    }
</style>

");
            EndContext();
            BeginContext(1150, 54, false);
#line 57 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(await Component.InvokeAsync("SocialNetworksComponent"));

#line default
#line hidden
            EndContext();
            BeginContext(1204, 201, true);
            WriteLiteral("\r\n\r\n<div id=\"wrapper\">\r\n\r\n    <!-- Sidebar-wrapper -->\r\n    <!-- End Sidebar-wrapper -->\r\n    <!-- Page Content -->\r\n    <div id=\"page-content-wrapper\" style=\"background-color: #dcdada !important\">\r\n\r\n");
            EndContext();
#line 66 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            if (siteStatic != null)
            {
#line default
#line hidden
                BeginContext(1450, 57, true);
                WriteLiteral("            <div id=\"home\" class=\"parallax first-section\"");
                EndContext();
                BeginWriteAttribute("style", " style=\"", 1507, "\"", 1671, 3);
                WriteAttributeValue("", 1515, "background-image:url(", 1515, 21, true);
#line 68 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                WriteAttributeValue("", 1536, siteStatic.CoverImageName == null ? "myImages/michael-browning-D0ov97Td-xM-unsplash.jpg" : "myImages/" + siteStatic.CoverImageName, 1536, 133, false);

#line default
#line hidden
                WriteAttributeValue("", 1669, ");", 1669, 2, true);
                EndWriteAttribute();
                BeginContext(1672, 89, true);
                WriteLiteral(">\r\n                <div class=\"container-fluid\">\r\n                    <div class=\"row\">\r\n");
                EndContext();
#line 71 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                if (Model.Count() == 1 && Model.First().SectionId == 1)
                {
#line default
#line hidden
                    BeginContext(1870, 235, true);
                    WriteLiteral("                            <div class=\"col-md-4 content\"></div>\r\n                            <div class=\"col-md-4 content\">\r\n                                <div class=\"card\" style=\"width: 100%;\">\r\n                                    ");
                    EndContext();
                    BeginContext(2105, 117, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "ab54740dc7928b35a71b02ca24e0737790e16b948767", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    AddHtmlAttributeValue("", 2163, "~/posts/image/", 2163, 14, true);
#line 76 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    AddHtmlAttributeValue("", 2177, Model.First().PostImg, 2177, 22, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(2222, 126, true);
                    WriteLiteral("\r\n                                    <div class=\"card-body\">\r\n                                        <h5 class=\"card-title\">");
                    EndContext();
                    BeginContext(2349, 19, false);
#line 78 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(Model.First().Title);

#line default
#line hidden
                    EndContext();
                    BeginContext(2368, 78, true);
                    WriteLiteral("</h5>\r\n                                        <p class=\"card-text hashtag\">\r\n");
                    EndContext();
#line 80 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    if (Model.ToArray()[1].Hashtags != null && Model.ToArray()[1].Hashtags.Contains(','))
                    {
                        foreach (var hashtag in Model.ToArray()[1].Hashtags.Split(","))
                        {
#line default
#line hidden
                            BeginContext(2789, 76, true);
                            WriteLiteral("                                                    <span class=\"hashtags\">#");
                            EndContext();
                            BeginContext(2866, 7, false);
#line 84 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                            Write(hashtag);

#line default
#line hidden
                            EndContext();
                            BeginContext(2873, 9, true);
                            WriteLiteral("</span>\r\n");
                            EndContext();
#line 85 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        }
                    }

#line default
#line hidden
                    BeginContext(2980, 138, true);
                    WriteLiteral("\r\n                                        </p>\r\n                                        <br />\r\n                                        <a");
                    EndContext();
                    BeginWriteAttribute("href", " href=\"", 3118, "\"", 3152, 2);
                    WriteAttributeValue("", 3125, "/view/", 3125, 6, true);
#line 90 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    WriteAttributeValue("", 3131, Model.First().PostId, 3131, 21, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(3153, 234, true);
                    WriteLiteral(" class=\"btn btn-primary post-btn\">See more</a>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n                            <div class=\"col-md-4 content\"></div>\r\n");
                    EndContext();
#line 95 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(3414, 24, true);
                WriteLiteral("                        ");
                EndContext();
#line 96 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                if (Model.Count(p => p.SectionId == 1) == 2)
                {
#line default
#line hidden
                    BeginContext(3512, 169, true);
                    WriteLiteral("                            <div class=\"col-md-6 content\">\r\n                                <div class=\"card\" style=\"width: 100%;\">\r\n                                    ");
                    EndContext();
                    BeginContext(3681, 110, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "ab54740dc7928b35a71b02ca24e0737790e16b9414129", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    AddHtmlAttributeValue("", 3727, "~/posts/image/", 3727, 14, true);
#line 100 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    AddHtmlAttributeValue("", 3741, Model.ToArray()[0].PostImg, 3741, 27, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(3791, 126, true);
                    WriteLiteral("\r\n                                    <div class=\"card-body\">\r\n                                        <h5 class=\"card-title\">");
                    EndContext();
                    BeginContext(3918, 24, false);
#line 102 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(Model.ToArray()[0].Title);

#line default
#line hidden
                    EndContext();
                    BeginContext(3942, 78, true);
                    WriteLiteral("</h5>\r\n                                        <p class=\"card-text hashtag\">\r\n");
                    EndContext();
#line 104 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    if (Model.ToArray()[0].Hashtags != null && Model.ToArray()[0].Hashtags.Contains(','))
                    {
                        foreach (var hashtag in Model.ToArray()[0].Hashtags.Split(","))
                        {
#line default
#line hidden
                            BeginContext(4363, 76, true);
                            WriteLiteral("                                                    <span class=\"hashtags\">#");
                            EndContext();
                            BeginContext(4440, 7, false);
#line 108 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                            Write(hashtag);

#line default
#line hidden
                            EndContext();
                            BeginContext(4447, 9, true);
                            WriteLiteral("</span>\r\n");
                            EndContext();
#line 109 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        }
                    }

#line default
#line hidden
                    BeginContext(4554, 136, true);
                    WriteLiteral("                                        </p>\r\n                                        <br />\r\n                                        <a");
                    EndContext();
                    BeginWriteAttribute("href", " href=\"", 4690, "\"", 4729, 2);
                    WriteAttributeValue("", 4697, "/view/", 4697, 6, true);
#line 113 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    WriteAttributeValue("", 4703, Model.ToArray()[0].PostId, 4703, 26, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(4730, 337, true);
                    WriteLiteral(@" class=""btn btn-primary post-btn"">See more</a>
                                    </div>
                                </div>
                            </div>
                            <div class=""col-md-6 content"">
                                <div class=""card"" style=""width: 100%;"">
                                    ");
                    EndContext();
                    BeginContext(5067, 110, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "ab54740dc7928b35a71b02ca24e0737790e16b9418769", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    AddHtmlAttributeValue("", 5113, "~/posts/image/", 5113, 14, true);
#line 119 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    AddHtmlAttributeValue("", 5127, Model.ToArray()[1].PostImg, 5127, 27, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(5177, 126, true);
                    WriteLiteral("\r\n                                    <div class=\"card-body\">\r\n                                        <h5 class=\"card-title\">");
                    EndContext();
                    BeginContext(5304, 24, false);
#line 121 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(Model.ToArray()[1].Title);

#line default
#line hidden
                    EndContext();
                    BeginContext(5328, 78, true);
                    WriteLiteral("</h5>\r\n                                        <p class=\"card-text hashtag\">\r\n");
                    EndContext();
#line 123 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    if (Model.ToArray()[1].Hashtags != null && Model.ToArray()[1].Hashtags.Contains(','))
                    {
                        foreach (var hashtag in Model.ToArray()[1].Hashtags.Trim().Split(","))
                        {
#line default
#line hidden
                            BeginContext(5756, 76, true);
                            WriteLiteral("                                                    <span class=\"hashtags\">#");
                            EndContext();
                            BeginContext(5833, 7, false);
#line 127 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                            Write(hashtag);

#line default
#line hidden
                            EndContext();
                            BeginContext(5840, 8, true);
                            WriteLiteral("</span> ");
                            EndContext();
                            BeginContext(5850, 8, true);
                            WriteLiteral("&nbsp;\r\n");
                            EndContext();
#line 128 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        }
                    }

#line default
#line hidden
                    BeginContext(5956, 138, true);
                    WriteLiteral("\r\n                                        </p>\r\n                                        <br />\r\n                                        <a");
                    EndContext();
                    BeginWriteAttribute("href", " href=\"", 6094, "\"", 6133, 2);
                    WriteAttributeValue("", 6101, "/view/", 6101, 6, true);
#line 133 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    WriteAttributeValue("", 6107, Model.ToArray()[1].PostId, 6107, 26, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(6134, 168, true);
                    WriteLiteral(" class=\"btn btn-primary post-btn\">See more</a>\r\n                                    </div>\r\n                                </div>\r\n                            </div>\r\n");
                    EndContext();
#line 137 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(6329, 24, true);
                WriteLiteral("                        ");
                EndContext();
#line 138 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                if (Model.Count(p => p.SectionId == 1) > 2)
                {
                    foreach (var post in Model.Where(p => p.SectionId == 1).TakeLast(3))
                    {
#line default
#line hidden
                        BeginContext(6555, 181, true);
                        WriteLiteral("                                <div class=\"col-md-4 content\">\r\n                                    <div class=\"card\" style=\"width: 100%;\">\r\n                                        ");
                        EndContext();
                        BeginContext(6736, 96, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.StartTagOnly, "ab54740dc7928b35a71b02ca24e0737790e16b9424255", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        AddHtmlAttributeValue("", 6782, "~/posts/image/", 6782, 14, true);
#line 144 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        AddHtmlAttributeValue("", 6796, post.PostImg, 6796, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(6832, 134, true);
                        WriteLiteral("\r\n                                        <div class=\"card-body\">\r\n                                            <h5 class=\"card-title\">");
                        EndContext();
                        BeginContext(6967, 10, false);
#line 146 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        Write(post.Title);

#line default
#line hidden
                        EndContext();
                        BeginContext(6977, 82, true);
                        WriteLiteral("</h5>\r\n                                            <p class=\"card-text hashtag\">\r\n");
                        EndContext();
#line 148 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        if (post.Hashtags != null && post.Hashtags.Contains(','))
                        {
                            foreach (var hashtag in post.Hashtags.Trim().Split(","))
                            {
#line default
#line hidden
                                BeginContext(7383, 80, true);
                                WriteLiteral("                                                        <span class=\"hashtags\">#");
                                EndContext();
                                BeginContext(7464, 7, false);
#line 152 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                                Write(hashtag);

#line default
#line hidden
                                EndContext();
                                BeginContext(7471, 9, true);
                                WriteLiteral("</span>\r\n");
                                EndContext();
#line 153 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                            }
                        }

#line default
#line hidden
                        BeginContext(7586, 150, true);
                        WriteLiteral("\r\n                                            </p>\r\n                                            <br />\r\n                                            <a");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 7736, "\"", 7761, 2);
                        WriteAttributeValue("", 7743, "/view/", 7743, 6, true);
#line 158 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        WriteAttributeValue("", 7749, post.PostId, 7749, 12, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(7762, 180, true);
                        WriteLiteral(" class=\"btn btn-primary post-btn\">See more</a>\r\n                                        </div>\r\n                                    </div>\r\n                                </div>\r\n");
                        EndContext();
#line 162 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }
                }

#line default
#line hidden
                BeginContext(8002, 174, true);
                WriteLiteral("\r\n                        <!-- end col -->\r\n                    </div><!-- end row -->\r\n                </div><!-- end container -->\r\n            </div><!-- end section -->\r\n");
                EndContext();
#line 170 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(8187, 241, true);
            WriteLiteral("\r\n\r\n\r\n        <div class=\"section wb\" style=\"padding: 0px !important;text-align: center\">\r\n            <div class=\"container-fluid\" style=\"background-color: #dcdada !important; padding: 20px\">\r\n                <div class=\"row text-center\">\r\n");
            EndContext();
#line 177 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            if (Model != null)
            {
#line default
#line hidden
#line 179 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                foreach (var post in Model.Where(p => p.SectionId == 2))
                {
#line default
#line hidden
                    BeginContext(8602, 116, true);
                    WriteLiteral("                            <div class=\"col-md-4 col-sm-6 col-xs-12 wow fadeIn\">\r\n                                <a");
                    EndContext();
                    BeginWriteAttribute("href", " href=\"", 8718, "\"", 8743, 2);
                    WriteAttributeValue("", 8725, "/view/", 8725, 6, true);
#line 182 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    WriteAttributeValue("", 8731, post.PostId, 8731, 12, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(8744, 143, true);
                    WriteLiteral(">\r\n                                    <div class=\"service-widget post\">\r\n                                        <div class=\"post-media \">\r\n\r\n");
                    EndContext();
#line 186 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    if (post.PostImg != null)
                    {
#line default
#line hidden
                        BeginContext(9006, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(9054, 55, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ab54740dc7928b35a71b02ca24e0737790e16b9431312", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        AddHtmlAttributeValue("", 9064, "~/posts/image/", 9064, 14, true);
#line 188 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        AddHtmlAttributeValue("", 9078, post.PostImg, 9078, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(9109, 8, true);
                        WriteLiteral("<br />\r\n");
                        EndContext();
#line 189 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(9263, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(9311, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ab54740dc7928b35a71b02ca24e0737790e16b9433389", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(9360, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 194 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }

#line default
#line hidden
                    BeginContext(9409, 92, true);
                    WriteLiteral("                                        </div>\r\n                                        <h3>");
                    EndContext();
                    BeginContext(9502, 10, false);
#line 196 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(post.Title);

#line default
#line hidden
                    EndContext();
                    BeginContext(9512, 50, true);
                    WriteLiteral("</h3>\r\n                                        <p>");
                    EndContext();
                    BeginContext(9563, 13, false);
#line 197 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(post.PostText);

#line default
#line hidden
                    EndContext();
                    BeginContext(9576, 144, true);
                    WriteLiteral("</p>\r\n                                    </div><!-- end service -->\r\n                                </a>\r\n                            </div>\r\n");
                    EndContext();
#line 201 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }

#line default
#line hidden
#line 201 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(9770, 423, true);
            WriteLiteral(@"                </div><!-- end row -->
            </div><!-- end container -->
        </div><!-- end section -->


        <div id=""barbers"" class=""section lb"">
            <div class=""container-fluid"">
                <div class=""section-title row text-center"">
                    <div class=""col-md-8 col-md-offset-2"">
                        <small>MEET OUR DOCTORS TEAM</small>
                        <h3>");
            EndContext();
            BeginContext(10194, 22, false);
#line 213 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(Localizer["testTitle"]);

#line default
#line hidden
            EndContext();
            BeginContext(10216, 362, true);
            WriteLiteral(@"</h3>
                        <hr class=""grd1"">
                        <p class=""lead"">Quisque eget nisl id nulla sagittis auctor quis id. Aliquam quis vehicula enim, non aliquam risus. Sed a tellus quis mi rhoncus dignissim.</p>
                    </div>
                </div><!-- end title -->

                <div class=""row dev-list text-center"">
");
            EndContext();
#line 220 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            foreach (var post in Model.Where(p => p.SectionId == 3))
            {
#line default
#line hidden
                BeginContext(10680, 163, true);
                WriteLiteral("                        <div class=\"col-lg-4 col-md-4 col-sm-12 col-xs-12 wow fadeIn\" data-wow-duration=\"1s\" data-wow-delay=\"0.2s\">\r\n                            <a");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 10843, "\"", 10868, 2);
                WriteAttributeValue("", 10850, "/view/", 10850, 6, true);
#line 223 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                WriteAttributeValue("", 10856, post.PostId, 10856, 12, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(10869, 131, true);
                WriteLiteral(">\r\n                                <div class=\"widget clearfix post\">\r\n                                    <div class=\"hover-br\">\r\n");
                EndContext();
#line 226 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                if (post.PostImg != null)
                {
#line default
#line hidden
                    BeginContext(11111, 44, true);
                    WriteLiteral("                                            ");
                    EndContext();
                    BeginContext(11155, 64, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ab54740dc7928b35a71b02ca24e0737790e16b9438907", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    AddHtmlAttributeValue("", 11165, "~/posts/image/", 11165, 14, true);
#line 228 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    AddHtmlAttributeValue("", 11179, post.PostImg, 11179, 13, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(11219, 8, true);
                    WriteLiteral("<br />\r\n");
                    EndContext();
#line 229 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(11361, 44, true);
                    WriteLiteral("                                            ");
                    EndContext();
                    BeginContext(11405, 58, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "ab54740dc7928b35a71b02ca24e0737790e16b9440975", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_4);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_5);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(11463, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 234 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(11508, 154, true);
                WriteLiteral("\r\n                                    </div>\r\n                                    <div class=\"widget-title\">\r\n                                        <h3>");
                EndContext();
                BeginContext(11663, 10, false);
#line 238 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                Write(post.Title);

#line default
#line hidden
                EndContext();
                BeginContext(11673, 146, true);
                WriteLiteral("</h3>\r\n                                    </div>\r\n                                    <!-- end title -->\r\n                                    <p>");
                EndContext();
                BeginContext(11820, 13, false);
#line 241 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                Write(post.PostText);

#line default
#line hidden
                EndContext();
                BeginContext(11833, 142, true);
                WriteLiteral("</p>\r\n                                </div><!--widget -->\r\n                            </a>\r\n                        </div><!-- end col -->\r\n");
                EndContext();
#line 245 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(11998, 191, true);
            WriteLiteral("                </div><!-- end row -->\r\n            </div><!-- end container -->\r\n        </div><!-- end section -->\r\n\r\n        <div id=\"testimonials\" class=\"parallax section db parallax-off\"");
            EndContext();
            BeginWriteAttribute("style", " style=\"", 12189, "\"", 12377, 3);
            WriteAttributeValue("", 12197, "background-image:url(", 12197, 21, true);
#line 250 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            WriteAttributeValue("", 12218, siteStatic == null || siteStatic.FooterImageName == null ? "myImages/michael-browning-D0ov97Td-xM-unsplash.jpg" : "myImages/" + siteStatic.FooterImageName, 12218, 157, false);

#line default
#line hidden
            WriteAttributeValue("", 12375, ");", 12375, 2, true);
            EndWriteAttribute();
            BeginContext(12378, 198, true);
            WriteLiteral(">\r\n            <div class=\"container-fluid\">\r\n                <div class=\"section-title row text-center\">\r\n                    <div class=\"col-md-8 col-md-offset-2\">\r\n                        <small>");
            EndContext();
            BeginContext(12578, 44, false);
#line 254 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(siteStatic != null? siteStatic.MiniTitle: "");

#line default
#line hidden
            EndContext();
            BeginContext(12623, 38, true);
            WriteLiteral("</small>\r\n                        <h3>");
            EndContext();
            BeginContext(12663, 40, false);
#line 255 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(siteStatic != null? siteStatic.Title :"");

#line default
#line hidden
            EndContext();
            BeginContext(12704, 90, true);
            WriteLiteral("</h3>\r\n                        <hr class=\"grd1\">\r\n                        <p class=\"lead\">");
            EndContext();
            BeginContext(12796, 38, false);
#line 257 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(siteStatic != null? siteStatic.Text:"");

#line default
#line hidden
            EndContext();
            BeginContext(12835, 746, true);
            WriteLiteral(@"</p>
                    </div>
                </div><!-- end title -->

            </div><!-- end container -->
        </div><!-- end section -->

        <div class=""copyrights"">
            <div class=""container-fluid"">
                <div class=""footer-distributed"">
                    <div class=""footer-left"">
                        <p class=""footer-links"">
                            <a href=""/"">Home</a>
                            <a href=""/aboutus"">About</a>
                            <a href=""/contact-us"">Contact</a>
                        </p>
                    </div>

                </div>
            </div><!-- end container -->
        </div><!-- end copyrights -->
    </div>

</div>



");
            EndContext();
        }
示例#4
0
        #pragma warning disable 1998
        public async override global::System.Threading.Tasks.Task ExecuteAsync()
        {
            BeginContext(113, 2, true);
            WriteLiteral("\r\n");
            EndContext();
#line 6 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"

            ViewData["Title"] = "Index";
            Layout            = "~/Views/Shared/_mainLayout.cshtml";
            SiteStatic siteStatic = ViewBag.siteStatic as SiteStatic;

#line default
#line hidden
            BeginContext(321, 174, true);
            WriteLiteral("<style>\r\n    /*li a:hover:not(.active) {\r\n        background-color: #111;\r\n    }*/\r\n\r\n    .active {\r\n        background-color: rgba(105, 104, 104, 0.50);\r\n    }\r\n</style>\r\n\r\n");
            EndContext();
            BeginContext(496, 54, false);
#line 21 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(await Component.InvokeAsync("SocialNetworksComponent"));

#line default
#line hidden
            EndContext();
            BeginContext(550, 201, true);
            WriteLiteral("\r\n\r\n<div id=\"wrapper\">\r\n\r\n    <!-- Sidebar-wrapper -->\r\n    <!-- End Sidebar-wrapper -->\r\n    <!-- Page Content -->\r\n    <div id=\"page-content-wrapper\" style=\"background-color: #dcdada !important\">\r\n\r\n");
            EndContext();
#line 30 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            if (siteStatic != null)
            {
#line default
#line hidden
                BeginContext(796, 57, true);
                WriteLiteral("            <div id=\"home\" class=\"parallax first-section\"");
                EndContext();
                BeginWriteAttribute("style", " style=\"", 853, "\"", 1017, 3);
                WriteAttributeValue("", 861, "background-image:url(", 861, 21, true);
#line 32 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                WriteAttributeValue("", 882, siteStatic.CoverImageName == null ? "myImages/michael-browning-D0ov97Td-xM-unsplash.jpg" : "myImages/" + siteStatic.CoverImageName, 882, 133, false);

#line default
#line hidden
                WriteAttributeValue("", 1015, ");", 1015, 2, true);
                EndWriteAttribute();
                BeginContext(1018, 298, true);
                WriteLiteral(@">
                <div class=""container-fluid"">
                    <div class=""row"">
                        <div class=""col-md-12"">
                            <div class=""about-tab"">
                                <ul class=""nav-tabs"">
                                    <!--Picture-->
");
                EndContext();
#line 39 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                foreach (var post in Model.Where(p => p.SectionId == 1))
                {
                    if (post.PostImg != null)
                    {
#line default
#line hidden
                        BeginContext(1560, 90, true);
                        WriteLiteral("                                            <li style=\"margin-bottom: 50px; margin: 1%\"><a");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 1650, "\"", 1675, 2);
                        WriteAttributeValue("", 1657, "/view/", 1657, 6, true);
#line 43 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        WriteAttributeValue("", 1663, post.PostId, 1663, 12, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(1676, 1, true);
                        WriteLiteral(">");
                        EndContext();
                        BeginContext(1677, 83, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6b82fdb505f6d93144ec10b79ffcfbda24d943428061", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        AddHtmlAttributeValue("", 1715, "~/posts/image/", 1715, 14, true);
#line 43 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        AddHtmlAttributeValue("", 1729, post.PostImg, 1729, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(1760, 34, true);
                        WriteLiteral("<center><h1 class=\"banner-header\">");
                        EndContext();
                        BeginContext(1795, 10, false);
#line 43 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        Write(post.Title);

#line default
#line hidden
                        EndContext();
                        BeginContext(1805, 25, true);
                        WriteLiteral("</h1></center></a></li>\r\n");
                        EndContext();
#line 44 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(1962, 90, true);
                        WriteLiteral("                                            <li style=\"margin-bottom: 50px; margin: 1%\"><a");
                        EndContext();
                        BeginWriteAttribute("href", " href=\"", 2052, "\"", 2077, 2);
                        WriteAttributeValue("", 2059, "/view/", 2059, 6, true);
#line 47 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        WriteAttributeValue("", 2065, post.PostId, 2065, 12, false);

#line default
#line hidden
                        EndWriteAttribute();
                        BeginContext(2078, 1, true);
                        WriteLiteral(">");
                        EndContext();
                        BeginContext(2079, 77, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6b82fdb505f6d93144ec10b79ffcfbda24d9434211288", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_0);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(2156, 34, true);
                        WriteLiteral("<center><h1 class=\"banner-header\">");
                        EndContext();
                        BeginContext(2191, 10, false);
#line 47 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        Write(post.Title);

#line default
#line hidden
                        EndContext();
                        BeginContext(2201, 25, true);
                        WriteLiteral("</h1></center></a></li>\r\n");
                        EndContext();
#line 48 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }
                }

#line default
#line hidden
                BeginContext(2308, 309, true);
                WriteLiteral(@"                                </ul>
                                <!-- tab content -->
                            </div>

                        </div><!-- end col -->
                    </div><!-- end row -->
                </div><!-- end container -->
            </div><!-- end section -->
");
                EndContext();
#line 58 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(2628, 241, true);
            WriteLiteral("\r\n\r\n\r\n        <div class=\"section wb\" style=\"padding: 0px !important;text-align: center\">\r\n            <div class=\"container-fluid\" style=\"background-color: #dcdada !important; padding: 20px\">\r\n                <div class=\"row text-center\">\r\n");
            EndContext();
#line 65 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            if (Model != null)
            {
#line default
#line hidden
#line 67 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                foreach (var post in Model.Where(p => p.SectionId == 2))
                {
#line default
#line hidden
                    BeginContext(3043, 116, true);
                    WriteLiteral("                            <div class=\"col-md-4 col-sm-6 col-xs-12 wow fadeIn\">\r\n                                <a");
                    EndContext();
                    BeginWriteAttribute("href", " href=\"", 3159, "\"", 3184, 2);
                    WriteAttributeValue("", 3166, "/view/", 3166, 6, true);
#line 70 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    WriteAttributeValue("", 3172, post.PostId, 3172, 12, false);

#line default
#line hidden
                    EndWriteAttribute();
                    BeginContext(3185, 143, true);
                    WriteLiteral(">\r\n                                    <div class=\"service-widget post\">\r\n                                        <div class=\"post-media \">\r\n\r\n");
                    EndContext();
#line 74 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    if (post.PostImg != null)
                    {
#line default
#line hidden
                        BeginContext(3447, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(3495, 55, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6b82fdb505f6d93144ec10b79ffcfbda24d9434215941", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                        AddHtmlAttributeValue("", 3505, "~/posts/image/", 3505, 14, true);
#line 76 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                        AddHtmlAttributeValue("", 3519, post.PostImg, 3519, 13, false);

#line default
#line hidden
                        EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3550, 8, true);
                        WriteLiteral("<br />\r\n");
                        EndContext();
#line 77 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }
                    else
                    {
#line default
#line hidden
                        BeginContext(3704, 48, true);
                        WriteLiteral("                                                ");
                        EndContext();
                        BeginContext(3752, 49, false);
                        __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6b82fdb505f6d93144ec10b79ffcfbda24d9434218016", async() => {
                        }
                                                                                    );
                        __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                        __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                        __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_1);
                        await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                        if (!__tagHelperExecutionContext.Output.IsContentModified)
                        {
                            await __tagHelperExecutionContext.SetOutputContentAsync();
                        }
                        Write(__tagHelperExecutionContext.Output);
                        __tagHelperExecutionContext = __tagHelperScopeManager.End();
                        EndContext();
                        BeginContext(3801, 2, true);
                        WriteLiteral("\r\n");
                        EndContext();
#line 82 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    }

#line default
#line hidden
                    BeginContext(3850, 92, true);
                    WriteLiteral("                                        </div>\r\n                                        <h3>");
                    EndContext();
                    BeginContext(3943, 10, false);
#line 84 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(post.Title);

#line default
#line hidden
                    EndContext();
                    BeginContext(3953, 50, true);
                    WriteLiteral("</h3>\r\n                                        <p>");
                    EndContext();
                    BeginContext(4004, 13, false);
#line 85 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    Write(post.PostText);

#line default
#line hidden
                    EndContext();
                    BeginContext(4017, 144, true);
                    WriteLiteral("</p>\r\n                                    </div><!-- end service -->\r\n                                </a>\r\n                            </div>\r\n");
                    EndContext();
#line 89 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }

#line default
#line hidden
#line 89 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(4211, 429, true);
            WriteLiteral(@"


                </div><!-- end row -->
            </div><!-- end container -->
        </div><!-- end section -->


        <div id=""barbers"" class=""section lb"">
            <div class=""container-fluid"">
                <div class=""section-title row text-center"">
                    <div class=""col-md-8 col-md-offset-2"">
                        <small>MEET OUR DOCTORS TEAM</small>
                        <h3>");
            EndContext();
            BeginContext(4641, 22, false);
#line 104 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(Localizer["testTitle"]);

#line default
#line hidden
            EndContext();
            BeginContext(4663, 362, true);
            WriteLiteral(@"</h3>
                        <hr class=""grd1"">
                        <p class=""lead"">Quisque eget nisl id nulla sagittis auctor quis id. Aliquam quis vehicula enim, non aliquam risus. Sed a tellus quis mi rhoncus dignissim.</p>
                    </div>
                </div><!-- end title -->

                <div class=""row dev-list text-center"">
");
            EndContext();
#line 111 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            foreach (var post in Model.Where(p => p.SectionId == 3))
            {
#line default
#line hidden
                BeginContext(5127, 163, true);
                WriteLiteral("                        <div class=\"col-lg-4 col-md-4 col-sm-12 col-xs-12 wow fadeIn\" data-wow-duration=\"1s\" data-wow-delay=\"0.2s\">\r\n                            <a");
                EndContext();
                BeginWriteAttribute("href", " href=\"", 5290, "\"", 5315, 2);
                WriteAttributeValue("", 5297, "/view/", 5297, 6, true);
#line 114 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                WriteAttributeValue("", 5303, post.PostId, 5303, 12, false);

#line default
#line hidden
                EndWriteAttribute();
                BeginContext(5316, 131, true);
                WriteLiteral(">\r\n                                <div class=\"widget clearfix post\">\r\n                                    <div class=\"hover-br\">\r\n");
                EndContext();
#line 117 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                if (post.PostImg != null)
                {
#line default
#line hidden
                    BeginContext(5558, 44, true);
                    WriteLiteral("                                            ");
                    EndContext();
                    BeginContext(5602, 64, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6b82fdb505f6d93144ec10b79ffcfbda24d9434223523", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    BeginAddHtmlAttributeValues(__tagHelperExecutionContext, "src", 2, global::Microsoft.AspNetCore.Razor.TagHelpers.HtmlAttributeValueStyle.DoubleQuotes);
                    AddHtmlAttributeValue("", 5612, "~/posts/image/", 5612, 14, true);
#line 119 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                    AddHtmlAttributeValue("", 5626, post.PostImg, 5626, 13, false);

#line default
#line hidden
                    EndAddHtmlAttributeValues(__tagHelperExecutionContext);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(5666, 8, true);
                    WriteLiteral("<br />\r\n");
                    EndContext();
#line 120 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }
                else
                {
#line default
#line hidden
                    BeginContext(5808, 44, true);
                    WriteLiteral("                                            ");
                    EndContext();
                    BeginContext(5852, 58, false);
                    __tagHelperExecutionContext = __tagHelperScopeManager.Begin("img", global::Microsoft.AspNetCore.Razor.TagHelpers.TagMode.SelfClosing, "6b82fdb505f6d93144ec10b79ffcfbda24d9434225584", async() => {
                    }
                                                                                );
                    __Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper = CreateTagHelper <global::Microsoft.AspNetCore.Mvc.Razor.TagHelpers.UrlResolutionTagHelper>();
                    __tagHelperExecutionContext.Add(__Microsoft_AspNetCore_Mvc_Razor_TagHelpers_UrlResolutionTagHelper);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_2);
                    __tagHelperExecutionContext.AddHtmlAttribute(__tagHelperAttribute_3);
                    await __tagHelperRunner.RunAsync(__tagHelperExecutionContext);

                    if (!__tagHelperExecutionContext.Output.IsContentModified)
                    {
                        await __tagHelperExecutionContext.SetOutputContentAsync();
                    }
                    Write(__tagHelperExecutionContext.Output);
                    __tagHelperExecutionContext = __tagHelperScopeManager.End();
                    EndContext();
                    BeginContext(5910, 2, true);
                    WriteLiteral("\r\n");
                    EndContext();
#line 125 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                }

#line default
#line hidden
                BeginContext(5955, 154, true);
                WriteLiteral("\r\n                                    </div>\r\n                                    <div class=\"widget-title\">\r\n                                        <h3>");
                EndContext();
                BeginContext(6110, 10, false);
#line 129 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                Write(post.Title);

#line default
#line hidden
                EndContext();
                BeginContext(6120, 146, true);
                WriteLiteral("</h3>\r\n                                    </div>\r\n                                    <!-- end title -->\r\n                                    <p>");
                EndContext();
                BeginContext(6267, 13, false);
#line 132 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
                Write(post.PostText);

#line default
#line hidden
                EndContext();
                BeginContext(6280, 144, true);
                WriteLiteral("</p>\r\n                                </div><!--widget -->\r\n\r\n                            </a>\r\n                        </div><!-- end col -->\r\n");
                EndContext();
#line 137 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            }

#line default
#line hidden
            BeginContext(6447, 191, true);
            WriteLiteral("                </div><!-- end row -->\r\n            </div><!-- end container -->\r\n        </div><!-- end section -->\r\n\r\n        <div id=\"testimonials\" class=\"parallax section db parallax-off\"");
            EndContext();
            BeginWriteAttribute("style", " style=\"", 6638, "\"", 6826, 3);
            WriteAttributeValue("", 6646, "background-image:url(", 6646, 21, true);
#line 142 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            WriteAttributeValue("", 6667, siteStatic == null || siteStatic.FooterImageName == null ? "myImages/michael-browning-D0ov97Td-xM-unsplash.jpg" : "myImages/" + siteStatic.FooterImageName, 6667, 157, false);

#line default
#line hidden
            WriteAttributeValue("", 6824, ");", 6824, 2, true);
            EndWriteAttribute();
            BeginContext(6827, 198, true);
            WriteLiteral(">\r\n            <div class=\"container-fluid\">\r\n                <div class=\"section-title row text-center\">\r\n                    <div class=\"col-md-8 col-md-offset-2\">\r\n                        <small>");
            EndContext();
            BeginContext(7027, 44, false);
#line 146 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(siteStatic != null? siteStatic.MiniTitle: "");

#line default
#line hidden
            EndContext();
            BeginContext(7072, 38, true);
            WriteLiteral("</small>\r\n                        <h3>");
            EndContext();
            BeginContext(7112, 40, false);
#line 147 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(siteStatic != null? siteStatic.Title :"");

#line default
#line hidden
            EndContext();
            BeginContext(7153, 90, true);
            WriteLiteral("</h3>\r\n                        <hr class=\"grd1\">\r\n                        <p class=\"lead\">");
            EndContext();
            BeginContext(7245, 38, false);
#line 149 "D:\Project\Fardin\Project Core\Fardin\Fardin\Views\Home\Index.cshtml"
            Write(siteStatic != null? siteStatic.Text:"");

#line default
#line hidden
            EndContext();
            BeginContext(7284, 878, true);
            WriteLiteral(@"</p>
                    </div>
                </div><!-- end title -->

            </div><!-- end container -->
        </div><!-- end section -->

        <div class=""copyrights"">
            <div class=""container-fluid"">
                <div class=""footer-distributed"">
                    <div class=""footer-left"">
                        <p class=""footer-links"">
                            <a href=""/"">Home</a>
                            <a href=""/aboutus"">About</a>
                            <a href=""/contact-us"">Contact</a>
                        </p>
                        <p class=""footer-company-name"">All Rights Reserved. &copy; 2020 | Design By : <a href=""#"">ARASH NP</a></p>
                    </div>

                </div>
            </div><!-- end container -->
        </div><!-- end copyrights -->
    </div>

</div>



");
            EndContext();
        }