Home / Function/ PodcastEmptyPlaceholder() — ui Function Reference

PodcastEmptyPlaceholder() — ui Function Reference

Architecture documentation for the PodcastEmptyPlaceholder() function in podcast-empty-placeholder.tsx from the ui codebase.

Entity Profile

Dependency Diagram

graph TD
  792233f9_d2d0_b2ba_bdc5_4b67b9a35597["PodcastEmptyPlaceholder()"]
  7bf3c9a7_5543_4076_d271_bf398ef60dbc["podcast-empty-placeholder.tsx"]
  792233f9_d2d0_b2ba_bdc5_4b67b9a35597 -->|defined in| 7bf3c9a7_5543_4076_d271_bf398ef60dbc
  style 792233f9_d2d0_b2ba_bdc5_4b67b9a35597 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

deprecated/www/app/(app)/examples/music/components/podcast-empty-placeholder.tsx lines 14–64

export function PodcastEmptyPlaceholder() {
  return (
    <div className="flex h-[450px] shrink-0 items-center justify-center rounded-md border border-dashed">
      <div className="mx-auto flex max-w-[420px] flex-col items-center justify-center text-center">
        <svg
          xmlns="http://www.w3.org/2000/svg"
          fill="none"
          stroke="currentColor"
          strokeLinecap="round"
          strokeLinejoin="round"
          strokeWidth="2"
          className="h-10 w-10 text-muted-foreground"
          viewBox="0 0 24 24"
        >
          <circle cx="12" cy="11" r="1" />
          <path d="M11 17a1 1 0 0 1 2 0c0 .5-.34 3-.5 4.5a.5.5 0 0 1-1 0c-.16-1.5-.5-4-.5-4.5ZM8 14a5 5 0 1 1 8 0" />
          <path d="M17 18.5a9 9 0 1 0-10 0" />
        </svg>

        <h3 className="mt-4 text-lg font-semibold">No episodes added</h3>
        <p className="mb-4 mt-2 text-sm text-muted-foreground">
          You have not added any podcasts. Add one below.
        </p>
        <Dialog>
          <DialogTrigger asChild>
            <Button size="sm" className="relative">
              Add Podcast
            </Button>
          </DialogTrigger>
          <DialogContent>
            <DialogHeader>
              <DialogTitle>Add Podcast</DialogTitle>
              <DialogDescription>
                Copy and paste the podcast feed URL to import.
              </DialogDescription>
            </DialogHeader>
            <div className="grid gap-4 py-4">
              <div className="grid gap-2">
                <Label htmlFor="url">Podcast URL</Label>
                <Input id="url" placeholder="https://example.com/feed.xml" />
              </div>
            </div>
            <DialogFooter>
              <Button>Import Podcast</Button>
            </DialogFooter>
          </DialogContent>
        </Dialog>
      </div>
    </div>
  )
}

Subdomains

Frequently Asked Questions

What does PodcastEmptyPlaceholder() do?
PodcastEmptyPlaceholder() is a function in the ui codebase, defined in deprecated/www/app/(app)/examples/music/components/podcast-empty-placeholder.tsx.
Where is PodcastEmptyPlaceholder() defined?
PodcastEmptyPlaceholder() is defined in deprecated/www/app/(app)/examples/music/components/podcast-empty-placeholder.tsx at line 14.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free