From a390aa86027c70a24fd19baa379af23ad4030dfa Mon Sep 17 00:00:00 2001 From: ibrahimhalilgunduz Date: Fri, 27 Jan 2023 20:50:12 +0300 Subject: [PATCH] _MainFooterPartial eklendi --- .../Views/Shared/_UserLoginLayout.cshtml | 1 - .../Admin/Views/User/PasswordChange.cshtml | 4 +- .../Views/Shared/_AboutLayout.cshtml | 43 +--------------- .../Views/Shared/_ArticleLayout.cshtml | 44 +--------------- .../Views/Shared/_ContactLayout.cshtml | 43 +--------------- BloggerWay.MVC/Views/Shared/_Layout.cshtml | 46 +---------------- .../Views/Shared/_MainFooterPartial.cshtml | 50 +++++++++++++++++++ BloggerWay.MVC/appsettings.json | 2 +- BloggerWay.MVC/nlog.config | 2 +- 9 files changed, 59 insertions(+), 176 deletions(-) create mode 100644 BloggerWay.MVC/Views/Shared/_MainFooterPartial.cshtml diff --git a/BloggerWay.MVC/Areas/Admin/Views/Shared/_UserLoginLayout.cshtml b/BloggerWay.MVC/Areas/Admin/Views/Shared/_UserLoginLayout.cshtml index 404dc54..37bf680 100644 --- a/BloggerWay.MVC/Areas/Admin/Views/Shared/_UserLoginLayout.cshtml +++ b/BloggerWay.MVC/Areas/Admin/Views/Shared/_UserLoginLayout.cshtml @@ -8,7 +8,6 @@ @ViewBag.Title | BloggerWay - diff --git a/BloggerWay.MVC/Areas/Admin/Views/User/PasswordChange.cshtml b/BloggerWay.MVC/Areas/Admin/Views/User/PasswordChange.cshtml index 6f53251..d8db9af 100644 --- a/BloggerWay.MVC/Areas/Admin/Views/User/PasswordChange.cshtml +++ b/BloggerWay.MVC/Areas/Admin/Views/User/PasswordChange.cshtml @@ -6,8 +6,8 @@
-
-

Şifre Değiştir

+
+

Şifre Değiştir

diff --git a/BloggerWay.MVC/Views/Shared/_AboutLayout.cshtml b/BloggerWay.MVC/Views/Shared/_AboutLayout.cshtml index 9f3d3c5..84381c6 100644 --- a/BloggerWay.MVC/Views/Shared/_AboutLayout.cshtml +++ b/BloggerWay.MVC/Views/Shared/_AboutLayout.cshtml @@ -50,48 +50,7 @@ - - - -
-
-

©@DateTime.Now.Year BloggerWay. Tüm Hakları Saklıdır.

-
-
- -
- -
-
- - -
-
- - -
- + diff --git a/BloggerWay.MVC/Views/Shared/_ArticleLayout.cshtml b/BloggerWay.MVC/Views/Shared/_ArticleLayout.cshtml index 2b01733..d7dd6c7 100644 --- a/BloggerWay.MVC/Views/Shared/_ArticleLayout.cshtml +++ b/BloggerWay.MVC/Views/Shared/_ArticleLayout.cshtml @@ -52,49 +52,7 @@ - - - - -
-
-

©@DateTime.Now.Year BloggerWay Tüm Hakları Saklıdır.

-
-
- -
-
-
-
- - -
-
-
- -
- + diff --git a/BloggerWay.MVC/Views/Shared/_ContactLayout.cshtml b/BloggerWay.MVC/Views/Shared/_ContactLayout.cshtml index c695397..131703e 100644 --- a/BloggerWay.MVC/Views/Shared/_ContactLayout.cshtml +++ b/BloggerWay.MVC/Views/Shared/_ContactLayout.cshtml @@ -47,48 +47,7 @@ - - - - -
-
-

©@DateTime.Now.Year BloggerWay. Tüm Hakları Saklıdır.

-
-
- -
-
-
-
- - -
-
-
- -
+ diff --git a/BloggerWay.MVC/Views/Shared/_Layout.cshtml b/BloggerWay.MVC/Views/Shared/_Layout.cshtml index b0c585a..1096047 100644 --- a/BloggerWay.MVC/Views/Shared/_Layout.cshtml +++ b/BloggerWay.MVC/Views/Shared/_Layout.cshtml @@ -53,50 +53,9 @@ - - + -
-
-

©@DateTime.Now.Year BloggerWay Tüm Hakları Saklıdır.

-
-
- -
-
-
-
- - -
-
-
- -
- - - + @@ -104,6 +63,5 @@ @await RenderSectionAsync("Scripts",false) - \ No newline at end of file diff --git a/BloggerWay.MVC/Views/Shared/_MainFooterPartial.cshtml b/BloggerWay.MVC/Views/Shared/_MainFooterPartial.cshtml new file mode 100644 index 0000000..0b3e248 --- /dev/null +++ b/BloggerWay.MVC/Views/Shared/_MainFooterPartial.cshtml @@ -0,0 +1,50 @@ +@using Microsoft.Extensions.Options +@using BloggerWay.Entities.Concrete +@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers +@inject IOptionsSnapshot WebsiteInfo +@{ + var websiteInfo = WebsiteInfo.Value; +} + + + +
+
+

©@DateTime.Now.Year @websiteInfo.MenuTitle Tüm Hakları Saklıdır.

+
+
+ +
+
+
+
+ + +
+
+
+ +
+ + diff --git a/BloggerWay.MVC/appsettings.json b/BloggerWay.MVC/appsettings.json index 6edce7e..f3da95d 100644 --- a/BloggerWay.MVC/appsettings.json +++ b/BloggerWay.MVC/appsettings.json @@ -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" diff --git a/BloggerWay.MVC/nlog.config b/BloggerWay.MVC/nlog.config index e43b222..0f60626 100644 --- a/BloggerWay.MVC/nlog.config +++ b/BloggerWay.MVC/nlog.config @@ -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">