Initial open-source self-hosted Songs2YT edition

This commit is contained in:
Songs2YT
2026-07-17 02:23:59 +02:00
commit 2aa8a84781
134 changed files with 17758 additions and 0 deletions
+31
View File
@@ -0,0 +1,31 @@
import Link from "next/link";
type Props = {
href?: string;
size?: "sm" | "md";
};
export function Logo({ href = "/", size = "md" }: Props) {
const textSize = size === "sm" ? "text-xl" : "text-2xl";
const content = (
<span className={`inline-flex items-baseline font-bold tracking-tight ${textSize}`}>
<span className="text-white">Songs</span>
<span className="text-red-400">2YT</span>
</span>
);
if (href) {
return (
<Link href={href} className="inline-flex items-center" aria-label="Songs2YT">
{content}
</Link>
);
}
return (
<span className="inline-flex items-center" aria-label="Songs2YT">
{content}
</span>
);
}