diff --git a/Views/Home/Index.cshtml b/Views/Home/Index.cshtml index 17a0ef4..a511be5 100644 --- a/Views/Home/Index.cshtml +++ b/Views/Home/Index.cshtml @@ -2,100 +2,31 @@ ViewData["Title"] = "Home Page"; string user_name = Environment.GetEnvironmentVariable("APPSETTING_name"); - + string badge_color = Environment.GetEnvironmentVariable("APPSETTING_color"); + string font_size = Environment.GetEnvironmentVariable("APPSETTING_size"); string user_message1 = ""; string user_message2 = ""; - if(string.IsNullOrEmpty(user_name)) - { + if(string.IsNullOrEmpty(user_name)) { user_name = "HELLO USER!"; - user_message1 = @"You have successfully compled the task!"; + user_message1 = @"You have successfully completed the task!"; user_message2 = @"Your app is up, running and connected to source control."; } - else - { - user_message1 = @"Hello " + user_name + " nice to meet you."; - user_message2 = @"Thanks for adding the app setting!"; + else { + user_message1 = @"Hola " + user_name + " un gusto conocerlos en la officina de MS."; + user_message2 = @"Gracias por venir a mi platica"; } + + badge_color = string.IsNullOrEmpty(badge_color)?"#00a4ef":badge_color; + font_size = string.IsNullOrEmpty(font_size)? "1em":font_size; }
-
-
-
-
- -
- -
- -
- - -
@user_name
+
- - -
-
- -
-
+

@user_message1

@@ -104,7 +35,43 @@

+ +
+
+ +
+
-
+
+ +
+
+
@user_name +
+ + +
+
+ +