"use client"; import { useSearchParams } from "next/navigation"; import { useI18n } from "@/core/i18n/hooks"; import { cn } from "@/lib/utils"; export function Welcome({ className }: { className?: string }) { const { t } = useI18n(); const searchParams = useSearchParams(); return (
{searchParams.get("mode") === "skill" ? `🚀 ${t.settings.skills.createSkill}` : t.welcome.greeting}
{t.welcome.description.includes("\n") ? (
{t.welcome.description}
) : (

{t.welcome.description}

)}
); }