"""
URL configuration for mysite project.

The `urlpatterns` list routes URLs to views. For more information please see:
    https://docs.djangoproject.com/en/5.0/topics/http/urls/
Examples:
Function views
    1. Add an import:  from my_app import views
    2. Add a URL to urlpatterns:  path('', views.home, name='home')
Class-based views
    1. Add an import:  from other_app.views import Home
    2. Add a URL to urlpatterns:  path('', Home.as_view(), name='home')
Including another URLconf
    1. Import the include() function: from django.urls import include, path
    2. Add a URL to urlpatterns:  path('blog/', include('blog.urls'))
"""
from django.contrib import admin
from django.urls import include,path
from home import views as home_views
#from .views import api
#from api_serper import urls as api_serper_urls


urlpatterns = [
    path('admin/', admin.site.urls),
    path('', home_views.home, name='home'),
    path('about/', home_views.about, name='about'),
    path('services/', home_views.services, name='services'),
    path('bio/', home_views.bio, name='bio'),
    path('contact/', home_views.contact, name='contact'),
   # path('api_serper/', include('api_serper.urls')),
   # path ('api/', home_views.api.views, name='api'),
   path('wp-graphql/', home_views.WordPressGraphQLView.as_view(), name='wp-graphql'),
   path('login/', home_views.WordPressLoginView.as_view(), name='login'),
   path('protected/', home_views.ProtectedView.as_view(), name='protected'),
   path('register/', home_views.WordPressRegisterView.as_view(), name='register'),
   path('points/', home_views.MyCredPointsView.as_view(), name='points'),




]
