From: joinsang Date: Mon, 11 Feb 2019 10:23:17 +0000 (+0900) Subject: logo change X-Git-Url: https://git.insang.kr/gitweb/?a=commitdiff_plain;h=61c86f0079c225ad458f8f6bf7b3d88eda043ae4;p=ZipProject.git logo change --- diff --git a/ZipProject/Controllers/HomeController.cs b/ZipProject/Controllers/HomeController.cs deleted file mode 100644 index c30b29b..0000000 --- a/ZipProject/Controllers/HomeController.cs +++ /dev/null @@ -1,42 +0,0 @@ -using System.Diagnostics; -using Microsoft.AspNetCore.Hosting; -using Microsoft.AspNetCore.Mvc; -using ZipProject.Models; - -namespace ZipProject.Controllers -{ - public class HomeController : Controller - { - public static string path_wwwroot; - public IActionResult Index() - { - //return View(); - return Redirect("webzip"); - } - - public IActionResult About() - { - ViewData["Message"] = "Your application description page."; - - return View(); - } - - public IActionResult Contact() - { - ViewData["Message"] = "Your contact page."; - - return View(); - } - - public IActionResult Privacy() - { - return View(); - } - - [ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)] - public IActionResult Error() - { - return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier }); - } - } -} diff --git a/ZipProject/Controllers/WebZipController.cs b/ZipProject/Controllers/WebZipController.cs index 9963549..15841da 100644 --- a/ZipProject/Controllers/WebZipController.cs +++ b/ZipProject/Controllers/WebZipController.cs @@ -42,13 +42,13 @@ namespace ZipProject.Controllers public IActionResult En() { session.SetString("lang", "en"); - return Redirect("/webzip"); + return Redirect("/"); } public IActionResult Kr() { session.SetString("lang", "kr"); - return Redirect("/webzip"); + return Redirect("/"); } } diff --git a/ZipProject/Properties/PublishProfiles/FolderProfile 6.pubxml b/ZipProject/Properties/PublishProfiles/FolderProfile 6.pubxml new file mode 100644 index 0000000..83d5458 --- /dev/null +++ b/ZipProject/Properties/PublishProfiles/FolderProfile 6.pubxml @@ -0,0 +1,13 @@ + + + + FileSystem + Release + AnyCPU + _publish + false + netcoreapp2.1 + false + <_IsPortable>true + + \ No newline at end of file diff --git a/ZipProject/Startup.cs b/ZipProject/Startup.cs index fe60777..a9547a2 100644 --- a/ZipProject/Startup.cs +++ b/ZipProject/Startup.cs @@ -57,7 +57,7 @@ namespace ZipProject { routes.MapRoute( name: "default", - template: "{controller=Home}/{action=Index}/{id?}"); + template: "{controller=WebZip}/{action=Index}/{id?}"); }); } } diff --git a/ZipProject/Views/Home/About.cshtml b/ZipProject/Views/Home/About.cshtml deleted file mode 100644 index d6c9ce5..0000000 --- a/ZipProject/Views/Home/About.cshtml +++ /dev/null @@ -1,7 +0,0 @@ -@{ - ViewData["Title"] = "About"; -} -

@ViewData["Title"]

-

@ViewData["Message"]

- -

Use this area to provide additional information.

diff --git a/ZipProject/Views/Home/Contact.cshtml b/ZipProject/Views/Home/Contact.cshtml deleted file mode 100644 index 57b40cc..0000000 --- a/ZipProject/Views/Home/Contact.cshtml +++ /dev/null @@ -1,17 +0,0 @@ -@{ - ViewData["Title"] = "Contact"; -} -

@ViewData["Title"]

-

@ViewData["Message"]

- -
- One Microsoft Way
- Redmond, WA 98052-6399
- P: - 425.555.0100 -
- -
- Support: Support@example.com
- Marketing: Marketing@example.com -
diff --git a/ZipProject/Views/Home/Index.cshtml b/ZipProject/Views/Home/Index.cshtml deleted file mode 100644 index 9c51103..0000000 --- a/ZipProject/Views/Home/Index.cshtml +++ /dev/null @@ -1,94 +0,0 @@ -@{ - ViewData["Title"] = "Home Page"; -} - - - -
-
-

Application uses

-
    -
  • Sample pages using ASP.NET Core MVC
  • -
  • Theming using Bootstrap
  • -
-
- - - -
diff --git a/ZipProject/Views/Home/Privacy.cshtml b/ZipProject/Views/Home/Privacy.cshtml deleted file mode 100644 index bba9b06..0000000 --- a/ZipProject/Views/Home/Privacy.cshtml +++ /dev/null @@ -1,6 +0,0 @@ -@{ - ViewData["Title"] = "Privacy Policy"; -} -

@ViewData["Title"]

- -

Use this page to detail your site's privacy policy.

diff --git a/ZipProject/Views/Shared/_CookieConsentPartial.cshtml b/ZipProject/Views/Shared/_CookieConsentPartial.cshtml deleted file mode 100644 index 52caf60..0000000 --- a/ZipProject/Views/Shared/_CookieConsentPartial.cshtml +++ /dev/null @@ -1,46 +0,0 @@ -@using Microsoft.AspNetCore.Http.Features - -@{ - var consentFeature = Context.Features.Get - (); - var showBanner = !consentFeature?.CanTrack ?? false; - var cookieString = consentFeature?.CreateConsentCookie(); - } - - @if (showBanner) - { - - - } diff --git a/ZipProject/Views/Shared/_Navbar.cshtml b/ZipProject/Views/Shared/_Navbar.cshtml index 753b61b..8a2ad7c 100644 --- a/ZipProject/Views/Shared/_Navbar.cshtml +++ b/ZipProject/Views/Shared/_Navbar.cshtml @@ -12,9 +12,9 @@ - + @**@ - +