Skip to content

Commit d06f943

Browse files
Copilotaurelianware
andcommitted
Apply code review feedback: Update branding, security, and UX improvements
Co-authored-by: aurelianware <194855645+aurelianware@users.noreply.github.com>
1 parent 4d89fc1 commit d06f943

File tree

4 files changed

+62
-22
lines changed

4 files changed

+62
-22
lines changed

portal/CloudHealthOffice.Portal/Pages/Welcome.razor

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
@page "/welcome"
22
@using Microsoft.AspNetCore.Authorization
3+
@using System.ComponentModel.DataAnnotations
34
@inject NavigationManager Navigation
45

56
@attribute [AllowAnonymous]
@@ -15,6 +16,7 @@
1516
<!-- Hero Section -->
1617
<section class="hero">
1718
<div class="container">
19+
<img src="/images/logo-cloudhealthoffice-sentinel-primary.svg" alt="Cloud Health Office" class="hero-logo" />
1820
<h1 class="display-4">Welcome to Cloud Health Office</h1>
1921
<p class="lead">Your Complete EDI Transaction Suite for Efficient Health Plan Management</p>
2022
<a href="#signup" class="btn btn-light btn-lg">Sign Up Now</a>
@@ -44,7 +46,7 @@
4446
<div class="col-md-4 text-center">
4547
<div class="feature-icon">📎</div>
4648
<h4>Claim Attachments</h4>
47-
<p>275/276/277 unsolicited and solicited attachments, FHIR integration, and automated delivery.</p>
49+
<p>275 claim attachments (unsolicited and solicited), FHIR integration, and automated delivery.</p>
4850
</div>
4951
<div class="col-md-4 text-center">
5052
<div class="feature-icon">👥</div>
@@ -93,15 +95,18 @@
9395
<h2 class="text-center mb-4">Sign Up and Start Today</h2>
9496
<p class="text-center mb-5">Secure billing powered by Stripe. Choose your plan and get instant access.</p>
9597
<EditForm Model="signupModel" OnValidSubmit="HandleSignup">
98+
<DataAnnotationsValidator />
99+
<ValidationSummary />
96100
<div class="row justify-content-center">
97101
<div class="col-md-6">
98102
<div class="mb-3">
99103
<label for="email" class="form-label">Email Address</label>
100-
<InputText id="email" class="form-control" @bind-Value="signupModel.Email" />
101-
</div>
102-
<div class="mb-3">
103-
<label for="password" class="form-label">Password</label>
104-
<InputText id="password" type="password" class="form-control" @bind-Value="signupModel.Password" />
104+
<InputText id="email"
105+
type="email"
106+
autocomplete="email"
107+
class="form-control"
108+
@bind-Value="signupModel.Email" />
109+
<ValidationMessage For="@(() => signupModel.Email)" />
105110
</div>
106111
<div class="mb-3">
107112
<label for="plan" class="form-label">Select Plan</label>
@@ -124,16 +129,19 @@
124129

125130
private class SignupModel
126131
{
132+
[Required(ErrorMessage = "Email address is required")]
133+
[EmailAddress(ErrorMessage = "Invalid email address")]
127134
public string Email { get; set; } = string.Empty;
128-
public string Password { get; set; } = string.Empty;
135+
136+
[Required(ErrorMessage = "Plan selection is required")]
129137
public string Plan { get; set; } = "basic";
130138
}
131139

132-
private async Task HandleSignup()
140+
private Task HandleSignup()
133141
{
134142
// TODO: Integrate with Stripe API here
135143
// For example, use JS Interop to call Stripe.js or server-side creation of Checkout Session
136144
// This is a placeholder; implement actual signup logic
137-
Console.WriteLine($"Signing up with Email: {signupModel.Email}, Plan: {signupModel.Plan}");
145+
return Task.CompletedTask;
138146
}
139147
}

portal/CloudHealthOffice.Portal/Pages/Welcome.razor.css

Lines changed: 44 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,31 @@
1-
/* Hero Section */
1+
/* Hero Section - Sentinel Branding */
22
.hero {
3-
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
3+
background: #000000;
4+
background-image:
5+
radial-gradient(circle at 20% 50%, rgba(0, 255, 255, 0.03) 0%, transparent 50%),
6+
radial-gradient(circle at 80% 80%, rgba(255, 0, 255, 0.03) 0%, transparent 50%);
47
color: white;
58
padding: 5rem 2rem;
69
text-align: center;
710
}
811

12+
.hero-logo {
13+
max-width: 250px;
14+
margin-bottom: 2rem;
15+
filter: drop-shadow(0 0 30px rgba(0, 255, 255, 0.5));
16+
}
17+
918
.hero .display-4 {
1019
font-weight: bold;
1120
margin-bottom: 1.5rem;
21+
color: #00ffff;
22+
text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
1223
}
1324

1425
.hero .lead {
1526
font-size: 1.5rem;
1627
margin-bottom: 2rem;
28+
color: #b0b0b0;
1729
}
1830

1931
/* Feature Icons */
@@ -22,38 +34,59 @@
2234
margin-bottom: 1rem;
2335
}
2436

25-
/* Testimonials */
37+
/* Testimonials - Sentinel Branding */
2638
.testimonial {
2739
padding: 2rem;
28-
background: white;
40+
background: #0a0a0a;
41+
border: 1px solid #00ffff;
2942
border-radius: 8px;
30-
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
43+
box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
3144
height: 100%;
3245
}
3346

3447
.testimonial p:first-child {
3548
font-style: italic;
36-
color: #555;
49+
color: #b0b0b0;
3750
margin-bottom: 1rem;
3851
}
3952

4053
.testimonial strong {
41-
color: #667eea;
54+
color: #00ff88;
4255
}
4356

44-
/* Signup Section */
57+
/* Signup Section - Sentinel Branding */
4558
.signup-section {
46-
background: #f8f9fa;
59+
background: #0a0a0a;
4760
padding: 4rem 2rem;
4861
}
4962

5063
.signup-section h2 {
51-
color: #333;
64+
color: #00ffff;
65+
text-shadow: 0 0 20px rgba(0, 255, 255, 0.8);
66+
}
67+
68+
.signup-section p {
69+
color: #b0b0b0;
5270
}
5371

5472
.signup-section .form-label {
5573
font-weight: 600;
56-
color: #555;
74+
color: #b0b0b0;
75+
}
76+
77+
.signup-section .form-control,
78+
.signup-section .form-select {
79+
background: #0f0f0f;
80+
border: 1px solid #00ffff;
81+
color: #ffffff;
82+
}
83+
84+
.signup-section .form-control:focus,
85+
.signup-section .form-select:focus {
86+
background: #0f0f0f;
87+
border-color: #00ff88;
88+
box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
89+
color: #ffffff;
5790
}
5891

5992
/* Responsive adjustments */

portal/CloudHealthOffice.Portal/Pages/_Host.cshtml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,5 @@
3434
<script src="_content/MudBlazor/MudBlazor.min.js"></script>
3535
<script src="https://js.stripe.com/v3/"></script>
3636
<script src="/js/stripe-handler.js"></script>
37-
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
3837
</body>
3938
</html>

site/assessment.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -482,7 +482,7 @@ <h3>Immediate Actions</h3>
482482
<ol>
483483
<li><p><strong>Schedule Demo</strong></p>
484484
<ul>
485-
<li><a href="https://calendly.com/mark-cloudhealthoffice">Book 30-minute platform walkthrough</a></li>
485+
<li><a href="https://calendly.com/mark-cloudhealthoffice" target="_blank" rel="noopener noreferrer">Book 30-minute platform walkthrough</a></li>
486486
<li>Review your specific payer requirements</li>
487487
<li>See live deployment demonstration</li>
488488
</ul>

0 commit comments

Comments
 (0)