Skip to content
This repository has been archived by the owner on Nov 25, 2017. It is now read-only.

Team Member Page #16

Open
wants to merge 6 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 1 addition & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -70,8 +70,5 @@ DEPENDENCIES
sinatra
thin

RUBY VERSION
ruby 2.2.0p0

BUNDLED WITH
1.12.5
1.14.6
4 changes: 4 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ class App < Sinatra::Base
erb :home
end

get '/team' do
erb :team
end

post '/subscribe' do
@full_name = params[:full_name]
@email = params[:email]
Expand Down
4 changes: 2 additions & 2 deletions views/home.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<h1>Startup Sprint!</h1>
<img src="images/learnco.jpg">
<img src="images/learnco.jpg" alt="learnco">

<h3>Subscribe to the Stertup Sprint newsletter</h3>
<h3>Subscribe to the Startup Sprint newsletter</h3>
<% if @error == 'email' %>
<p style="color: red;">Please enter a valid email</p>
<% end %>
Expand Down
24 changes: 24 additions & 0 deletions views/team.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
<h1> The Dream Team
</h1>

<h3> Grayson Berger
</h3>
<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D10204674159668194%26set%3Da.1564553628059.77957.1061927560%26type%3D3&width=500" width="500" height="589" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>

<br>

<h3>Ryan Cleary
</h3>
<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D1156194877756066%26set%3Da.149950178380546.25091.100000966956598%26type%3D3&width=500" width="500" height="609" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>

<br>

<h3>Grettie Mason
</h3>
<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D10155314707569452%26set%3Da.446933869451.228216.705059451%26type%3D3&width=500" width="500" height="609" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>

<br>

<h3>Diane Ryu
</h3>
<iframe src="https://www.facebook.com/plugins/post.php?href=https%3A%2F%2Fwww.facebook.com%2Fphoto.php%3Ffbid%3D10153467237549402%26set%3Da.483738374401.275134.677094401%26type%3D3&width=500" width="500" height="588" style="border:none;overflow:hidden" scrolling="no" frameborder="0" allowTransparency="true"></iframe>