summaryrefslogtreecommitdiff
path: root/index.html.coffee
blob: f44135c35b910b22823f076c7bfc581fea789d6c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# Copyright (c) 2013 Michele Bini

# This program is free software: you can redistribute it and/or modify
# it under the terms of the version 3 of the GNU General Public License
# as published by the Free Software Foundation.

# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see <http://www.gnu.org/licenses/>.

{ htmlcup } = require './htmlcup'
fs = require "fs"

title = "Vaquitas need you!"
icon = "vaquita.ico"

icon = "data:image/x-icon;base64," + (new Buffer(fs.readFileSync(icon))).toString("base64")

htmlcup.html5Page ->
  @head ->
    @link rel:"shortcut icon", href:icon
    @title title
    @cssStyle "body { background:pink }"
  @body ->
    @div "Please don't kill this baby!"
    @div "Vaquitas are the smallest marine cetacean."
    @div 'Their number has declined by 60% in 10 years, from an estimated 576 in 1997 to perhaps less than 150 individuals now, and could be extict by 2015'
    @div "A marine sactuary is Vaquitas' only chance of survival; each year 30 to 80 of them die in fishing nets"
    @div "Vaquitas now only live in a small stretch in the Gulf of California"
    @div ->
      @a href: 'http://www.youtube.com/watch?v=27pJ2S5RT8g', "Commemorative video of a baby Vaquita"
    @div ->
      @span 'Petition you can sign: '
      @a href: 'http://www.thepetitionsite.com/445/471/778/protected-reserves-for-critically-endangered-vaquita-porpoises/', "Protected Reserves for Critically Endangered Vaquita Porpoises"