from django.urls import path
from django.contrib.auth import views as auth_views
from . import views

urlpatterns = [
    path('', views.home, name='home'),
    path('signup/', views.signup_view, name='signup'),
    path('login/', auth_views.LoginView.as_view(template_name='core/login.html'), name='login'),
    path('logout/', auth_views.LogoutView.as_view(next_page='home'), name='logout'),
    path('verify/', views.verify_view, name='verify'),
    path('onboarding/role/', views.onboarding_role, name='onboarding_role'),
    path('onboarding/investor/', views.onboarding_investor, name='onboarding_investor'),
    path('onboarding/founder/', views.onboarding_founder, name='onboarding_founder'),
    path('onboarding/matching/', views.onboarding_partner_matching, name='partner_matching'),
    path('discover/', views.discover_startups, name='discover'),
    path('partners/', views.find_partners, name='partners'),
    path('portfolio/', views.my_portfolio, name='portfolio'),
    path('startup/<int:pk>/', views.startup_detail, name='startup_detail'),
    path('startup/<int:pk>/invest/', views.invest, name='invest'),
    path('startup/post/', views.post_startup, name='post_startup'),
    path('messages/', views.messages_view, name='messages'),
    path('chat/<int:pk>/', views.chat_detail, name='chat_detail'),
]