Skip to content
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
3 changes: 3 additions & 0 deletions app.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
require_relative 'config/environment'

class App < Sinatra::Base
get '/home' do
redirect to('/')
end
get '/' do
@error = params['error']
erb :home
Expand Down
Binary file added public/images/10385_aidanf(1).JPG
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/729.vfa_logo_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/VFA.jpeg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/stylesheets/favicon-160x160.ico
Binary file not shown.
20 changes: 20 additions & 0 deletions public/stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,23 @@
.column {

}

.navbar {
list-style-type: none;
margin: 0;
padding: 0;
overflow: hidden;
background-color: #333;
}

.nav-item {
float: left;
}

.nav-item a {
display: block;
color: white;
text-align: center;
padding: 14px 16px;
text-decoration: none;
}
6 changes: 4 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/729.vfa_logo_color.png">

<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 All @@ -10,5 +10,7 @@
<input type="text" id="full-name" name="full_name" required>
<label for="email">Email</label>
<input type="text" id="email" name="email" required>
<label for="city">City</label>
<input type="text" id="city" name="city">
<input type="Submit">
</form>
7 changes: 7 additions & 0 deletions views/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,15 @@
<link rel="icon" href="favicon.ico" type="image/x-icon"/>
<link rel="stylesheet" href="stylesheets/normalize.css">
<link rel="stylesheet" href="stylesheets/main.css">
<link ""
</head>
<body>
<ul class="navbar">
<li class="nav-item"><a href="home.erb">Home</a></li>
<li class="nav-item"><a href="reddit.erb">Reddit</a></li>
<li class="nav-item"><a href="schedule.erb">Schedule</a></li>
<li class="nav-item"><a href="subscribe.erb">Subscribe</a></li>
</ul>
<!--[if lt IE 8]>
<p>You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
Expand Down
Empty file added views/rainbow.erb
Empty file.
8 changes: 8 additions & 0 deletions views/schedule.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,12 @@
<% end %>
</ol>
</div>
<div class="column">
<h3>Day After</h3>
<ol>
<% @day_after.each do |item| %>
<li><%= item.first %>: <%= item.last %></li>
<% end %>
</ol>
</div>
</div>
4 changes: 2 additions & 2 deletions views/subscribe.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<p>Thanks for subscribing <%= @full_name %></p>

<p>Thanks for subscribing! <%= @full_name %></p>
<p>Thanks for telling us where you're from! <%=@city%></p>
<a href="/">Home</a>
45 changes: 45 additions & 0 deletions views/team.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>OUR TEAM</title>

<body>
<div class="background" style="background-image:"
<h1>Our Team</h1>

<h2>Aidan McConnell</h2>
<img src="10385_aidanf(1).jpg" alt="Aidan">
<li>
<ul>University of Pennsylvania Graduate</ul>
<ul>From Charlotte, North Carolina</ul>
<ul>VFA Employer: Blispay</ul>
<li>

<h2>Peter DeJoy</h2>
<li>
<ul>Technical Genius University Graduate</ul>
<ul>From Coolville, USA</ul>
<ul>VFA Employer: </ul>
</li>

<h2>Sasseen Najjar</h2>
<li>
<ul>University of Pennsylvania Graduate</ul>
<ul>From Awesome Junction, USA</ul>
<ul>VFA Employer:</ul>
</li>

<h2>Brian Kane</h2>
<li>
<ul>University of Ballerville Graduate</ul>
<ul>From Incredible City, USA</ul>
<ul>VFA Employer: Blispay</ul>
</li>

<h2>Jonathan Schwartz</h2>
<li>
<ul>College of Excellence and Mastery</ul>
<ul>From Stupendous Village, USA</ul>
<ul>VFA Employer:</ul>
</li>