"use client"; import Link from "next/link"; import { useEffect, useState } from "react"; interface CTABottomProps { userEmail?: string | null; isAuthenticated: boolean; } export default function CTABottom({ userEmail, isAuthenticated }: CTABottomProps) { const [mounted, setMounted] = useState(false); useEffect(() => { setMounted(true); // Initialize WOW.js after mount if (typeof window !== "undefined" && window.WOW) { new window.WOW().init(); } }, []); return (
{isAuthenticated ? "Access your dashboard to manage your profile and explore all features." : "Create your account today and experience the power of our authentication system."}
{isAuthenticated ? "Go to Dashboard" : "Get Started"}