diff --git a/bower.json b/bower.json index 0d91df2..23993ed 100644 --- a/bower.json +++ b/bower.json @@ -15,6 +15,7 @@ ], "dependencies": { "bootflatv2": "470fde6d400cdcca9fdc8c0a699a6d006e5f46d3", - "jquery": "~2.1.0" + "jquery": "~2.1.0", + "vegas": "~1.3.4" } } diff --git a/gruntfile.coffee b/gruntfile.coffee index af538bd..c84e5ff 100644 --- a/gruntfile.coffee +++ b/gruntfile.coffee @@ -38,6 +38,7 @@ module.exports = (grunt) -> js: src: [ "static_components/js/jquery.js", + "static_components/js/vegas.js", "static_components/js/icheck.min.js", "shelfzilla/themes/bootflat/static/js/main.full.js", ] diff --git a/shelfzilla/themes/bootflat/static/backgrounds/shelves.jpg b/shelfzilla/themes/bootflat/static/backgrounds/shelves.jpg new file mode 100644 index 0000000..2fd4782 Binary files /dev/null and b/shelfzilla/themes/bootflat/static/backgrounds/shelves.jpg differ diff --git a/shelfzilla/themes/bootflat/static/coffee/main.coffee b/shelfzilla/themes/bootflat/static/coffee/main.coffee new file mode 100644 index 0000000..80b1593 --- /dev/null +++ b/shelfzilla/themes/bootflat/static/coffee/main.coffee @@ -0,0 +1,4 @@ +jQuery -> + jQuery.vegas + src: '/static/backgrounds/shelves.jpg' + fade: 1200 diff --git a/shelfzilla/themes/bootflat/static/less/app.less b/shelfzilla/themes/bootflat/static/less/app.less index fb09eb2..9b5b469 100644 --- a/shelfzilla/themes/bootflat/static/less/app.less +++ b/shelfzilla/themes/bootflat/static/less/app.less @@ -1 +1,2 @@ @import "layout.less"; +@import "fixes.less"; diff --git a/shelfzilla/themes/bootflat/static/less/fixes.less b/shelfzilla/themes/bootflat/static/less/fixes.less new file mode 100644 index 0000000..9406ae8 --- /dev/null +++ b/shelfzilla/themes/bootflat/static/less/fixes.less @@ -0,0 +1,3 @@ +.vegas-background { + opacity: .3; +} diff --git a/shelfzilla/themes/bootflat/templates/landing/landing.html b/shelfzilla/themes/bootflat/templates/landing/landing.html index 9b85084..d97df1c 100644 --- a/shelfzilla/themes/bootflat/templates/landing/landing.html +++ b/shelfzilla/themes/bootflat/templates/landing/landing.html @@ -1,5 +1,9 @@ {% extends "_layout.html" %} {% block main_content %} -Landing +
+

ShelfZilla

+ +

Pronto. En una estantería cerca de tí.

+
{% endblock %}