Remove particleground
This commit is contained in:
parent
a2f3f5dce2
commit
3bbc7a36f8
|
@ -4,7 +4,6 @@ import 'regenerator-runtime/runtime'
|
|||
import '../legacy/jquery'
|
||||
import 'popper.js'
|
||||
import 'bootstrap'
|
||||
import 'particleground/jquery.particleground.min'
|
||||
|
||||
import '../legacy/pagination'
|
||||
import '../legacy/util'
|
||||
|
@ -13,15 +12,5 @@ _ready = ->
|
|||
$('[data-toggle="tooltip"]').tooltip()
|
||||
$('.dropdown-toggle').dropdown()
|
||||
|
||||
if document.getElementById('particles')?
|
||||
jumbo = $ '.j2-jumbo'
|
||||
bodyColorOrig = jumbo.css 'background-color'
|
||||
bodyColor = doppler 0.25, bodyColorOrig
|
||||
console.log bodyColor, bodyColorOrig
|
||||
particleground document.getElementById('particles'),
|
||||
dotColor: bodyColor
|
||||
lineColor: bodyColor
|
||||
density: 23000
|
||||
|
||||
$(document).ready _ready
|
||||
$(document).on 'turbolinks:load', _ready
|
|
@ -1,7 +1,6 @@
|
|||
- provide(:title, generate_title('Discover'))
|
||||
|
||||
.jumbotron.jumbotron--particles
|
||||
.jumbotron__particles#particles
|
||||
.jumbotron
|
||||
.jumbotron__content
|
||||
%h1= t 'views.discover.title'
|
||||
%p= t('views.discover.subtitle', app_title: APP_CONFIG['site_name'])
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
- provide(:title, generate_title('About'))
|
||||
.jumbotron.jumbotron--particles
|
||||
.jumbotron__particles#particles
|
||||
.jumbotron
|
||||
.jumbotron__content
|
||||
%h1= APP_CONFIG['site_name']
|
||||
%p= t 'views.about.subtitle'
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
"jquery": "^3.5.1",
|
||||
"js-cookie": "2.2.1",
|
||||
"lato-font": "^3.0.0",
|
||||
"particleground": "jnicol/particleground",
|
||||
"popper.js": "^1.16.1",
|
||||
"regenerator-runtime": "^0.13.7",
|
||||
"sweetalert": "1.1.3",
|
||||
|
|
|
@ -5343,10 +5343,6 @@ parseurl@~1.3.2, parseurl@~1.3.3:
|
|||
resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.3.tgz#9da19e7bee8d12dff0513ed5b76957793bc2e8d4"
|
||||
integrity sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==
|
||||
|
||||
particleground@jnicol/particleground:
|
||||
version "0.0.0"
|
||||
resolved "https://codeload.github.com/jnicol/particleground/tar.gz/124f7dbe732693ff5ab7f6c9edaea46acd2416a2"
|
||||
|
||||
pascalcase@^0.1.1:
|
||||
version "0.1.1"
|
||||
resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14"
|
||||
|
|
Loading…
Reference in New Issue