This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
i | |
Sustainable Web Development with Ruby on Rails | |
#### Practical Tips for Building Web Applications that Last | |
David Bryant Copeland | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'use client'; | |
import { useEffect, useRef } from 'react'; | |
import { gsap } from 'gsap'; | |
export default function Hexagon() { | |
const hexagonRef = useRef<SVGSVGElement>(null); | |
const pathRef = useRef<SVGPathElement>(null); | |
const secondaryLinesRef = useRef<(SVGPathElement | null)[]>([]); |
OlderNewer