From 9e0a6916ead207f8cbb0ef2fa5a52d1f61067900 Mon Sep 17 00:00:00 2001
From: MarcEricMartel <74071476+MarcEricMartel@users.noreply.github.com>
Date: Sat, 10 Sep 2022 17:52:40 -0700
Subject: [PATCH] =?UTF-8?q?=C3=87a=20fait=20Bonk.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Controllers/HomeController.cs | 14 ++++++++++
.../GrossesMitaines/Views/Home/AboutUs.cshtml | 4 +++
.../Views/Home/ContactUs.cshtml | 4 +++
.../GrossesMitaines/Views/Home/Index.cshtml | 8 ++++--
.../GrossesMitaines/Views/Home/Privacy.cshtml | 6 +++--
.../Components/EnVedette/Default.cshtml | 14 ++++++----
.../Views/Shared/_Layout.cshtml | 27 +++++++++++++++----
7 files changed, 63 insertions(+), 14 deletions(-)
create mode 100644 GrossesMitaines/GrossesMitaines/Views/Home/AboutUs.cshtml
create mode 100644 GrossesMitaines/GrossesMitaines/Views/Home/ContactUs.cshtml
diff --git a/GrossesMitaines/GrossesMitaines/Controllers/HomeController.cs b/GrossesMitaines/GrossesMitaines/Controllers/HomeController.cs
index 711e53b..5bfe2c8 100644
--- a/GrossesMitaines/GrossesMitaines/Controllers/HomeController.cs
+++ b/GrossesMitaines/GrossesMitaines/Controllers/HomeController.cs
@@ -23,6 +23,20 @@ namespace GrossesMitaines.Controllers {
return View();
}
+ public IActionResult AboutUs() {
+ return View();
+ }
+
+ public IActionResult ContactUs() {
+ return View();
+ }
+
+ public class ContactModel { }; // À DELETER QUAND LA CLASSE/FORMULAIRE SERONT FAIT.
+ [HttpPost]
+ public IActionResult ContactUs(ContactModel model) {
+ return View(model);
+ }
+
[ResponseCache(Duration = 0, Location = ResponseCacheLocation.None, NoStore = true)]
public IActionResult Error() {
return View(new ErrorViewModel { RequestId = Activity.Current?.Id ?? HttpContext.TraceIdentifier });
diff --git a/GrossesMitaines/GrossesMitaines/Views/Home/AboutUs.cshtml b/GrossesMitaines/GrossesMitaines/Views/Home/AboutUs.cshtml
new file mode 100644
index 0000000..aa95e86
--- /dev/null
+++ b/GrossesMitaines/GrossesMitaines/Views/Home/AboutUs.cshtml
@@ -0,0 +1,4 @@
+@{
+ ViewData["Title"] = "À propos de nous";
+}
+WFWFFW
\ No newline at end of file
diff --git a/GrossesMitaines/GrossesMitaines/Views/Home/ContactUs.cshtml b/GrossesMitaines/GrossesMitaines/Views/Home/ContactUs.cshtml
new file mode 100644
index 0000000..fdf5d08
--- /dev/null
+++ b/GrossesMitaines/GrossesMitaines/Views/Home/ContactUs.cshtml
@@ -0,0 +1,4 @@
+@{
+ ViewData["Title"] = "Nous contacter";
+}
+PFSFNMFW
\ No newline at end of file
diff --git a/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml b/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml
index 8fbe7fe..53625ff 100644
--- a/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml
+++ b/GrossesMitaines/GrossesMitaines/Views/Home/Index.cshtml
@@ -1,9 +1,13 @@
@{
ViewData["Title"] = "Maison";
}
-
+
+
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
\ No newline at end of file diff --git a/GrossesMitaines/GrossesMitaines/Views/Shared/Components/EnVedette/Default.cshtml b/GrossesMitaines/GrossesMitaines/Views/Shared/Components/EnVedette/Default.cshtml index c18251b..9c85f63 100644 --- a/GrossesMitaines/GrossesMitaines/Views/Shared/Components/EnVedette/Default.cshtml +++ b/GrossesMitaines/GrossesMitaines/Views/Shared/Components/EnVedette/Default.cshtml @@ -1,6 +1,9 @@ -On ne lui ferait pas mal, en tout cas!!