Permalink
Browse files

Mentors page

  • Loading branch information...
1 parent 2e2635d commit c9a6d66203cb093e7a3f77d1e60e08831179947b @xaviershay committed Dec 18, 2010
View
@@ -1,2 +1,14 @@
+class DefaultPage < Rack::Directory
+ def call(env)
+ path = env['PATH_INFO']
+
+ if path =~ /\/$/ || !(path =~ /\..+$/)
+ env['PATH_INFO'] = File.join(path, 'index.html')
+ end
+
+ super
+ end
+end
+
use Rack::Static, :urls => ["/images", "/fonts"], :root => "public"
-run lambda { |env| [200, { 'Content-Type' => 'text/html', 'Cache-Control' => 'public, max-age=86400' }, File.open('public/index.html', File::RDONLY)] }
+run DefaultPage.new("public")
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
@@ -86,7 +86,7 @@
<section>
<h1>How does it work?</h1>
- <p>You and a small group (no more than seven) of other cadets from your <strong>local area</strong> all start a Vegan lifestyle on the first day of the month, with the aim to keep that lifestyle for the entire month. You will have the support of your peer group plus an <strong>experienced mentor</strong>, who will provide challenges, assignments, and recipes to help you learn about, experience, and fully immerse yourself in the Vegan lifestyle.</p>
+ <p>You and a small group (no more than seven) of other cadets from your <strong>local area</strong> all start a Vegan lifestyle on the first day of the month, with the aim to keep that lifestyle for the entire month. You will have the support of your peer group plus an <strong>experienced mentor</strong>, who will provide challenges, assignments, and recipes to help you learn about, experience, and fully immerse yourself in the Vegan lifestyle. <a href='/mentors.html'>More about our mentors.</a></p>
<p>There is contact throughout the week via email and/or phone, and there is a weekly dinner to catch up with the group, report on progress, and of course just have a good time! This is an <strong>immersive course.</strong></p>
</section>
@@ -126,7 +126,7 @@
<section>
<h1>How much does it cost?</h1>
- <p>The full month of mentoring and curriculum is only <strong>$225</strong>.
+ <p>The full month of <a href='/mentors.html'>mentoring</a> and curriculum is only <strong>$225</strong>.
</section>
<section>
View
@@ -0,0 +1,129 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <!--
+ _ _ _ __ _ _
+| |__ ___| | | ___ / _|_ __(_) ___ _ __ __| |
+| '_ \ / _ \ | |/ _ \ | |_| '__| |/ _ \ '_ \ / _` |
+| | | | __/ | | (_) | | _| | | | __/ | | | (_| |
+|_| |_|\___|_|_|\___/ |_| |_| |_|\___|_| |_|\__,_|
+
+ -->
+ <meta charset="utf-8" />
+ <meta name="description" content="Discover the Vegan lifestyle for a month, with the support of a mentor and your peers." />
+ <title>Vegan Month</title>
+ <style>
+ * { margin: 0; padding: 0; }
+ body { font: 12pt/1.5 "Georgia", serif; font-weight: 200; width: 480px; margin: 0 auto; }
+
+ @font-face {
+ font-family: 'AmerikaRegular';
+ src: url('/fonts/AMERIKA_-webfont.eot');
+ src: local(''), url('/fonts/AMERIKA_-webfont.woff') format('woff'), url('/fonts/AMERIKA_-webfont.ttf') format('truetype'), url('/fonts/AMERIKA_-webfont.svg#webfontFbN0xXy4') format('svg');
+ font-weight: normal;
+ font-style: normal;
+ }
+
+ header h1 {
+ /* font-family: 'AmerikaRegular'; */
+ font-size: 48pt;
+ text-align: center;
+ }
+
+ header h2 {
+ font-family: 'Georgia';
+ font-size: 14pt;
+ text-align: center;
+ }
+ header {
+ margin-bottom: 2em;
+ display: block;
+ }
+ section h1 {
+ text-align: center;
+ }
+
+ section h2 {
+ /* font-family: 'AmerikaRegular'; */
+ display: inline-block;
+ width: 150px;
+ float: left;
+ font-size: 14pt;
+ }
+
+ section p {
+ margin-left: 155px;
+ margin-bottom: 1em;
+ text-align: justify;
+ }
+ section {
+ margin-bottom: 2em;
+ }
+ article {
+ clear: both;
+ }
+ ul {
+ margin-left: 150px;
+ margin-bottom: 1em;
+ }
+ img {
+ border: solid 1px black;
+ }
+ footer {
+ display: block;
+ clear: both;
+ font-size: 120%;
+ text-align: center;
+ }
+
+ header a, header a:visited { color: black; text-decoration: none;}
+ a, a:visited { color: #685039; text-decoration: none;}
+ strong { font-weight: bold; }
+ </style>
+ <!--[if IE]>
+ <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
+ <![endif]-->
+ </head>
+ <body>
+ <header>
+ <a href='/'>
+ <h1>Vegan Month</h1>
+ <h2>Discover the Vegan lifestyle for a month, with the support of a mentor and your peers.</h2>
+ </a>
+ </header>
+
+ <section class='mentors'>
+ <h1>Melbourne Mentors</h1>
+ <article>
+ <a href='http://xaviershay.com'>
+ <h2>Xavier Shay<img src='/images/xavier.jpg' /></h2>
+ </a>
+ <p>Xavier lives in a repurposed dairy in East Melbourne, which is somewhat fitting for a vegan. He has extensive international teaching experience in fields from dance to programming that he brings to this mentoring role. He is big into rock climbing, playing the piano, and makes a mean burrito.</p>
+ </article>
+
+ <article>
+ <a href='mailto:jared.shay@gmail.com'>
+ <h2>Jared Shay<img src='/images/jared.jpg' /></h2>
+ </a>
+ <p>Jared is primarily a drummer, playing in bands of all different genres and teaching at a number of schools. He's handy in the kitchen, as evidenced by his abandoned-yet-timeless <a href="http://imitationnerfburger.wordpress.com/">cooking blog</a>. More up to date, he keeps a personal development blog <a href='http://www.two-shay.com/'>TwoShay</a> with Xavier and juggles better than most people you know. Mention Star Wars to him and you'll have a friend for life.
+</p>
+ </article>
+ </section>
+
+<!--
+ <section class='mentors'>
+ <h1>San Francisco Mentors</h1>
+ <article>
+ <a href='http://tomhughescroucher.com'>
+ <h2>Tom Hughes-Croucher<img src='/images/tom.jpg' /></h2>
+ </a>
+ <p>Originally from Nottinghamshire in the UK, Tom now lives in San Francisco where by day he is a technical evangelist for <a href='http://developer.yahoo.com/'>Yahoo!</a>.</p>
+ </article>
+ </section>
+ -->
+ <footer>
+ <a href='/'>Back</a>
+ </footer>
+ </body>
+</html>
+

0 comments on commit c9a6d66

Please sign in to comment.