Align preview typography with FFmpeg output, add video/song title split, and ship OSS updates.

Separate YouTube video titles from on-video song/artist fields with Pro gating, serve curated fonts and watermark assets for 1:1 preview parity, and include billing/API/docs/deploy stack for self-hosted release.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Atakan Doğan Özban
2026-07-27 16:26:19 +02:00
co-authored by Cursor
parent 682020ff5a
commit c8015937f9
206 changed files with 37078 additions and 638 deletions
+78 -53
View File
@@ -1,68 +1,93 @@
import Link from "next/link";
import { getServerSession } from "next-auth";
import { authOptions } from "@/lib/auth";
import { BenefitsSection } from "@/components/BenefitsSection";
import { DownloadSection } from "@/components/DownloadSection";
import { LandingNavbar } from "@/components/LandingNavbar";
import { SignInButton } from "@/components/SignInButton";
import { PricingSection } from "@/components/PricingSection";
import { StepsSection } from "@/components/StepsSection";
import { Footer } from "@/components/Footer";
import { SupportSection } from "@/components/SupportSection";
export default async function HomePage() {
const session = await getServerSession(authOptions);
return (
<main className="min-h-screen">
<header className="border-b border-gray-800 bg-surface">
<div className="mx-auto flex max-w-5xl items-center justify-between px-6 py-4">
<span className="text-xl font-bold text-white">s2yt</span>
{session ? (
<Link
href="/dashboard"
className="rounded bg-accent px-4 py-2 text-sm font-medium text-white hover:bg-accent-hover"
>
Dashboard
</Link>
) : (
<SignInButton />
)}
<section className="relative min-h-dvh overflow-hidden">
<video
autoPlay
muted
loop
playsInline
className="absolute inset-0 h-full w-full object-cover"
aria-hidden="true"
>
<source src="/bg-video.mp4" type="video/mp4" />
</video>
<div className="absolute inset-0 bg-black/55" aria-hidden="true" />
<div
className="absolute inset-0 bg-gradient-to-b from-black/70 via-black/40 to-black/80"
aria-hidden="true"
/>
<LandingNavbar />
{/* Purpose + brand above the fold for Google OAuth verification */}
<div className="relative z-10 mx-auto flex min-h-dvh max-w-3xl flex-col justify-center px-6 pb-16 pt-28 text-center">
<h1 className="text-5xl font-bold tracking-tight sm:text-6xl lg:text-7xl">
<span className="text-white">Songs</span>
<span className="text-red-400">2VID</span>
</h1>
<p className="mx-auto mt-6 max-w-2xl text-base leading-relaxed text-gray-200 sm:text-lg md:text-xl">
Songs2VID is an automation tool that converts your audio and image files into
high-quality videos and uploads them directly to YouTube.
</p>
<div className="mt-10 flex flex-col items-center gap-3">
{session ? (
<Link
href="/dashboard"
className="inline-flex items-center gap-2 rounded bg-accent px-8 py-3.5 font-medium text-white transition-all duration-300 hover:scale-[1.02] hover:bg-accent-hover hover:shadow-lg hover:shadow-accent/20"
>
Go to Dashboard
</Link>
) : (
<>
<SignInButton large />
<p className="max-w-md text-xs leading-relaxed text-gray-400">
By clicking Continue with Google, you accept our{" "}
<Link
href="/terms"
className="text-gray-300 underline-offset-2 transition-colors hover:text-white hover:underline"
>
Terms of Service
</Link>{" "}
and{" "}
<Link
href="/privacy"
className="text-gray-300 underline-offset-2 transition-colors hover:text-white hover:underline"
>
Privacy Policy
</Link>
.
</p>
</>
)}
</div>
</div>
</header>
<section className="mx-auto max-w-3xl px-6 py-20 text-center">
<h1 className="mb-4 text-4xl font-bold text-white">
Turn images and audio into YouTube videos
</h1>
<p className="mb-8 text-lg text-gray-400">
Upload one image and one or more audio files. Each audio becomes its own video
with individual metadata, then uploads directly to your YouTube channel.
</p>
<div className="mb-12 grid gap-4 text-left sm:grid-cols-3">
<Feature title="Batch creation" desc="One image, many audios — each becomes a separate video." />
<Feature title="Per-video settings" desc="Title, tags, privacy, and category for every upload." />
<Feature title="Direct upload" desc="Connect YouTube once and publish automatically." />
</div>
{session ? (
<Link
href="/dashboard"
className="inline-block rounded bg-accent px-8 py-3 font-medium text-white hover:bg-accent-hover"
>
Go to Dashboard
</Link>
) : (
<SignInButton large />
)}
<p className="mt-8 text-sm text-gray-500">
Free plan: up to 14 videos/month, 720p max, 30 MB per file
</p>
</section>
<StepsSection />
<BenefitsSection />
<DownloadSection />
<PricingSection />
<SupportSection />
<Footer />
</main>
);
}
function Feature({ title, desc }: { title: string; desc: string }) {
return (
<div className="rounded-lg border border-gray-700 bg-surface p-4">
<h3 className="mb-1 font-medium text-white">{title}</h3>
<p className="text-sm text-gray-400">{desc}</p>
</div>
);
}