Created
August 23, 2014 04:05
-
-
Save mager/41887941c89e76e9667d to your computer and use it in GitHub Desktop.
instaspot-03-index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!doctype html> | |
<html ng-app="instaspot"> | |
<head> | |
<title>instaspot</title> | |
<link href="http://fonts.googleapis.com/css?family=Lato:300,400,700|Karma:400,700" rel="stylesheet" type="text/css" /> | |
<style type="text/css"> | |
body {padding:0;margin:0;font-weight:300;font-family:Lato;} | |
a {color:#39f;} | |
header, section {padding:5px 20px;} | |
header {background:#f99;padding-bottom:0;} | |
section {overflow:hidden;} | |
h1 {font-family:Karma;font-size:48px;margin:0;font-weight:700;} | |
h1 span {font-size:16px;font-weight:400;padding:0 0 0 10px;} | |
.spot {float:left;margin:0 15px 15px 0;} | |
.spot p {font-weight:400;} | |
</style> | |
</head> | |
<body> | |
<header> | |
<h1>instaspot<span> Find the most popular photos and videos on <a href="http://www.instagram.com">Instagram</a> (refresh for more)</span></h1> | |
</header> | |
<section ng-controller="ShowImages as images"> | |
<div class="spot" ng-repeat="p in pics"> | |
<p><a href="http://instagram.com/{{p.user.username}}" target="_blank">{{p.user.username}}</a></p> | |
<a href="{{p.link}}" target="_blank"><img ng-src="{{p.images.thumbnail.url}}" /></a> | |
</div> | |
</section> | |
<script src="bower_components/angular/angular.js"></script> | |
<script src="js/application.js"></script> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment