Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
2024 Competition
Bielefeld-CeBiTec
Commits
dabbdaf7
Commit
dabbdaf7
authored
7 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
now fixed?
parent
b90a034b
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#401524
passed
7 months ago
Stage: build
Stage: deploy
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/testsvganimation.tsx
+7
-5
7 additions, 5 deletions
src/components/testsvganimation.tsx
with
7 additions
and
5 deletions
src/components/testsvganimation.tsx
+
7
−
5
View file @
dabbdaf7
import
gsap
from
"
gsap
"
;
import
gsap
from
"
gsap
"
;
import
{
ScrollTrigger
}
from
"
gsap/
ScrollTrigger
"
;
import
{
useGSAP
}
from
"
@
gsap/
react
"
;
import
{
useGSAP
}
from
'
@
gsap/
react
'
;
import
{
ScrollTrigger
}
from
"
gsap/
dist/ScrollTrigger
"
;
import
{
useRef
}
from
'
react
'
;
import
{
useRef
}
from
'
react
'
;
import
{
MotionPathPlugin
}
from
"
gsap/MotionPathPlugin
"
;
import
{
MotionPathPlugin
}
from
"
gsap/dist/MotionPathPlugin
"
;
function
TestSVG
()
{
function
TestSVG
()
{
gsap
.
registerPlugin
(
useGSAP
);
gsap
.
registerPlugin
(
MotionPathPlugin
);
gsap
.
registerPlugin
(
MotionPathPlugin
);
gsap
.
registerPlugin
(
ScrollTrigger
);
gsap
.
registerPlugin
(
ScrollTrigger
);
console
.
log
(
"
Started TestSVG
"
)
console
.
log
(
"
Started TestSVG
"
)
const
vectorRef
=
useRef
(
null
);
const
vectorRef
=
useRef
(
null
);
const
payloadRef
=
useRef
(
null
);
const
payloadRef
=
useRef
(
null
);
...
@@ -87,4 +88,5 @@ console.log("Started TestSVG")
...
@@ -87,4 +88,5 @@ console.log("Started TestSVG")
);
);
}
}
export
default
TestSVG
;
export
default
TestSVG
;
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment