// Quote.js
import "./style.css";
import { motion } from "framer-motion";
import { useIntersectionObserver } from "./useIntersectionObserver";
function Wrapper({ children }) {
return (
{children}
);
}
export default function Quote() {
const text1 = '"There are no limits to what you can accomplish'.split(" ");
const text2 = 'except the limits you place on your own thinking."'.split(
" "
);
const [ref, isIntersecting] = useIntersectionObserver();
return (
{text1.map((word, index) => (
{word}{" "}
))}
{text2.map((word, index) => (
{word}{" "}
))}
);
}