"use client";
import { useEffect, useRef } from "react";
import { motion } from "framer-motion";
import { ArrowRight } from "lucide-react";
import { WordsPullUp } from "./WordsPullUp";
const VIDEO_URL =
"https://d8j0ntlcm91z4.cloudfront.net/user_34DpnLwtmxkLgtVe8psPn1j2G8i/hf_20260505_151902_782a6426-d5ef-40eb-b482-d807701834c1.mp4";
const EASE = [0.16, 1, 0.3, 1] as const;
export function HeroSection() {
return (
);
}
function Hero() {
const videoRef = useRef(null);
useEffect(() => {
const v = videoRef.current;
if (!v) return;
v.muted = true;
const tryPlay = () => v.play().catch(() => {});
tryPlay();
v.addEventListener("canplay", tryPlay);
return () => v.removeEventListener("canplay", tryPlay);
}, []);
return (
Practicing languages using PraxaLing.
🤗
Start with Hugging Face
);
}