from django.conf.urls import url

from .views import (
    IndexView, BetaProgramView, LandingProgramView, BetaAccessView,
    SuccessView, PaymentOrderView, OrderConfirmationView,
    WhyDataCenterLightView, ContactUsView
)

from django.views.generic import TemplateView


urlpatterns = [
    url(r'^$', IndexView.as_view(), name='index'),
    url(r'^t/$', IndexView.as_view(), name='index_t'),
    url(r'^g/$', IndexView.as_view(), name='index_g'),
    url(r'^f/$', IndexView.as_view(), name='index_f'),
    url(r'^l/$', IndexView.as_view(), name='index_l'),
    url(r'^whydatacenterlight/?$', WhyDataCenterLightView.as_view(),
        name='whydatacenterlight'),
    url(r'^beta-program/?$', BetaProgramView.as_view(), name='beta'),
    url(r'^landing/?$', LandingProgramView.as_view(), name='landing'),
    url(r'^payment/?$', PaymentOrderView.as_view(), name='payment'),
    url(r'^order-confirmation/?$', OrderConfirmationView.as_view(),
        name='order_confirmation'),
    url(r'^order-success/?$', SuccessView.as_view(), name='order_success'),
    url(r'^beta_access?$', BetaAccessView.as_view(), name='beta_access'),
    url(r'^contact/?$', ContactUsView.as_view(), name='contact_us'),

    url(r'glasfaser/?$',
        TemplateView.as_view(template_name='ungleich_page/glasfaser.html'),
        name='glasfaser'),
]