diff --git a/app/javascript/packs/legacy.coffee b/app/javascript/packs/legacy.coffee index 50fbf0d1..290eb046 100644 --- a/app/javascript/packs/legacy.coffee +++ b/app/javascript/packs/legacy.coffee @@ -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 \ No newline at end of file diff --git a/app/views/discover/index.haml b/app/views/discover/index.haml index 52322fc5..21392760 100644 --- a/app/views/discover/index.haml +++ b/app/views/discover/index.haml @@ -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']) diff --git a/app/views/static/about.haml b/app/views/static/about.haml index 34ba6762..34e4e2c7 100644 --- a/app/views/static/about.haml +++ b/app/views/static/about.haml @@ -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' diff --git a/package.json b/package.json index 7bd6e81a..4e79e68a 100644 --- a/package.json +++ b/package.json @@ -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", diff --git a/yarn.lock b/yarn.lock index 3d963452..30e26952 100644 --- a/yarn.lock +++ b/yarn.lock @@ -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"