diff --git a/Gemfile.lock b/Gemfile.lock index 3b1fad1..679ee72 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -70,8 +70,5 @@ DEPENDENCIES sinatra thin -RUBY VERSION - ruby 2.2.0p0 - BUNDLED WITH - 1.12.5 + 1.14.6 diff --git a/app.rb b/app.rb index 68e111c..b44cc7f 100644 --- a/app.rb +++ b/app.rb @@ -6,6 +6,14 @@ class App < Sinatra::Base erb :home end + get '/rainbow' do + erb :rainbow + end + + get '/youtube' do + erb :youtube + end + post '/subscribe' do @full_name = params[:full_name] @email = params[:email] diff --git a/public/stylesheets/main.css b/public/stylesheets/main.css index 3c995a6..e6d7e5c 100644 --- a/public/stylesheets/main.css +++ b/public/stylesheets/main.css @@ -8,6 +8,7 @@ Base styles: opinionated defaults ========================================================================== */ + html { color: #222; font-size: 1em; @@ -88,7 +89,9 @@ textarea { Author's custom styles ========================================================================== */ - +.column { + float: left; +} diff --git a/views/home.erb b/views/home.erb index 19d8743..e8a228f 100644 --- a/views/home.erb +++ b/views/home.erb @@ -1,7 +1,7 @@
Please enter a valid email
<% end %> diff --git a/views/rainbow.erb b/views/rainbow.erb new file mode 100644 index 0000000..e69de29 diff --git a/views/youtube.erb b/views/youtube.erb new file mode 100644 index 0000000..34ffc10 --- /dev/null +++ b/views/youtube.erb @@ -0,0 +1 @@ +