From acf476a2938daefd9f14ff068efdfb8e96b2b19b Mon Sep 17 00:00:00 2001
From: Joshua Simmons <i@joshuasimmons.name>
Date: Sun, 12 Nov 2017 17:21:53 -0800
Subject: [PATCH] add guide index to site

---
 fixtures/sitetree.json                        |  8 ++--
 .../templates/static_pages/attend/guides.html | 45 +++++++++++++++++++
 pinaxcon/urls.py                              |  2 +
 3 files changed, 51 insertions(+), 4 deletions(-)
 create mode 100644 pinaxcon/templates/static_pages/attend/guides.html

diff --git a/fixtures/sitetree.json b/fixtures/sitetree.json
index 3f2b1d1..ffa7035 100644
--- a/fixtures/sitetree.json
+++ b/fixtures/sitetree.json
@@ -681,11 +681,11 @@
 },
 {
     "model": "sitetree.treeitem",
-    "pk": 41,
+    "pk": 42,
     "fields": {
-        "title": "Accessibility and Accommodations",
+        "title": "Guide Index",
         "hint": "",
-        "url": "/attend/accessibility-and-accommodations",
+        "url": "/guides",
         "urlaspattern": false,
         "tree": 1,
         "hidden": false,
@@ -699,7 +699,7 @@
         "access_restricted": false,
         "access_perm_type": 1,
         "parent": 8,
-        "sort_order": 41,
+        "sort_order": 42,
         "access_permissions": []
     }
 }
diff --git a/pinaxcon/templates/static_pages/attend/guides.html b/pinaxcon/templates/static_pages/attend/guides.html
new file mode 100644
index 0000000..6538d6f
--- /dev/null
+++ b/pinaxcon/templates/static_pages/attend/guides.html
@@ -0,0 +1,45 @@
+{% extends "page_with_title_and_lede.html" %}
+
+{% load i18n %}
+
+{% block head_title %}Guide Index{% endblock %}
+
+{% block heading %}Guide Index{% endblock %}
+
+{% block body_class %}attend{% endblock %}
+
+{% block lede %}
+  We provide lots of info to help you have an excellent North Bay Python. This is a listing of all the key guides and wiki pages.
+{% endblock %}
+
+
+{% block content %}
+
+<p>We want it to make it easy for you to attend North Bay Python, and we want you to have the best possible experience while you're at the conference. This is a listing of all the guides we've prepared for you, including some key pages from the <a href="/wiki">Attendee Wiki</a>.</p>
+
+<p>Please feel free to email us at <a href="mailto:spam@northbaypython.org">spam@northbaypython.org</a> or find an organizer or volunteer in-person to ask questions and provide feedback.</p>
+
+<h2>Planning for North Bay Python</h2>
+
+<ul>
+  <li><strong><a href="/attend/business-case">How to Pitch Your Manager</a></strong> can help you articulate the business case for paying for you to go to North Bay Python to your manager.</li>
+  <li><strong><a href="/attend/travel">How to Get Here</a></strong> covers traveling to and from the conference, including driving, flying, and public transportation.</li>
+  <li><strong><a href="/wiki/ride-sharing/">Ride Sharing</a></strong> with other attendees can help you meet other attendees - and save money!</li>
+  <li><strong><a href="/attend/hotels">Where to Stay</a></strong> will help you navigate local lodging with a listing of options alongside info about distance and cost.</li>
+</ul>
+
+<h2>During the Conference</h2>
+
+<ul>
+  <li><strong><a href="/attend/accessibility-and-accommodations">Accessibility and Accommodations</a></strong> includes information for: parents; people with vision, hearing, and mobility issues; and people with dietary restrictions.</li>
+  <li><strong><a href="/attend/emergencies">Emergencies</a></strong> might involve the Code of Conduct, contacting organizers, calling the police, or finding a hospital or pharmacy.</li>
+  <li><strong><a href="/attend/food">Finding Food</a></strong> is easy in Petaluma, especially with this guide to local restaurants and markets with details about price, distance, and dietary restrictions.</li>
+  <li><strong><a href="/wiki/fitness">Fitness</a></strong> doesn't need to take a backseat while at North Bay Python, we have information about gyms and pools as well as running and hiking paths.</li>
+  <li><strong><a href="/attend/transit">Getting Around Ptown</a></strong> has key distances and details about taxis, busses, and walking paths.</li>
+  <li><strong><a href="/wiki/meetups">Meetups</a></strong> and birds of a feather sessions are great ways to connect with other attendees. Find and attend one or organize your own!</li>
+  <li><strong><a href="/wiki/activities">Partner- and Family-friendly Activities</a></strong> for folks who are bringing their families along to Sonoma County.</li>
+  <li><strong><a href="/code-of-conduct/harassment-incidents">Report Incidents</a></strong> as per our <a href="/code-of-conduct">Code of Conduct</a>. We have procedure guides for <a href="/code-of-conduct/harassment-incidents">attendees</a> as well as <a href="/code-of-conduct/harassment-staff-procedures">staff and volunteers</a>.</li>
+  <li><strong><a href="/wiki/tourist-guide">Tourist Guide</a></strong> for those who are staying in Sonoma County before or after North Bay Python.</li>
+</ul>
+
+{% endblock %}
diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py
index a936b8b..abcb772 100644
--- a/pinaxcon/urls.py
+++ b/pinaxcon/urls.py
@@ -41,6 +41,8 @@ urlpatterns = [
     url(r"^attend/tshirt$", TemplateView.as_view(template_name="static_pages/attend/tshirt.html"), name="attend/tshirt"),
     url(r"^attend/accessibility-and-accommodations$",TemplateView.as_view(template_name="static_pages/attend/accommodations.html"), name="attend/accessibility-and-accommodations"),
     url(r"^accessibility$", RedirectView.as_view(url="attend/accessibility-and-accommodations")),
+    url(r"^guides$",TemplateView.as_view(template_name="static_pages/attend/guides.html"), name="attend/guides"),
+
 
     url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code_of_conduct/code_of_conduct.html"), name="code-of-conduct"),
     url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_attendee.html"), name="code-of-conduct/harassment-incidents"),