remove conflicting gsap import since using cdn

This commit is contained in:
Lucy Cifferello
2023-01-05 12:25:33 -07:00
parent 8c13584502
commit 855a66fc18
11 changed files with 107 additions and 1171 deletions

1263
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -25,12 +25,10 @@
"@sardine/eleventy-plugin-tinysvg": "^1.2.0", "@sardine/eleventy-plugin-tinysvg": "^1.2.0",
"date-fns": "^2.29.3", "date-fns": "^2.29.3",
"eleventy-plugin-gen-favicons": "^1.1.1", "eleventy-plugin-gen-favicons": "^1.1.1",
"eleventy-plugin-lazyimages": "^2.1.2",
"eleventy-plugin-seo": "^0.5.2", "eleventy-plugin-seo": "^0.5.2",
"slinkity": "^0.8.3" "slinkity": "^0.8.3"
}, },
"dependencies": { "dependencies": {
"gsap": "^3.10.4",
"rss-parser": "^3.12.0" "rss-parser": "^3.12.0"
}, },
"browserslist": [ "browserslist": [

View File

@@ -39,7 +39,7 @@ Now, your blog is ready to be deployed. All generated files are located at `_sit
└── src └── src
├── _data # Eleventy data folder (supports .json and exported .js) ├── _data # Eleventy data folder (supports .json and exported .js)
├── _includes ├── _includes
│ └── components # landing sections and reuable components │ └── components # landing sections and reusable components
│ └── layouts # page layouts │ └── layouts # page layouts
│ └── svgs # for including in njk templates │ └── svgs # for including in njk templates
└── assets └── assets

View File

@@ -1,7 +1,6 @@
/************************************************/ /************************************************/
/* SECTION, LINE, AND TEXT APPEARANCE ANIMATION */ /* SECTION, LINE, AND TEXT APPEARANCE ANIMATION */
/************************************************/ /************************************************/
import { gsap } from "gsap";
////////////////////////////////////////// //////////////////////////////////////////
// HERO // HERO

View File

@@ -1,7 +1,6 @@
/********************************************/ /********************************************/
/* BITCOIN SECTION FLOATING ICONS ANIMATION */ /* BITCOIN SECTION FLOATING ICONS ANIMATION */
/********************************************/ /********************************************/
import { gsap } from "gsap";
////////////////////////////////////////// //////////////////////////////////////////
// DATA // DATA

View File

@@ -1,6 +1,5 @@
////////////////////////////////////////// //////////////////////////////////////////
// HEADER // HEADER
import { gsap } from "gsap";
gsap.to("header", { gsap.to("header", {
duration: 0.5, duration: 0.5,

View File

@@ -1,6 +1,5 @@
////////////////////////////////////////// //////////////////////////////////////////
// HERO // HERO
import { gsap } from "gsap";
gsap.to("#hero-image", { gsap.to("#hero-image", {
duration: 1, duration: 1,

View File

@@ -1,4 +1,3 @@
import { gsap } from "gsap";
import { positionServiceIcons } from '/@root/src/assets/js/bitcoin-animation.js' import { positionServiceIcons } from '/@root/src/assets/js/bitcoin-animation.js'
import { initializeSizes, tick, next } from '/@root/src/assets/js/ticker-animation.js' import { initializeSizes, tick, next } from '/@root/src/assets/js/ticker-animation.js'

View File

@@ -1,4 +1 @@
import { gsap } from "gsap";
import { CustomEase } from "gsap/CustomEase";
gsap.registerPlugin(CustomEase, window.DrawSVGPlugin, ScrollTrigger); gsap.registerPlugin(CustomEase, window.DrawSVGPlugin, ScrollTrigger);

View File

@@ -1,6 +1,5 @@
////////////////////////////////////////// //////////////////////////////////////////
// MENU // MENU
import { gsap } from "gsap";
let menuOpen = document.getElementById("menu-open"), let menuOpen = document.getElementById("menu-open"),
menuClose = document.getElementById("menu-close"), menuClose = document.getElementById("menu-close"),

View File

@@ -1,5 +1,3 @@
import { gsap } from "gsap";
const defaultActions = "play none none none"; const defaultActions = "play none none none";
gsap.from("section#hero+section", { gsap.from("section#hero+section", {