'use client'; import { memo } from 'react'; import Link from 'next/link'; import { User } from 'lucide-react'; import { Button } from '@/components/ui/button'; import { Input } from '@/components/ui/input'; interface GuestNameGateProps { guestName: string; setGuestName: (value: string) => void; onConfirm: () => void; } export const GuestNameGate = memo(function GuestNameGate({ guestName, setGuestName, onConfirm, }: GuestNameGateProps) { return (

Welcome to OpenFrame

Enter your name to view and comment on this video

setGuestName(e.target.value)} onKeyDown={(e) => { if (e.key === 'Enter' && guestName.trim()) { onConfirm(); } }} autoFocus />

Or{' '} sign in {' '} for a full account

); });