Skip to content

Commit f654ea0

Browse files
committed
moving to haml, and adding a screenshot to the main page
1 parent 35390ba commit f654ea0

5 files changed

Lines changed: 23 additions & 8 deletions

File tree

app/views/welcome/index.html.erb

Lines changed: 0 additions & 5 deletions
This file was deleted.

app/views/welcome/index.html.haml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
%h1 Hackety Hack: the coder's starter kit
2+
%h2 Want to learn how to program computers?
3+
%p Hackety Hack is easy, simple, and free.
4+
%p Click the logo of your operating system to download v0.9:
5+
%br
6+
%p
7+
= link_to(image_tag("apple.jpg", :height => 100), "http://github.com/downloads/steveklabnik/hacketyhack/hacketyhack-v0.9pre2.dmg")
8+
= link_to(image_tag("windows.png", :height => 100), "http://github.com/downloads/steveklabnik/hacketyhack/hacketyhack-0.9pre.exe")
9+
= link_to(image_tag("tux.jpg", :height => 100), "http://github.com/downloads/steveklabnik/hacketyhack/hacketyhack-0.9.run")
10+
%br
11+
%p
12+
Already know how to code? You'll want to
13+
= link_to "click here", "http://wiki.github.com/steveklabnik/hacketyhack/"
14+
:plain
15+
.
16+
%br
17+
%p= image_tag "hackety_screenshot.png"
18+
19+

config/environment.rb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Be sure to restart your server when you modify this file
22

33
# Specifies gem version of Rails to use when vendor/rails is not present
4-
RAILS_GEM_VERSION = '2.3.5' unless defined? RAILS_GEM_VERSION
4+
RAILS_GEM_VERSION = '2.3.8' unless defined? RAILS_GEM_VERSION
55

66
# Bootstrap the Rails environment, frameworks, and default configuration
77
require File.join(File.dirname(__FILE__), 'boot')
@@ -14,6 +14,7 @@
1414
config.gem "syntax"
1515
config.gem "bluecloth"
1616
config.gem "rdiscount"
17+
config.gem "haml"
1718

1819
end
1920

42.5 KB
Loading

public/stylesheets/application.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ body {
1414

1515
#pitch {
1616
position: absolute;
17-
max-width:600px;
17+
max-width:600px;
1818
left: 20px;
19-
top: 250px;
19+
top: 50px;
2020
font-family: Arial, Verdana, sans;
2121
background: #FFFFFF;
2222
padding: 1em;

0 commit comments

Comments
 (0)