Browse files

add some website content so that we just have one app

  • Loading branch information...
Luke Closs
Luke Closs committed Jul 17, 2012
1 parent e4f029c commit c30ee6e4ef891c21a1dae67fd2ec67ccbe20b366
Showing with 60 additions and 12 deletions.
  1. +2 −2 lib/
  2. +36 −9 views/
  3. +10 −1 views/layouts/
  4. +12 −0 views/
@@ -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 };
@@ -3,19 +3,46 @@
[% ELSIF member %]
[% INCLUDE '' %]
[% ELSE %]
- <h1>Biopay Co-op Centre</h1>
+ <h1>The Little Pump that Could</h1>
- <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="">Recycling Alternative</a>. For any problems or questions please contact the co-op <a href="">via email</a> or contact <a href="">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="">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>
+<address><strong>Pump Location</strong><br />
+Recycling Alternative<br />
+<a href=",+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 />
+<h3>What's the deal with Biodiesel?</h3>
+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="">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.
+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=""></a> or <a href="">tweet us!</a>
+<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="">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>
+<div class="actions">
+ <h3>Start enjoying the juice!</h3>
<a class="btn large primary" href="/new-member">Sign up!</a>
- </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>
[% END %]
@@ -41,11 +41,20 @@
[% ELSE %]
<p>Our co-op sells 100% recycled, <a href="">ASTM certified</a>, locally sourced biodiesel fuel to our members.</p>
- <li><a href="">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="">Co-op on Twitter</a></li>
<li><a href="">Biodiesel on Wikipedia</a></li>
<li><a href="/biopay.pdf">Biopay Info Sheet</a></li>
+ <li><a href="" class="twitter-follow-button"
+ data-show-count="false">Follow @vanbiodiesel</a>
+ <script src="" type="text/javascript">
+ </script></li>
+ <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 %]
@@ -0,0 +1,12 @@
+<h1>Co-op News</h1>
+<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="">Recycling Alternative</a>'s staff members.</p>
+<p>We have several fuel sources that offer locally produced, 100% recycled, <a href="">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="">Cowichan Energy Alternatives</a>, who have just opened a biodiesel production plant in Duncan, BC.</p>
+<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="">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.