Browse Source

Remove About page

tags/last-sinatra-version
Adrian Short 9 years ago
parent
commit
1cec5e6e92
3 changed files with 0 additions and 67 deletions
  1. +0
    -4
      app.rb
  2. +0
    -61
      views/about.haml
  3. +0
    -2
      views/layout.haml

+ 0
- 4
app.rb View File

@@ -324,10 +324,6 @@ get '/error' do
haml :error
end

get '/about' do
haml :about
end

# get '/aliens' do
# haml :aliens
# end


+ 0
- 61
views/about.haml View File

@@ -1,61 +0,0 @@
%h1= @page_title = "About this website"

%p This site is independent of Sutton Council, all political parties and candidates.

%p.vcard
It is designed and written by
= succeed "." do
%a.fn.url{ :href => 'http://about.adrianshort.co.uk' }<
Adrian Short

%p Every page on this website prints beautifully.

%p
The council candidates' data comes from
%a{ :href => "http://www.sutton.gov.uk/index.aspx?articleid=451" }Sutton Council
\ who also provided information on council wards and parliamentary constituencies.

%p
This site is written in
%a{ :href => "http://www.ruby-lang.org/en/" } Ruby
using the
= succeed "." do
%a{ :href => "http://www.sinatrarb.com/" } Sinatra framework
%p
The code for this website is
= succeed "." do
%a{ :href => "http://github.com/adrianshort/Sutton-Elections" }open source and available on Github
It is hosted by
= succeed "." do
%a{ :href => "http://heroku.com/" }Heroku
%p
The postcode lookup is done by
%a{ :href => "http://www.uk-postcodes.com/" } UK Postcodes
using open data from
%a{ :href => "http://www.ordnancesurvey.co.uk/oswebsite/opendata/" } Ordnance Survey
enhanced by
= succeed "." do
%a{ :href => "http://parlvid.mysociety.org:81/os/" } MySociety
I use the Ruby
%a{ :href => "http://github.com/steflewandowski/pat" } Pat gem
to access the postcodes API.
%p
The page templates use
= succeed "." do
%a{ :href => "http://haml-lang.com/" } Haml
The database is
%a{ :href => "http://www.sqlite.org/" }SQLite
for development and
%a{ :href => "http://www.postgresql.org/" }PostgreSQL
for production, abstracted through
= succeed "." do
%a{ :href => "http://datamapper.org/" }DataMapper
%p
The fonts are Museo Slab and Museo Sans served by
= succeed "." do
%a{ :href => "http://typekit.com/" }Typekit


+ 0
- 2
views/layout.haml View File

@@ -28,8 +28,6 @@
%a{ :href => '/how-the-parliament-election-works' } How parliamentary elections work
%p
%a{ :href => '/how-the-council-election-works' } How council elections work
%p
%a{ :href => '/about' } About this website
%p
%p
An independent website designed by


Loading…
Cancel
Save