diff --git a/.vs/SummerBestWebForm2/v17/.suo b/.vs/SummerBestWebForm2/v17/.suo index 24838c2..b757c30 100644 Binary files a/.vs/SummerBestWebForm2/v17/.suo and b/.vs/SummerBestWebForm2/v17/.suo differ diff --git a/.vs/SummerBestWebForm2/v17/DocumentLayout.backup.json b/.vs/SummerBestWebForm2/v17/DocumentLayout.backup.json index 882bfef..cd09454 100644 --- a/.vs/SummerBestWebForm2/v17/DocumentLayout.backup.json +++ b/.vs/SummerBestWebForm2/v17/DocumentLayout.backup.json @@ -2,13 +2,21 @@ "Version": 1, "WorkspaceRootPath": "C:\\Repos\\SummerBestWebForm2\\", "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, { "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\pages\\home.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\pages\\home.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" }, { - "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\app.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\app.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" } ], "DocumentGroupContainers": [ @@ -18,7 +26,7 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 11, + "SelectedChildIndex": 12, "Children": [ { "$type": "Bookmark", @@ -66,29 +74,55 @@ }, { "$type": "Document", - "DocumentIndex": 0, + "DocumentIndex": 1, "Title": "Home.razor", "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor", "RelativeDocumentMoniker": "Components\\Pages\\Home.razor", "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor", "RelativeToolTip": "Components\\Pages\\Home.razor", - "ViewState": "AgIAAJgBAAAAAAAAAAAcwL4BAAAAAAAAAAAAAA==", + "ViewState": "AgIAABMAAAAAAAAAAAAAADEAAAAwAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", "WhenOpened": "2025-05-29T13:04:23.98Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 0, "Title": "Home.razor.cs", "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor.cs", "RelativeDocumentMoniker": "Components\\Pages\\Home.razor.cs", "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor.cs", "RelativeToolTip": "Components\\Pages\\Home.razor.cs", - "ViewState": "AgIAAKMBAAAAAAAAAAAcwLoBAAAvAAAAAAAAAA==", + "ViewState": "AgIAAF4AAAAAAAAAAAAAAGcAAAA+AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-29T14:37:32.314Z", "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "App.razor", + "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Components\\App.razor", + "RelativeDocumentMoniker": "Components\\App.razor", + "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Components\\App.razor", + "RelativeToolTip": "Components\\App.razor", + "ViewState": "AgIAACYAAAAAAAAAAAAYwEsAAABNAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", + "WhenOpened": "2025-05-29T16:20:24.809Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Program.cs", + "RelativeDocumentMoniker": "Program.cs", + "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Program.cs", + "RelativeToolTip": "Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-05-29T16:21:02.367Z", + "EditorCaption": "" } ] } diff --git a/.vs/SummerBestWebForm2/v17/DocumentLayout.json b/.vs/SummerBestWebForm2/v17/DocumentLayout.json index 882bfef..cd09454 100644 --- a/.vs/SummerBestWebForm2/v17/DocumentLayout.json +++ b/.vs/SummerBestWebForm2/v17/DocumentLayout.json @@ -2,13 +2,21 @@ "Version": 1, "WorkspaceRootPath": "C:\\Repos\\SummerBestWebForm2\\", "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, { "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\pages\\home.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\pages\\home.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" }, { - "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", - "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\pages\\home.razor.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|c:\\repos\\summerbestwebform2\\components\\app.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}", + "RelativeMoniker": "D:0:0:{10E16044-8880-42A4-866B-B0461C450A71}|SummerBestWebForm2.csproj|solutionrelative:components\\app.razor||{40D31677-CBC0-4297-A9EF-89D907823A98}" } ], "DocumentGroupContainers": [ @@ -18,7 +26,7 @@ "DocumentGroups": [ { "DockedWidth": 200, - "SelectedChildIndex": 11, + "SelectedChildIndex": 12, "Children": [ { "$type": "Bookmark", @@ -66,29 +74,55 @@ }, { "$type": "Document", - "DocumentIndex": 0, + "DocumentIndex": 1, "Title": "Home.razor", "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor", "RelativeDocumentMoniker": "Components\\Pages\\Home.razor", "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor", "RelativeToolTip": "Components\\Pages\\Home.razor", - "ViewState": "AgIAAJgBAAAAAAAAAAAcwL4BAAAAAAAAAAAAAA==", + "ViewState": "AgIAABMAAAAAAAAAAAAAADEAAAAwAAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", "WhenOpened": "2025-05-29T13:04:23.98Z", "EditorCaption": "" }, { "$type": "Document", - "DocumentIndex": 1, + "DocumentIndex": 0, "Title": "Home.razor.cs", "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor.cs", "RelativeDocumentMoniker": "Components\\Pages\\Home.razor.cs", "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Components\\Pages\\Home.razor.cs", "RelativeToolTip": "Components\\Pages\\Home.razor.cs", - "ViewState": "AgIAAKMBAAAAAAAAAAAcwLoBAAAvAAAAAAAAAA==", + "ViewState": "AgIAAF4AAAAAAAAAAAAAAGcAAAA+AAAAAAAAAA==", "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", "WhenOpened": "2025-05-29T14:37:32.314Z", "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "App.razor", + "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Components\\App.razor", + "RelativeDocumentMoniker": "Components\\App.razor", + "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Components\\App.razor", + "RelativeToolTip": "Components\\App.razor", + "ViewState": "AgIAACYAAAAAAAAAAAAYwEsAAABNAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000759|", + "WhenOpened": "2025-05-29T16:20:24.809Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Repos\\SummerBestWebForm2\\Program.cs", + "RelativeDocumentMoniker": "Program.cs", + "ToolTip": "C:\\Repos\\SummerBestWebForm2\\Program.cs", + "RelativeToolTip": "Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2025-05-29T16:21:02.367Z", + "EditorCaption": "" } ] } diff --git a/Components/App.razor b/Components/App.razor index 86b8d5c..6665a28 100644 --- a/Components/App.razor +++ b/Components/App.razor @@ -73,6 +73,7 @@ } } +
@errMsg@if (appState != null) { diff --git a/Components/Pages/Home.razor b/Components/Pages/Home.razor index 3f21d8a..0c4ac24 100644 --- a/Components/Pages/Home.razor +++ b/Components/Pages/Home.razor @@ -8,173 +8,173 @@ @if (ShowWizard) { -
It's time for our Summer Growth Program!
If you're looking to kick off your summer season with a wildly successful campgaign, then you've come to the right place!
- Using this wizard, choose your target audience, decide what media you'd like to mail, choose from a few suggested designs (or request a custom design from our - creative team), and that's it! -
-Let us handle the rest!
-It's time for our Summer Growth Program!
If you're looking to kick off your summer season with a wildly successful campgaign, then you've come to the right place!
+ Using this wizard, choose your target audience, decide what media you'd like to mail, choose from a few suggested designs (or request a custom design from our + creative team), and that's it! +
+Let us handle the rest!
+When you're asked for "additional comments," just give us an idea of what you have in mind and our customer care team will have some ideas - ready when we call you! -
-When you're asked for "additional comments," just give us an idea of what you have in mind and our customer care team will have some ideas + ready when we call you! +
+Thank you for making our success possible.
-We appreciate loyal customers like you and look forward to continuing to be your complete auto repair, service and tire center!
+Thank you for making our success possible.
+We appreciate loyal customers like you and look forward to continuing to be your complete auto repair, service and tire center!
} else if (verseTwo) { -We appreciate the trust you have shown in us and look forward to working with you in the future!
+We appreciate the trust you have shown in us and look forward to working with you in the future!
} else if (verseThree) { -We want you to know that we truly appreciate your business and will make every effort possible to continue to provide you with excellent car care.
+We want you to know that we truly appreciate your business and will make every effort possible to continue to provide you with excellent car care.
} -From your friends at TopSpeed Tire
(your location name)
(888) 555-3712
(your location phone number)
From your friends at TopSpeed Tire
(your location name)
(888) 555-3712
(your location phone number)
I'll specify method of payment when reviewing the order.
+ } + else if (check) + { +I'll be sending in a check by the invoice's due date (6/13/2025).
+ } +Location Name: {0}"; + if (int.TryParse(requestedQuantity, out _)) + requestedQuantity = string.Format("{0:#,##0}", int.Parse(requestedQuantity)); + + var paymentString = string.Format("
Manager: {1}
Address: {2}
City: {3}
State: {4}
Zip: {5}
Phone Number: {6}
Contact Name: {7}
Contact Phone: {8}
Contact Email: {9}
", + var targetAudience = string.Format("", string.IsNullOrWhiteSpace(audienceType) ? "NOTHING!" : audienceType); + var locInfoString = string.Format(" Audience: {0} " + + " Location Name: {0} " + + " Manager: {1} " + + " Address: {2} " + + " City: {3} " + + " State: {4} " + + " Zip: {5} " + + " Phone Number: {6} " + + " Contact Name: {7} " + + " Contact Phone: {8} ", locationInfo.LocationName, locationInfo.Manager, locationInfo.Address, locationInfo.City, locationInfo.State, locationInfo.Zip, locationInfo.PhoneNumber, locationInfo.ContactName, locationInfo.ContactPhone, locationInfo.ContactEmail); - string cardInfoString = string.Format("Card type: {0}, Design {1} Contact Email: {9}
Customization Options:
{2}
Logos: {3}
", - cardType, cardDesign, customizationInfo, logos); + var cardInfoString = string.Format("" + + " Card type: {0}, Design {1} " + + "{2}" + + " Customization Options: ", + cardType, cardDesign, customizationInfo, string.Join(", ", logos)); - string paymentString = string.Format("Payment Method: {0} Logos: {3}
Requested Quantity: {1}
Additional Comments: {2}", paymentMethod, requestedQuantity, additionalComments); - em.HtmlBody = "You have a new enrollment:
" + locInfoString + cardInfoString + paymentString + "