Permalink
Browse files

* Add media queries to support mobile devices.

* Load shadowbox script only when needed.
* Add "retina" screenshot thumbnails.
* Optimise images.
  • Loading branch information...
1 parent 403f398 commit 5aac9769dc09eb8dd3843ff007b93f2168ada922 @dannyakakong committed Jan 6, 2015
Showing with 826 additions and 87 deletions.
  1. +9 −2 gulpfile.js
  2. +2 −1 init.py
  3. +2 −2 static/css/min/all.css
  4. +650 −0 static/css/style.css
  5. +96 −57 static/css/style.styl
  6. BIN static/img/close.png
  7. BIN static/img/github.png
  8. BIN static/img/loading.gif
  9. BIN static/img/next.png
  10. BIN static/img/pause.png
  11. BIN static/img/play.png
  12. BIN static/img/powered-long.png
  13. BIN static/img/powered.png
  14. BIN static/img/previous.png
  15. BIN static/img/screenshots/1.30/developers.png
  16. BIN static/img/screenshots/1.30/setup.png
  17. BIN static/img/screenshots/1.30/thumbnails/classify.png
  18. BIN static/img/screenshots/1.30/thumbnails/developers.png
  19. BIN static/img/screenshots/1.30/thumbnails/digests.png
  20. BIN static/img/screenshots/1.30/thumbnails/features.png
  21. BIN static/img/screenshots/1.30/thumbnails/home.png
  22. BIN static/img/screenshots/1.30/thumbnails/login.png
  23. BIN static/img/screenshots/1.30/thumbnails/media.png
  24. BIN static/img/screenshots/1.30/thumbnails/review.png
  25. BIN static/img/screenshots/1.30/thumbnails/settings.png
  26. BIN static/img/screenshots/1.30/thumbnails/setup.png
  27. BIN static/img/screenshots/1.30/thumbnails/users.png
  28. BIN static/img/screenshots/1.30/thumbnails_2x/classify.png
  29. BIN static/img/screenshots/1.30/thumbnails_2x/developers.png
  30. BIN static/img/screenshots/1.30/thumbnails_2x/digests.png
  31. BIN static/img/screenshots/1.30/thumbnails_2x/features.png
  32. BIN static/img/screenshots/1.30/thumbnails_2x/home.png
  33. BIN static/img/screenshots/1.30/thumbnails_2x/login.png
  34. BIN static/img/screenshots/1.30/thumbnails_2x/media.png
  35. BIN static/img/screenshots/1.30/thumbnails_2x/review.png
  36. BIN static/img/screenshots/1.30/thumbnails_2x/settings.png
  37. BIN static/img/screenshots/1.30/thumbnails_2x/setup.png
  38. BIN static/img/screenshots/1.30/thumbnails_2x/users.png
  39. BIN static/img/screenshots/1.30/users.png
  40. +48 −5 static/js/base.js
  41. +2 −3 static/js/min/{all.js → shadowbox.js}
  42. +7 −7 templates/base/header.html
  43. +8 −8 templates/index.html
  44. +1 −1 templates/min/base/header.html
  45. +1 −1 templates/min/index.html
View
@@ -27,9 +27,16 @@ gulp.task('clean_js', function () {
gulp.task('js', ['clean_js'], function () {
'use strict';
+ gulp.src(
+ [
+ './static/js/shadowbox.js'
+ ])
+ .pipe(concat('shadowbox.js'))
+ .pipe(uglify())
+ .pipe(gulp.dest('./static/js/min'));
+
return gulp.src(
[
- './static/js/shadowbox.js',
'./static/js/base.js'
])
.pipe(concat('all.js'))
@@ -104,5 +111,5 @@ gulp.task('img', function () {
gulp.task('default', [
- 'js', 'css', 'html'
+ 'js', 'css', 'html', 'img'
]);
View
@@ -39,11 +39,12 @@ def index():
if commits is None:
# get recent commits, store in cache
+ enzymeproject_commits = get_commits_feed("http://github.com/dannyakakong/enzymeproject/commits/master.atom")
enzyme_commits = get_commits_feed("http://github.com/dannyakakong/Enzyme/commits/master.atom")
digest_commits = get_commits_feed("http://github.com/dannyakakong/Commit-Digest/commits/master.atom")
# merge feeds together
- commits = enzyme_commits + digest_commits
+ commits = enzymeproject_commits + enzyme_commits + digest_commits
commits = sorted(
commits,
key=lambda k: k["date"],
Oops, something went wrong.
Oops, something went wrong.

0 comments on commit 5aac976

Please sign in to comment.