From 8881855dd17d8b81466b8b646fd17d51a34697d7 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rafa=C5=82=20D=C5=82ugo=C5=82=C4=99cki?= Date: Fri, 12 Feb 2016 00:53:57 +0100 Subject: [PATCH] Contact page --- Projects/Controllers/HomeController.cs | 7 ---- Projects/Projects.csproj | 1 - Projects/Views/Home/About.cshtml | 7 ---- Projects/Views/Home/Contact.cshtml | 46 +++++++++++++++++++------- Projects/Views/Shared/_Layout.cshtml | 7 ++-- 5 files changed, 37 insertions(+), 31 deletions(-) delete mode 100644 Projects/Views/Home/About.cshtml diff --git a/Projects/Controllers/HomeController.cs b/Projects/Controllers/HomeController.cs index 3f1f379..c5d394a 100644 --- a/Projects/Controllers/HomeController.cs +++ b/Projects/Controllers/HomeController.cs @@ -13,13 +13,6 @@ namespace Projects.Controllers return View(); } - public ActionResult About() - { - ViewBag.Message = "Your application description page."; - - return View(); - } - public ActionResult Contact() { ViewBag.Message = "Your contact page."; diff --git a/Projects/Projects.csproj b/Projects/Projects.csproj index 2475c62..50a0797 100644 --- a/Projects/Projects.csproj +++ b/Projects/Projects.csproj @@ -296,7 +296,6 @@ - diff --git a/Projects/Views/Home/About.cshtml b/Projects/Views/Home/About.cshtml deleted file mode 100644 index 4b2d9e8..0000000 --- a/Projects/Views/Home/About.cshtml +++ /dev/null @@ -1,7 +0,0 @@ -@{ - ViewBag.Title = "About"; -} -

@ViewBag.Title.

-

@ViewBag.Message

- -

Use this area to provide additional information.

diff --git a/Projects/Views/Home/Contact.cshtml b/Projects/Views/Home/Contact.cshtml index 0f4327e..918511f 100644 --- a/Projects/Views/Home/Contact.cshtml +++ b/Projects/Views/Home/Contact.cshtml @@ -1,17 +1,39 @@ @{ - ViewBag.Title = "Contact"; + ViewBag.Title = "Kontakt"; }

@ViewBag.Title.

-

@ViewBag.Message

+

Skontaktuj się ze mną!

-
- One Microsoft Way
- Redmond, WA 98052-6399
- P: - 425.555.0100 -
+
+
+ Email: kontakt@dlugolecki.net.pl +
-
- Support: Support@example.com
- Marketing: Marketing@example.com -
\ No newline at end of file +
+ Rafał Długołęcki
+ ABCDEFGHIJ 1/2
+ Warszawa +
+ +
+
+ +
+ +
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
\ No newline at end of file diff --git a/Projects/Views/Shared/_Layout.cshtml b/Projects/Views/Shared/_Layout.cshtml index 8d53691..2bef804 100644 --- a/Projects/Views/Shared/_Layout.cshtml +++ b/Projects/Views/Shared/_Layout.cshtml @@ -3,7 +3,7 @@ - @ViewBag.Title - My ASP.NET Application + @ViewBag.Title - Projects by Rafał Długołęcki @Styles.Render("~/Content/css") @Scripts.Render("~/bundles/modernizr") @@ -17,12 +17,11 @@ - @Html.ActionLink("Application name", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" }) + @Html.ActionLink("Projects", "Index", "Home", new { area = "" }, new { @class = "navbar-brand" }) -- 2.30.2