"use client"; import React, { useRef } from "react"; import gsap from "gsap"; import { useGSAP } from "@gsap/react"; import Link from "next/link"; gsap.registerPlugin(useGSAP); interface HeroProps { authButton?: React.ReactNode; } const Hero = ({ authButton }: HeroProps) => { const container = useRef(null); const titleRef = useRef(null); const textRef = useRef(null); const btnRef = useRef(null); useGSAP( () => { const tl = gsap.timeline({ defaults: { ease: "power3.out" } }); tl.from(titleRef.current, { y: 50, opacity: 0, duration: 1, stagger: 0.2, }) .from( textRef.current, { y: 30, opacity: 0, duration: 0.8, }, "-=0.5" ) .from( btnRef.current, { y: 20, opacity: 0, duration: 0.6, }, "-=0.4" ); }, { scope: container } ); return (
Under Development - If you want pre-release access, contact _void_x_ on Discord.

VOID SENTINEL

“I am the sentinel at the edge of the void. A warden against the shadows and an echo of light for those within. I protect, I entertain, I watch.”

{authButton} Documentation
); }; export default Hero;