"use client"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; interface WhitelabelingPreviewProps { config: { appName?: string; logoUrl?: string; footerText?: string; }; } export function WhitelabelingPreview({ config }: WhitelabelingPreviewProps) { const appName = config.appName || "Dokploy"; return ( Live Preview A quick preview of how your branding changes will look.
{/* Simulated sidebar header */}
{config.logoUrl ? ( Preview Logo ) : (
{appName.charAt(0).toUpperCase()}
)} {appName}
{/* Simulated content area */}
Button
Secondary
{/* Simulated footer */} {config.footerText && (
{config.footerText}
)}
); }