Skip to content
This repository has been archived by the owner on Sep 30, 2022. It is now read-only.

Commit

Permalink
* Add media queries to support mobile devices.
Browse files Browse the repository at this point in the history
* Load shadowbox script only when needed.
* Add "retina" screenshot thumbnails.
* Optimise images.
  • Loading branch information
dannya committed Jan 6, 2015
1 parent 403f398 commit 5aac976
Show file tree
Hide file tree
Showing 45 changed files with 826 additions and 87 deletions.
11 changes: 9 additions & 2 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -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'))
Expand Down Expand Up @@ -104,5 +111,5 @@ gulp.task('img', function () {


gulp.task('default', [
'js', 'css', 'html'
'js', 'css', 'html', 'img'
]);
3 changes: 2 additions & 1 deletion init.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down
4 changes: 2 additions & 2 deletions static/css/min/all.css

Large diffs are not rendered by default.

Loading

0 comments on commit 5aac976

Please sign in to comment.