From: Rafał Długołęcki Date: Thu, 11 Feb 2016 23:53:57 +0000 (+0100) Subject: Contact page X-Git-Url: https://git.dlugolecki.net.pl/?a=commitdiff_plain;h=8881855dd17d8b81466b8b646fd17d51a34697d7;p=wsti_pai.git Contact page --- 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" })