"use client" import { Coffee, X } from "lucide-react" import type React from "react" import { FaGithub } from "react-icons/fa" interface QuotaLimitToastProps { used: number limit: number onDismiss: () => void } export function QuotaLimitToast({ used, limit, onDismiss, }: QuotaLimitToastProps) { const handleKeyDown = (e: React.KeyboardEvent) => { if (e.key === "Escape") { e.preventDefault() onDismiss() } } return (
{/* Close button */} {/* Title row with icon */}

Daily Quota Reached

{used}/{limit}
{/* Message */}

Oops — you've reached the daily API limit for this demo! As an indie developer covering all the API costs myself, I have to set these limits to keep things sustainable.

The good news is that you can self-host the project in seconds on Vercel (it's fully open-source), or if you love it, consider sponsoring to help keep the lights on!

Your limit resets tomorrow. Thanks for understanding!

{/* Action buttons */}
Self-host Sponsor
) }