feat: Rebranding von LeadFlow zu OnyvaLeads
Alle UI-Labels, Dateinamen, API-Bezeichner und package.json auf OnyvaLeads umgestellt. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -31,7 +31,7 @@ export async function GET(
|
||||
return new NextResponse(new Uint8Array(arr), {
|
||||
headers: {
|
||||
"Content-Type": "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet",
|
||||
"Content-Disposition": `attachment; filename="leadflow-${job.type}-${jobId.slice(0, 8)}.xlsx"`,
|
||||
"Content-Disposition": `attachment; filename="onyva-leads-${job.type}-${jobId.slice(0, 8)}.xlsx"`,
|
||||
},
|
||||
});
|
||||
} catch (err) {
|
||||
|
||||
@@ -41,7 +41,7 @@ async function runVayneScrape(
|
||||
) {
|
||||
try {
|
||||
// 1. Create Vayne order
|
||||
const order = await createOrder(salesNavUrl, maxResults, apiToken, `LeadFlow-${jobId.slice(0, 8)}`);
|
||||
const order = await createOrder(salesNavUrl, maxResults, apiToken, `OnyvaLeads-${jobId.slice(0, 8)}`);
|
||||
const orderId = order.id;
|
||||
|
||||
await prisma.job.update({
|
||||
|
||||
@@ -50,7 +50,7 @@ export async function GET(req: NextRequest) {
|
||||
"Erfasst am": new Date(l.capturedAt).toLocaleDateString("de-DE", { day: "2-digit", month: "2-digit", year: "numeric" }),
|
||||
}));
|
||||
|
||||
const filename = `leadflow-vault-${new Date().toISOString().split("T")[0]}`;
|
||||
const filename = `onyva-leads-vault-${new Date().toISOString().split("T")[0]}`;
|
||||
|
||||
if (format === "xlsx") {
|
||||
const ws = XLSX.utils.json_to_sheet(rows);
|
||||
|
||||
@@ -8,7 +8,7 @@ import { Toaster } from "@/components/ui/sonner";
|
||||
const inter = Inter({ subsets: ["latin"], variable: "--font-inter" });
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "LeadFlow — Lead Generation Platform",
|
||||
title: "OnyvaLeads — Lead Generation Platform",
|
||||
description: "Unified lead generation and email enrichment platform",
|
||||
};
|
||||
|
||||
|
||||
@@ -277,8 +277,8 @@ export default function LeadVaultPage() {
|
||||
const [serpOpen, setSerpOpen] = useState(false);
|
||||
const [serpQuery, setSerpQuery] = useState("");
|
||||
const [serpCount, setSerpCount] = useState("25");
|
||||
const [serpCountry, setSerpCountry] = useState("de");
|
||||
const [serpLanguage, setSerpLanguage] = useState("de");
|
||||
const serpCountry = "de";
|
||||
const serpLanguage = "de";
|
||||
const [serpFilter, setSerpFilter] = useState(true);
|
||||
const [serpRunning, setSerpRunning] = useState(false);
|
||||
|
||||
@@ -551,28 +551,6 @@ export default function LeadVaultPage() {
|
||||
))}
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<div className="flex gap-2">
|
||||
<Select value={serpCountry} onValueChange={v => setSerpCountry(v ?? "de")}>
|
||||
<SelectTrigger className="bg-[#0d0d18] border-[#2e2e3e] text-white flex-1">
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent className="bg-[#111118] border-[#2e2e3e]">
|
||||
{[["de","DE"],["at","AT"],["ch","CH"],["us","US"]].map(([v,l]) => (
|
||||
<SelectItem key={v} value={v} className="text-gray-300">{l}</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
</Select>
|
||||
<Select value={serpLanguage} onValueChange={v => setSerpLanguage(v ?? "de")}>
|
||||
<SelectTrigger className="bg-[#0d0d18] border-[#2e2e3e] text-white flex-1">
|
||||
<SelectValue />
|
||||
</SelectTrigger>
|
||||
<SelectContent className="bg-[#111118] border-[#2e2e3e]">
|
||||
{[["de","Deutsch"],["en","English"]].map(([v,l]) => (
|
||||
<SelectItem key={v} value={v} className="text-gray-300">{l}</SelectItem>
|
||||
))}
|
||||
</SelectContent>
|
||||
</Select>
|
||||
</div>
|
||||
</div>
|
||||
<div className="flex items-center justify-between">
|
||||
<label className="flex items-center gap-2 text-sm text-gray-400 cursor-pointer">
|
||||
|
||||
Reference in New Issue
Block a user