Initial open-source self-hosted Songs2YT edition
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
import { YOUTUBE_UPLOAD_LIMIT_USER_MESSAGE } from "@/lib/youtube/errors";
|
||||
|
||||
type Props = {
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export function YouTubeLimitBanner({ className = "" }: Props) {
|
||||
return (
|
||||
<div
|
||||
className={`rounded border border-amber-500/40 bg-amber-500/10 px-4 py-3 text-sm text-amber-100 ${className}`}
|
||||
>
|
||||
<p className="font-medium text-amber-200">YouTube upload limit reached</p>
|
||||
<p className="mt-1 text-amber-100/90">{YOUTUBE_UPLOAD_LIMIT_USER_MESSAGE}</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user