Skip to content
Browse files

add some website content so that we just have one app

  • Loading branch information...
1 parent e4f029c commit c30ee6e4ef891c21a1dae67fd2ec67ccbe20b366 Luke Closs committed
Showing with 60 additions and 12 deletions.
  1. +2 −2 lib/Biopay.pm
  2. +36 −9 views/index.tt
  3. +10 −1 views/layouts/sidebar.tt
  4. +12 −0 views/news.tt
View
4 lib/Biopay.pm
@@ -24,7 +24,7 @@ our $VERSION = '0.1';
my %public_paths = (
map { $_ => 1 }
- qw( / /login /logout /terms /refunds /privacy),
+ qw( / /login /logout /terms /refunds /privacy /news),
'/forgot-password', '/admin-login', '/biodiesel-faq',
'/new-member', '/stats-widget.js',
);
@@ -81,7 +81,7 @@ get '/' => sub {
stats => Biopay::Stats->new,
};
};
-for my $page (qw(privacy refunds terms biodiesel-faq)) {
+for my $page (qw(privacy refunds terms biodiesel-faq news)) {
get "/$page" => sub { template $page };
}
View
45 views/index.tt
@@ -3,19 +3,46 @@
[% ELSIF member %]
[% INCLUDE 'index-member.tt' %]
[% ELSE %]
- <h1>Biopay Co-op Centre</h1>
+ <h1>The Little Pump that Could</h1>
[% INCLUDE message.tt %]
- <p>Welcome to the Vancouver Biodiesel Co-op Billing system. This service tracks biodiesel purchases, processes payments and offers administration.</p>
- <p>
- This system is owned and operated for the Vancouver Biodiesel Co-op by the <a href="http://recyclingalternative.com">Recycling Alternative</a>. For any problems or questions please contact the co-op <a href="mailto:info@vancouverbiodiesel.org">via email</a> or contact <a href="http://recyclingalternative.com">Recycling Alternative</a> directly.
- </p>
- <p>
- <h3>Interested in joining the co-op?</h3>
+<p>The Vancouver Biodiesel Co-op is proud to be the lower mainland's only consumer source of B100 pure, locally sourced Biodiesel.</p>
+<p>With the strong support from <a href="http://recyclingalternative.com">Recycling Alternative</a> we have a 4220 Litre pump with 24/7 cardlock access. Members can purchase fuel at any time in any amount! You could <a href="/new-member">sign up right now</a> and then head down for a fill-up!</p>
+
+<div class="well">
+<h3>Real-time Co-op Stats</h3>
+<div class="vbc_stats"></div>
+</div>
+
+<address><strong>Pump Location</strong><br />
+Recycling Alternative<br />
+<a href="http://maps.google.ca/maps?q=360+Industrial+Ave,+Vancouver,+BC+V6A+2P3&hl=en&sll=49.287735,-123.045285&sspn=0.010931,0.041263&vpsrc=0&t=h&z=16">360 Industrial Ave, Vancouver.</a><br />
+<em>(near Terminal and Main in Vancouver.)</em><br />
+</address>
+
+<h3>What's the deal with Biodiesel?</h3>
+<p>
+Unlike "Waste Oil", Biodiesel requires NO special modifications to your diesel-engine car or truck. The biodiesel we use is made from locally sourced plant-based oils and is always <a href="http://www.astm.org/Standards/D975.htm">certified</a>. As biodiesel is much cleaner running in your engine, you should monitor your fuel filter (deposits from previous use of conventional diesel are flushed out). The more biodiesel you use, the longer your engine will last.
+</p>
+
+<p>
+If you have questions, please check out our <a target="_blank" rel="nofollow" title="(external link)" href="/biodiesel-faq">FAQ</a> or email <a href="mailto:info@vancouverbiodiesel.org">info@vancouverbiodiesel.org</a> or <a href="http://twitter.com/vanbiodiesel">tweet us!</a>
+</p>
+
+<h2>Joining the Co-op</h2>
+<p>You can join the co-op online! After you watch the online orientation video and read our <a href="/biodiesel-faq">Biodiesel FAQ</a>, you can head down to the pump to fill up! If you have questions before you're ready to join, please <a href="mailto:info@vancouverbiodiesel.org">email us</a> and we'll do our best to help you out!</p>
+
+
+<p>Our co-op has an signup fee of $15 plus $10/year for annual membership. At this time, only members are able to purchase biodiesel.</p>
+</p>
+<div class="actions">
+ <h3>Start enjoying the juice!</h3>
<a class="btn large primary" href="/new-member">Sign up!</a>
- </p>
+</div>
+
<p>
+<div class="actions">
<h3>Already a member?</h3>
<a class="btn large primary" href="/login">Member Login</a> or
<a class="btn large" href="/admin-login">Admin Login</a>
- </p>
+</div>
[% END %]
View
11 views/layouts/sidebar.tt
@@ -41,11 +41,20 @@
[% ELSE %]
<p>Our co-op sells 100% recycled, <a href="http://astm.org">ASTM certified</a>, locally sourced biodiesel fuel to our members.</p>
<dl>
- <li><a href="http://www.vancouverbiodiesel.org/">Biodiesel Co-op Homepage</a></li>
+ <li><a href="/">Biodiesel Co-op Homepage</a></li>
<li><a href="/biodiesel-faq">Co-op FAQ</a></li>
<li><a href="http://twitter.com/vanbiodiesel/">Co-op on Twitter</a></li>
<li><a href="http://en.wikipedia.org/wiki/Biodiesel">Biodiesel on Wikipedia</a></li>
<li><a href="/biopay.pdf">Biopay Info Sheet</a></li>
+ <li><a href="http://twitter.com/vanbiodiesel" class="twitter-follow-button"
+ data-show-count="false">Follow @vanbiodiesel</a>
+ <script src="http://platform.twitter.com/widgets.js" type="text/javascript">
+ </script></li>
</dl>
+ <p><a href="/login" class="large primary btn">Member Login</a></p>
+ <p><a href="/admin-login" class="large btn">Admin Login</a></p>
+ <h3>Co-op Stats</h3>
+ <div class="vbc_stats"></div>
+ <script src="/stats-widget.js?j=1"></script>
[% END %]
</div>
View
12 views/news.tt
@@ -0,0 +1,12 @@
+<h1>Co-op News</h1>
+
+<h2>Infrastructure</h2>
+<p>Our city-approved concrete pad and birm is in place, our pumps are flowing well, and our new automated cardlock billing system is taking the load off <a href="http://recyclingalternative.org">Recycling Alternative</a>'s staff members.</p>
+
+<h2>Fuel</h2>
+<p>We have several fuel sources that offer locally produced, 100% recycled, <a href="http://en.wikipedia.org/wiki/ASTM_International">ASTM spec</a> biodiesel. It is much better in the cold season than our older tallow-based fuel.</p>
+<p>We're also looking at purchasing fuel from <a href="http://www.cowichanenergy.org/">Cowichan Energy Alternatives</a>, who have just opened a biodiesel production plant in Duncan, BC.</p>
+
+<h2>Taxes</h2>
+<p>As of January 1st, 2010 all biodiesel sales must include a retail tax of almost 30¢ per litre!. We include this in our price at the pump.</p>
+<p>We are working with the <a href="http://smellbetter.org">Cowichan Biodiesel Co-op</a> and the Victoria Biodiesel Co-op on lobbying the Provincial Government to prevent this tax from perversely affecting our wonderful recycled biodiesel fuel.</p>

0 comments on commit c30ee6e

Please sign in to comment.
Something went wrong with that request. Please try again.