Commits

leopd  committed c8c28da

Added an About page.

  • Participants
  • Parent commits 0d996ff

Comments (0)

Files changed (5)

File templates/base.html

     }
     .bottom li {
       display: inline;
-      padding-right: 10px;
+      padding-right: 30px;
     }
     
     .auth {
   {% if user.is_authenticated %}
     <li><a href="/accounts/logout/">Log out {{user.username}}</a></li>
   {% endif %}
+  <li><a href="{% url welcome.views.about%}">About</a></li>
 </ul>
 {% include "analytics.html" %}
 </body>

File templates/welcome/about.html

+{% extends "base.html" %}
+
+{% block content %}
+
+<p>
+<b>
+    PleaseStopBy is a neighborhood social application.
+</b>
+    Our goal is enable real-world, in-person, meat-space, face-to-face social contact using social 
+    networks.  If FourSquare is for going out with friends, 
+    PleaseStopBy is for staying home with friends.
+</p>
+<p>
+    <b>PleaseStopBy is also open source.</b>  So we have no ulterior motives but 
+    to help you and your friends hang out.  
+    If you'd like to help out with <a href="http://bitbucket.org/leopd/pleasestopby/">the code</a>, please get a hold of us.  (It's all python/django.)  There's a list of features a mile long we'd like to build.
+    We'd also love to see native clients for various kinds of phones.
+</p>
+<p>
+    <b>To get a hold of the team</b> the best way is to reach us on twitter using the
+    <a href="http://twitter.com/pleasestopby/">@pleasestopby</a> account.  
+    That is, send a tweet that starts like <span class="tweet">@pleasestopby hey can y'all</span> and we'll see that.
+</p>
+<p>
+    Our welcome-mat logo is derived from a CC-licensed photo by <a href="http://www.flickr.com/photos/mjparnell/435465575/">mcclouds</a>.  Thanks!
+</p>
+
+
+{% endblock %}

File templates/welcome/homeswitch.html

     </p>
   </div>
 
-<!-- Welcome mat image CC mcclouds http://www.flickr.com/photos/mjparnell/
-taken from http://www.flickr.com/photos/mjparnell/435465575/ .
-TODO: put this somewhere visible like an About page.
--->
-
 
 {% endif %}
 
 
     (r'^accounts/', include('registration.backends.simple.urls')),
     (r'^$', 'welcome.views.homepage'),
+    (r'^about/$', 'welcome.views.about'),
     (r'^hood/', include('hood.urls')),
     (r'^status/', include('status.urls')),
     (r'^notices/', include('notification.urls')),

File welcome/views.py

 def homepage(request):
     return render_to_response("welcome/homeswitch.html",
             context_instance = RequestContext(request))
+
+def about(request):
+    return render_to_response("welcome/about.html",
+            context_instance = RequestContext(request))