import { prisma } from '@innungsapp/shared' import Link from 'next/link' import { ExternalLink, Settings, Layout, Search } from 'lucide-react' export default async function LandingPagesOverview({ searchParams, }: { searchParams: Promise<{ q?: string }> }) { const { q = '' } = await searchParams const organizations = await prisma.organization.findMany({ where: q ? { OR: [ { name: { contains: q, mode: 'insensitive' } }, { slug: { contains: q, mode: 'insensitive' } }, ] } : {}, orderBy: { name: 'asc' }, }) return (
Alle Mandanten-Landingpages auf einen Blick verwalten.
Keine Landingpages gefunden.
{q && Suche zurücksetzen}