chore: update project branding from SaaS-PDF to Dociva
- Updated robots.txt to reflect new site name and sitemap URL. - Modified sitemap.xml to change all URLs from saas-pdf.com to dociva.io. - Changed storage key for site assistant in SiteAssistant.tsx. - Updated SEOHead.tsx to change site name in meta tags. - Translated app name and related text in Arabic, English, and French JSON files. - Updated contact email in ContactPage.tsx, PrivacyPage.tsx, and TermsPage.tsx. - Changed internal admin page title to reflect new branding. - Updated pricing page meta description to reference Dociva. - Adjusted Nginx configuration for new domain. - Modified deployment script to reflect new branding. - Updated sitemap generation script to use new domain.
This commit is contained in:
@@ -9,6 +9,6 @@ def health_check():
|
||||
"""Simple health check — returns 200 if the service is running."""
|
||||
return jsonify({
|
||||
"status": "healthy",
|
||||
"service": "SaaS-PDF API",
|
||||
"service": "Dociva API",
|
||||
"version": "1.0.0",
|
||||
})
|
||||
|
||||
@@ -63,11 +63,11 @@ def save_message(name: str, email: str, category: str, subject: str, message: st
|
||||
conn.close()
|
||||
|
||||
# Send notification email to admin
|
||||
admin_email = current_app.config.get("SMTP_FROM", "noreply@saas-pdf.com")
|
||||
admin_email = current_app.config.get("SMTP_FROM", "noreply@dociva.io")
|
||||
try:
|
||||
send_email(
|
||||
to=admin_email,
|
||||
subject=f"[SaaS-PDF Contact] [{category}] {subject}",
|
||||
subject=f"[Dociva Contact] [{category}] {subject}",
|
||||
html_body=f"""
|
||||
<h2>New Contact Message</h2>
|
||||
<p><strong>From:</strong> {name} <{email}></p>
|
||||
|
||||
@@ -16,7 +16,7 @@ def _get_smtp_config() -> dict:
|
||||
"port": current_app.config.get("SMTP_PORT", 587),
|
||||
"user": current_app.config.get("SMTP_USER", ""),
|
||||
"password": current_app.config.get("SMTP_PASSWORD", ""),
|
||||
"from_addr": current_app.config.get("SMTP_FROM", "noreply@saas-pdf.com"),
|
||||
"from_addr": current_app.config.get("SMTP_FROM", "noreply@dociva.io"),
|
||||
"use_tls": current_app.config.get("SMTP_USE_TLS", True),
|
||||
}
|
||||
|
||||
@@ -62,11 +62,11 @@ def send_password_reset_email(to: str, token: str) -> bool:
|
||||
html = f"""
|
||||
<div style="font-family: sans-serif; max-width: 480px; margin: auto;">
|
||||
<h2>Password Reset</h2>
|
||||
<p>You requested a password reset for your SaaS-PDF account.</p>
|
||||
<p>You requested a password reset for your Dociva account.</p>
|
||||
<p><a href="{reset_link}" style="display:inline-block;padding:12px 24px;background:#4f46e5;color:#fff;border-radius:8px;text-decoration:none;">
|
||||
Reset Password
|
||||
</a></p>
|
||||
<p style="color:#666;font-size:14px;">This link expires in 1 hour. If you didn't request this, you can safely ignore this email.</p>
|
||||
</div>
|
||||
"""
|
||||
return send_email(to, "Reset your SaaS-PDF password", html)
|
||||
return send_email(to, "Reset your Dociva password", html)
|
||||
|
||||
@@ -52,7 +52,7 @@ TOOL_CATALOG = [
|
||||
{"slug": "text-cleaner", "label": "Text Cleaner", "summary": "clean up text spacing and formatting"},
|
||||
]
|
||||
|
||||
SYSTEM_PROMPT = """You are the SaaS-PDF site assistant.
|
||||
SYSTEM_PROMPT = """You are the Dociva site assistant.
|
||||
You help users choose the right tool, understand how to use the current tool, and explain site capabilities.
|
||||
Rules:
|
||||
- Reply in the same language as the user.
|
||||
|
||||
Reference in New Issue
Block a user