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
2 changes: 2 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tasks:
- init: bundle install
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Gitpod ready-to-code](https://img.shields.io/badge/Gitpod-ready--to--code-blue?logo=gitpod)](https://gitpod.io/#https://github.com/lighthouse-labs/finstagram)

# finstagram


Expand Down
3 changes: 3 additions & 0 deletions app/actions.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
get '/' do
File.read(File.join('app/views', 'index.html'))
end
38 changes: 38 additions & 0 deletions app/views/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
<!DOCTYPE html>
<html>
<!--START OF HEAD-->
<head>
<link rel="stylesheet" href="../../../stylesheets/normalize.css">
<link rel="stylesheet" href="https://fonts.googleapis.com?family=Roboto+Condensed:300italic,700italic,700,300">
<link rel="stylesheet" href="../../../stylesheets/lib.css">
<title>Finstigram</title>
</head>
<!--START OF BODY-->
<body>
Hello World
<header>
<h1>Finstigram</h1>
</header>
<main role="main">
<article class="finstigram-post">
<div class="user-info">
<img src="http://naserca.com/images/sharky_j.jpg" alt="sharky_j">
<h2>sharky_j</h2>
<h3>15 minutes ago</h3>
</div>
<a class="photo" href="#">
<img src="http://naserca.com/images/shark.png" alt="post from sharky_j">
</a>
<div class="actions">
0 likes
<span class="comment-count">0 comments</span>
</div>
<ul class="comments">
<li>
<p>sharky_j: Out for the long weekend...too embarrassed to show y'all the beach bod!</p>
</li>
</ul>
</article>
</main>
</body>
</html>