diff --git a/app/routes.py b/app/routes.py index 4b2e5e9..4beab57 100644 --- a/app/routes.py +++ b/app/routes.py @@ -104,15 +104,19 @@ async def confirm_email( def _result_page(*, success: bool) -> str: - """Minimal HTML response for confirmation result.""" + """Branded HTML response for confirmation result, matching the adiuvAI landing page.""" if success: - title = "You're confirmed!" - message = "Your email has been verified. We'll notify you when adiuvAI is ready." - color = "#16a34a" + title = "You’re confirmed!" + message = "Your email has been verified. We’ll notify you when adiuvAI is ready." + icon_bg = "rgba(251,200,129,0.12)" + icon_border = "rgba(251,200,129,0.25)" + icon_svg = '' else: title = "Invalid or expired link" message = "This confirmation link is no longer valid. Please sign up again." - color = "#dc2626" + icon_bg = "rgba(220,38,38,0.08)" + icon_border = "rgba(220,38,38,0.18)" + icon_svg = '' return f"""\ @@ -121,22 +125,82 @@ def _result_page(*, success: bool) -> str:
{message}
- - Go to adiuvai.com - +{message}
+ Go to adiuvai.com