from django.urls import path
from .views import *

app_name = 'fHome'
urlpatterns = [
    path('', HomeView.as_view(), name='index'),
    path('contact-us/store/', store_contact_us, name='store_contact_us'),

    path('course/', CourseIndex.as_view(), name='course.index'),
    path('course/<str:slug>', CourseSlugIndex.as_view(), name='course.slug'),

    path('blog/', BlogIndex.as_view(), name='blog.index'),
    path('blog/<str:slug>', BlogSlugIndex.as_view(), name='blog.slug'),

    path('maillist/', store_mail, name='mail_list'),

    path('about-us/', AboutUsIndex.as_view(), name='aboutUs.index'),

    path('contact-us/', ContactUsIndex.as_view(), name='contactUs.index'),
    path('faq/', FaqIndex.as_view(), name='faq.index'),
    path('testimonial/', TestimonialIndex.as_view(), name='testimonial.index'),
    path('trading-and-demat-account/', DematIndex.as_view(), name='demat'),
    path('info/', LinksIndex.as_view(), name='info'),
    path('partners/', PartnersIndex.as_view(), name='partners'),
]
