From 47491744d39def2da0f5da1f5a0e111f94cea7cc Mon Sep 17 00:00:00 2001 From: Kelsey McMahon <40438334+kelseymcmahon@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:24:38 -0700 Subject: [PATCH] feat: Add about page and book image (#493) ## Description Fixes: #338 #337 #336 Edits: - Adding some UI updates to the site, including some nicer colors and a slightly nicer navigation UI/UX - Added an about page - Added book to about/home pages - Better mobile nav bar Would like to create some kind of graphic to fill this area, created a story(#494): Also, I think I need to update the root css colors to match the parser project side to the added web colors here. There is a bit of a mismatch at the moment on the generated pages. ### Ensure that your pull request has followed all the steps below: - [x] Code compilation - [ ] Created tests which fail without the change (if possible) - [x] All tests passing - [ ] Extended the README / documentation, if necessary --- .../Controllers/HomeController.cs | 13 +- EssentialCSharp.Web/Views/Home/About.cshtml | 71 ++++++++ .../Views/Home/Announcements.cshtml | 43 ++--- .../Views/Home/Guidelines.cshtml | 27 +-- EssentialCSharp.Web/Views/Home/Home.cshtml | 108 +++++++----- .../Views/Shared/_Layout.cshtml | 157 ++++++++++-------- .../Views/Shared/_LoginPartial.cshtml | 21 +-- EssentialCSharp.Web/wwwroot/css/styles.css | 123 +++++++++----- EssentialCSharp.Web/wwwroot/images/book.png | Bin 0 -> 933257 bytes .../wwwroot/images/intellitect-logo.svg | 29 ++++ 10 files changed, 382 insertions(+), 210 deletions(-) create mode 100644 EssentialCSharp.Web/Views/Home/About.cshtml create mode 100644 EssentialCSharp.Web/wwwroot/images/book.png create mode 100644 EssentialCSharp.Web/wwwroot/images/intellitect-logo.svg diff --git a/EssentialCSharp.Web/Controllers/HomeController.cs b/EssentialCSharp.Web/Controllers/HomeController.cs index 7ef7d483..f20f0ee0 100644 --- a/EssentialCSharp.Web/Controllers/HomeController.cs +++ b/EssentialCSharp.Web/Controllers/HomeController.cs @@ -60,16 +60,21 @@ public IActionResult TermsOfService() return View(); } - [Route("/Announcements", - Name = "Announcements")] + [Route("/Announcements", Name = "Announcements")] public IActionResult Announcements() { ViewBag.PageTitle = "Announcements"; return View(); } - [Route("/home", - Name = "home")] + [Route("/about", Name = "about")] + public IActionResult About() + { + ViewBag.PageTitle = "About"; + return View(); + } + + [Route("/home", Name = "home")] public IActionResult Home() { return View(); diff --git a/EssentialCSharp.Web/Views/Home/About.cshtml b/EssentialCSharp.Web/Views/Home/About.cshtml new file mode 100644 index 00000000..375a3216 --- /dev/null +++ b/EssentialCSharp.Web/Views/Home/About.cshtml @@ -0,0 +1,71 @@ +@{ + ViewData["Title"] = "About"; +} + +
+ IntelliTect is a high-end software architecture and development consulting firm based in Spokane, Washington. +
++ At IntelliTect, we offer a full range of software and consulting services. + Our passion for innovation manifests itself primarily in technology and software development. +
++ We provide high-end architecture consulting, full life-cycle software development, and training that enables our clients to solve their most challenging problems. +
+ ++ Check out the interactive and comprehensive guide to the C# coding language to expand your development knowledge and enhance your skill set at your own pace. The site includes everything developers need to master C# and is an excellent tool for beginners to experts. +
++ Essential C# is a well-organized, no-fluff guide to C# for programmers at all levels of experience. + Reflecting the most important C# features from 3.0 through 8.0 and including modern programming patterns, + it will help you write code that’s simple, powerful, robust, secure, and maintainable. +
++ World-class C# expert Mark Michaelis presents a complete tutorial and reference for the entire language, + including expert coverage of key C# enhancements, C#’s use with .NET Core/.NET Standard, + and cross-platform compilation. He illustrates key C# constructs with succinct examples, + and presents best-practice coding guidelines. +
++ Check out the interactive and comprehensive guide to the C# coding language to expand your development knowledge and enhance your skill set at your own pace. The site includes everything developers need to master C# and is an excellent tool for beginners to experts. +
+Essential C# is a well-organized, no-fluff guide to C# for programmers at all levels of experience. Reflecting the most important C# features from 3.0 through 8.0 and including modern programming patterns, it will help you write code that’s simple, powerful, robust, secure, and maintainable. World-class C# expert Mark Michaelis presents a complete tutorial and reference for the entire language, including expert coverage of key C# enhancements, C#’s use with .NET Core/.NET Standard, and cross-platform compilation. He illustrates key C# constructs with succinct examples, and presents best-practice coding guidelines.
-