add ityped, add strapi type generate plugin

This commit is contained in:
Schneider Roland
2025-01-11 18:07:12 +01:00
parent 85587489f5
commit ff905d0d65
9 changed files with 760 additions and 280 deletions

View File

@@ -1,17 +1,18 @@
'use client'
import { useEffect} from "react";
import AOS from "aos";
import { init } from 'ityped'
const AosComponent = ( ) => {
const ITypedComponent = ( ) => {
useEffect(() => {
AOS.init({
duration: 1000,
offset: 120,
easing: 'ease-in-out'
init(document.querySelector('.ityped') as Element,{
strings: ['Body & Soul'],
typeSpeed: 150,
backSpeed: 150,
loop: true
})
}, []);
return (<></> );
}
export default AosComponent;
export default ITypedComponent;