Closes #21: drop marketing page, nav/home cards, SEO/sitemap entries, and assets; permanently redirect /file_hosting to home.
37 lines
1.6 KiB
Python
Executable File
37 lines
1.6 KiB
Python
Executable File
from django.urls import path
|
|
from django.views.generic import RedirectView
|
|
|
|
from . import seo, views
|
|
|
|
urlpatterns = [
|
|
path("robots.txt", seo.robots_txt, name="robots_txt"),
|
|
path("sitemap.xml", seo.sitemap_xml, name="sitemap_xml"),
|
|
path("llms.txt", seo.llms_txt, name="llms_txt"),
|
|
path("", views.index, name="public_index"),
|
|
path("chat", views.chat, name="chat"),
|
|
path("ai_education", views.ai_education, name="ai_education"),
|
|
path("computer", views.computers, name="computers"),
|
|
path("web_design", views.web_design, name="web_design"),
|
|
path("ai_sensor", views.ai_sensor, name="ai_sensor"),
|
|
# Permanent redirect: product retired; keep URL for inbound links/search results.
|
|
path(
|
|
"file_hosting",
|
|
RedirectView.as_view(pattern_name="public_index", permanent=True),
|
|
),
|
|
path("bot_creation", views.bot, name="bot"),
|
|
path("forward-deployed-ai", views.forward_deployed, name="forward_deployed"),
|
|
path("ml_model", views.ml_model, name="ml_model"),
|
|
path("contact", views.contact, name="contact"),
|
|
path("terms", views.terms_of_service, name="terms_of_service"),
|
|
path("utm", views.utm_dashboard, name="utm_dashboard"),
|
|
path("leads", views.leads_list, name="leads_list"),
|
|
path("leads/<int:pk>/", views.lead_detail, name="lead_detail"),
|
|
path(
|
|
"leads/<int:pk>/toggle-contacted/",
|
|
views.lead_toggle_contacted,
|
|
name="lead_toggle_contacted",
|
|
),
|
|
path("change_password", views.change_password, name="change_password"),
|
|
path("preview_email/<int:pk>/", views.preview_email, name="preview_email")
|
|
]
|