Skip to content

Commit

Permalink
_MainFooterPartial eklendi
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahimhalilgunduz committed Jan 27, 2023
1 parent b27de96 commit a390aa8
Show file tree
Hide file tree
Showing 9 changed files with 59 additions and 176 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
<meta name="author" content="" />
<title>@ViewBag.Title | BloggerWay</title>
<link href="~/AdminLTE/css/styles.css" rel="stylesheet" />
<link href="~/AdminLTE/css/userLogin.css" rel="stylesheet" />
<link href="~/AdminLTE/css/login.css" rel="stylesheet" />

<script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.13.0/js/all.min.js" crossorigin="anonymous"></script>
Expand Down
4 changes: 2 additions & 2 deletions BloggerWay.MVC/Areas/Admin/Views/User/PasswordChange.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
<div class="row">
<div class="col-lg-6 offset-lg-3">
<div class="card mt-3">
<div class="card-header">
<h4 class="text-center"><span class="fas fa-key"></span> Şifre Değiştir</h4>
<div style="background-color:#182539"class="card-header">
<h4 style="color:white"class="text-center"><span class="fas fa-key"></span> Şifre Değiştir</h4>
</div>
<div class="card-body">
<form asp-controller="User" asp-action="PasswordChange" method="post">
Expand Down
43 changes: 1 addition & 42 deletions BloggerWay.MVC/Views/Shared/_AboutLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -50,48 +50,7 @@



<footer style="background-color:#182539">
<div class="container">
<div class="footer-content">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-6">
<div class="ft-logo">
<h1><a asp-controller="Home" asp-action="Index">BloggerWay</a></h1>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6">
</div>
<div class="col-lg-4 col-md-12">
<ul class="ft-links">
<li><a asp-controller="Home" asp-action="Index">Anasayfa</a></li>
<li><a asp-controller="Home" asp-action="About">Hakkımızda</a></li>
<li><a asp-controller="Home" asp-action="Contact">İletişim</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>


<section class="bottom-strip">
<div class="container">
<p style="color:aliceblue"@DateTime.Now.Year BloggerWay. Tüm Hakları Saklıdır.</p>
</div>
</section>

<div class="search-page">
<form>
<div class="container">
<div class="form-field">
<input type="text" name="search" placeholder="Enter Your Keywords">
<button type="submit"><i class="la la-search"></i></button>
</div>
</div>
</form>
<a href="#" title="" class="close-search"><i class="la la-close"></i></a>
</div>

<partial name="_MainFooterPartial"/>

<script src="~/blog/js/jquery.min.js"></script>
<script src="~/blog/js/popper.js"></script>
Expand Down
44 changes: 1 addition & 43 deletions BloggerWay.MVC/Views/Shared/_ArticleLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -52,49 +52,7 @@
</section>



<footer style="background-color:#182539">
<div class="container">
<div class="footer-content">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-6">
<div class="ft-logo">
<h1><a asp-controller="Home" asp-action="Index">BloggerWay</a></h1>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6">
</div>
<div class="col-lg-4 col-md-12">
<ul class="ft-links">
<li><a asp-controller="Home" asp-action="Index">Anasayfa</a></li>
<li><a asp-controller="Home" asp-action="About">Hakkımızda</a></li>
<li><a asp-controller="Home" asp-action="Contact">İletişim</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>


<section class="bottom-strip">
<div class="container">
<p style="color:aliceblue"@DateTime.Now.Year BloggerWay Tüm Hakları Saklıdır.</p>
</div>
</section>

<div class="search-page">
<form>
<div class="container">
<div class="form-field">
<input type="text" name="search" placeholder="Enter Your Keywords">
<button type="submit"><i class="la la-search"></i></button>
</div>
</div>
</form>
<a href="#" title="" class="close-search"><i class="la la-close"></i></a>
</div>

<partial name="_MainFooterPartial"/>

<script src="~/blog/js/jquery.min.js"></script>
<script src="~/blog/js/popper.js"></script>
Expand Down
43 changes: 1 addition & 42 deletions BloggerWay.MVC/Views/Shared/_ContactLayout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -47,48 +47,7 @@
</section>



<footer style="background-color:#182539">
<div class="container">
<div class="footer-content">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-6">
<div class="ft-logo">
<h1><a asp-controller="Home" asp-action="Index">BloggerWay</a></h1>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6">
</div>
<div class="col-lg-4 col-md-12">
<ul class="ft-links">
<li><a asp-controller="Home" asp-action="Index">Anasayfa</a></li>
<li><a asp-controller="Home" asp-action="About">Hakkımızda</a></li>
<li><a asp-controller="Home" asp-action="Contact">İletişim</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>


<section class="bottom-strip">
<div class="container">
<p style="color:aliceblue"@DateTime.Now.Year BloggerWay. Tüm Hakları Saklıdır.</p>
</div>
</section>

<div class="search-page">
<form>
<div class="container">
<div class="form-field">
<input type="text" name="search" placeholder="Enter Your Keywords">
<button type="submit"><i class="la la-search"></i></button>
</div>
</div>
</form>
<a href="#" title="" class="close-search"><i class="la la-close"></i></a>
</div>
<partial name="_MainFooterPartial"/>


<script src="~/blog/js/jquery.min.js"></script>
Expand Down
46 changes: 2 additions & 44 deletions BloggerWay.MVC/Views/Shared/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -53,57 +53,15 @@



<footer style="background-color:#182539">
<div class="container">
<div class="footer-content">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-6">
<div class="ft-logo">
<h1><a asp-controller="Home" asp-action="Index">@websiteInfo.MenuTitle</a></h1>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6">
</div>
<div class="col-lg-4 col-md-12">
<ul class="ft-links">
<li><a asp-controller="Home" asp-action="Index">Anasayfa</a></li>
<li><a asp-controller="Home" asp-action="About">Hakkımızda</a></li>
<li><a asp-controller="Home" asp-action="Contact">İletişim</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>

<partial name="_MainFooterPartial"/>

<section class="bottom-strip">
<div class="container">
<p style="color:aliceblue"@DateTime.Now.Year BloggerWay Tüm Hakları Saklıdır.</p>
</div>
</section>

<div class="search-page">
<form>
<div class="container">
<div class="form-field">
<input type="text" name="search" placeholder="Enter Your Keywords">
<button type="submit"><i class="la la-search"></i></button>
</div>
</div>
</form>
<a href="#" title="" class="close-search"><i class="la la-close"></i></a>
</div>


<script src="~/blog/js/jquery.min.js"></script>
<script src="~/blog/js/jquery.min.js"></script>
<script src="~/blog/js/popper.js"></script>
<script src="~/blog/js/bootstrap.min.js"></script>
<script src="~/blog/js/lib/slick/slick.js"></script>
<script src="~/blog/js/script.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.js" crossorigin="anonymous"></script>

@await RenderSectionAsync("Scripts",false)

</body>
</html>
50 changes: 50 additions & 0 deletions BloggerWay.MVC/Views/Shared/_MainFooterPartial.cshtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
@using Microsoft.Extensions.Options
@using BloggerWay.Entities.Concrete
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@inject IOptionsSnapshot<WebsiteInfo> WebsiteInfo
@{
var websiteInfo = WebsiteInfo.Value;
}
<footer style="background-color:#182539">
<div class="container">
<div class="footer-content">
<div class="row">
<div class="col-lg-4 col-md-6 col-sm-6">
<div class="ft-logo">
<h1><a asp-controller="Home" asp-action="Index">@websiteInfo.MenuTitle</a></h1>
</div>
</div>
<div class="col-lg-4 col-md-6 col-sm-6">
</div>
<div class="col-lg-4 col-md-12">
<ul class="ft-links">
<li><a asp-controller="Home" asp-action="Index">Anasayfa</a></li>
<li><a asp-controller="Home" asp-action="About">Hakkımızda</a></li>
<li><a asp-controller="Home" asp-action="Contact">İletişim</a></li>
</ul>
</div>
</div>
</div>
</div>
</footer>


<section class="bottom-strip">
<div class="container">
<p style="color:aliceblue"@DateTime.Now.Year @websiteInfo.MenuTitle Tüm Hakları Saklıdır.</p>
</div>
</section>

<div class="search-page">
<form>
<div class="container">
<div class="form-field">
<input type="text" name="search" placeholder="Enter Your Keywords">
<button type="submit"><i class="la la-search"></i></button>
</div>
</div>
</form>
<a href="#" title="" class="close-search"><i class="la la-close"></i></a>
</div>


2 changes: 1 addition & 1 deletion BloggerWay.MVC/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
},
"WebsiteInfo": {
"Title": "BloggerWay ",
"MenuTitle": "BloggerWay ",
"MenuTitle": "BloggerWay 2",
"SeoDescription": "Programcılar ve Yazılımcılar için Türkçe Rehber Blog",
"SeoTags": "Coding, Yazılım, Web, Mobil, Masaüstü, Desktop",
"SeoAuthor": "BloggerWay"
Expand Down
2 changes: 1 addition & 1 deletion BloggerWay.MVC/nlog.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
autoReload="true"
internalLogLevel="Info"
internalLogFile="C:\Users\IBRAHIM\source\repos\BloggerWay\BloggerWay.MVC\logs\internal-nlog-AspNetCore.txt">
internalLogFile="logs\internal-nlog-AspNetCore.txt">

<!-- enable asp.net core layout renderers -->
<extensions>
Expand Down

0 comments on commit a390aa8

Please sign in to comment.