from django.urls import path
from django.utils.translation import gettext_lazy as _
from . import views

app_name = 'core'

urlpatterns = [
    path('', views.HomeView.as_view(), name='home'),
    path('contact/', views.ContactAjaxView.as_view(), name='contact_ajax'),
    path(_('a-propos/'), views.AboutView.as_view(), name='about'),
    path(_('produits/kiriq/'), views.KiriqView.as_view(), name='kiriq'),
    path(_('produits/monitor/'), views.MonitorView.as_view(), name='monitor'),
    path(_('produits/joolid/'), views.JoolidView.as_view(), name='joolid'),
    path(_('produits/monagro/'), views.MonAgroView.as_view(), name='monagro'),
    path(_('confidentialite/'), views.PrivacyView.as_view(), name='privacy'),
    # SEO — non traduits
    path('robots.txt', views.RobotsTxtView.as_view(), name='robots_txt'),
    path('sitemap.xml', views.SitemapXmlView.as_view(), name='sitemap_xml'),
]
