2013-11-05 23:50:19 +01:00
|
|
|
from django.conf.urls import patterns, url
|
2013-11-06 13:02:47 +01:00
|
|
|
from django.views.generic import TemplateView, RedirectView
|
2013-11-05 23:50:19 +01:00
|
|
|
|
|
|
|
urlpatterns = patterns('',
|
|
|
|
# Job postings
|
|
|
|
url(r'^jobs/$', TemplateView.as_view(template_name='corporate/jobs/index.html')),
|
|
|
|
url(r'^jobs/lead-designer/$', TemplateView.as_view(template_name='corporate/jobs/lead-designer.html')),
|
2013-11-06 12:50:13 +01:00
|
|
|
|
|
|
|
# Zephyr/MIT
|
|
|
|
url(r'^zephyr/$', TemplateView.as_view(template_name='corporate/zephyr.html')),
|
|
|
|
url(r'^mit/$', TemplateView.as_view(template_name='corporate/mit.html')),
|
|
|
|
url(r'^zephyr-mirror/$', TemplateView.as_view(template_name='corporate/zephyr-mirror.html')),
|
2013-11-06 13:02:47 +01:00
|
|
|
|
|
|
|
# Marketing
|
|
|
|
# Landing page, features pages, signup form, etc.
|
|
|
|
url(r'^hello/$', TemplateView.as_view(template_name='corporate/hello.html'),
|
|
|
|
name='landing-page'),
|
|
|
|
url(r'^new-user/$', RedirectView.as_view(url='/hello')),
|
|
|
|
url(r'^features/$', TemplateView.as_view(template_name='corporate/features.html')),
|
|
|
|
url(r'^compare/$', TemplateView.as_view(template_name='corporate/compare.html')),
|
|
|
|
|
|
|
|
url(r'^signup/$', TemplateView.as_view(template_name='corporate/signup.html'),
|
|
|
|
name='signup'),
|
|
|
|
# TODO: The beta signup view should probably be moved to corporate.
|
|
|
|
url(r'^signup/sign-me-up$', 'zerver.views.beta_signup_submission', name='beta-signup-submission'),
|
2013-11-05 23:50:19 +01:00
|
|
|
)
|