From 8bdaa377812f51b2fe95f7699d24dbc24df0a9b5 Mon Sep 17 00:00:00 2001 From: Bud Cribar Date: Sun, 18 Feb 2024 06:50:13 -0700 Subject: [PATCH] Updated Contact card --- .../Pages/HtmlPageGenerator.cs | 51 ++++++++++++------- 1 file changed, 34 insertions(+), 17 deletions(-) diff --git a/src/RemoteWebViewService/Pages/HtmlPageGenerator.cs b/src/RemoteWebViewService/Pages/HtmlPageGenerator.cs index 8f5abc87..2cee7616 100644 --- a/src/RemoteWebViewService/Pages/HtmlPageGenerator.cs +++ b/src/RemoteWebViewService/Pages/HtmlPageGenerator.cs @@ -2,9 +2,9 @@ { public class ContactInfo { - public string Name { get; set; } = string.Empty; - public string Company { get; set; } = string.Empty; - public string Email { get; set; } = string.Empty; + public string Name { get; set; } + public string Company { get; set; } + public string Email { get; set; } } public static class HtmlPageGenerator @@ -21,22 +21,36 @@ public static string GenerateContactPage(ContactInfo contact, string version) -
-

Contact Information

-

Name: {contact.Name}

-

Company: {contact.Company}

-

Email: {contact.Email}

-

Version: {version}

+
+
+

Contact Information

+

Name: {contact.Name}

+

Company: {contact.Company}

+

Email: {contact.Email}

+

Version: {version}

+
"; @@ -58,4 +74,5 @@ public static string GenerateContactPage(ContactInfo contact, string version) } } + }