mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-16 13:14:03 +00:00
Get rid of the splashpage banner photo and "descriptions"
This commit is contained in:
parent
60ba81ab46
commit
30e8ab856c
23 changed files with 1235 additions and 184 deletions
7
app/assets/javascripts/osem-splash.js
Normal file
7
app/assets/javascripts/osem-splash.js
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
$(function () {
|
||||
$(document).ready(function() {
|
||||
var t = new Trianglify({cellsize: 100, x_gradient: triangle_colors });
|
||||
var pattern = t.generate(document.body.clientWidth, ($( "#splash-banner" ).height() + 200 ));
|
||||
$('#splash-banner').css('background-image', pattern.dataUrl);
|
||||
});
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue