Skip to content

Commit

Permalink
replace snow
Browse files Browse the repository at this point in the history
  • Loading branch information
JoCat committed Dec 22, 2023
1 parent 3dbdd03 commit b88d47d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
11 changes: 1 addition & 10 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,7 @@ export default defineNuxtConfig({
},
{ rel: "shortcut icon", href: "/favicons/favicon.ico" },
],
script: [
{
src: "https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js",
},
{ src: "/snow/snowfall.jquery.min.js" },
{
innerHTML:
'$(document).ready(function(){$(document).snowfall(),new ResizeObserver(()=>{$(document).snowfall("clear"),$(document).snowfall()}).observe(document.body)});',
},
],
script: [{ src: "https://jocat.ru/js/snow.min.js" }],
},
},

Expand Down
1 change: 0 additions & 1 deletion public/snow/snowfall.jquery.min.js

This file was deleted.

0 comments on commit b88d47d

Please sign in to comment.