from django.urls import path
from . import views

app_name = 'about'

urlpatterns = [
    # Combined about page data
    path('page/', views.about_page_data, name='about-page-data'),
    
    # Banner endpoints
    path('banner/', views.AboutBannerListAPIView.as_view(), name='about-banner-list'),
    path('banner/<int:pk>/', views.AboutBannerDetailAPIView.as_view(), name='about-banner-detail'),
    
    # Service endpoints
    path('service/', views.AboutServiceListAPIView.as_view(), name='about-service-list'),
    path('service/<int:pk>/', views.AboutServiceDetailAPIView.as_view(), name='about-service-detail'),
    
    # Process endpoints
    path('process/', views.AboutProcessListAPIView.as_view(), name='about-process-list'),
    path('process/<int:pk>/', views.AboutProcessDetailAPIView.as_view(), name='about-process-detail'),
    
    # Journey endpoints
    path('journey/', views.AboutJourneyListAPIView.as_view(), name='about-journey-list'),
    path('journey/<int:pk>/', views.AboutJourneyDetailAPIView.as_view(), name='about-journey-detail'),
]
