page.tsx — ui Source File
Architecture documentation for page.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.
Entity Profile
Dependency Diagram
graph LR 594b0f31_49f4_07fa_ab9e_d775719b1fda["page.tsx"] ba3d44f3_7b34_f9cc_6283_44817785c0df["link"] 594b0f31_49f4_07fa_ab9e_d775719b1fda --> ba3d44f3_7b34_f9cc_6283_44817785c0df 674c271b_4f42_1739_f1f5_3d3fcc5d6d05["block-display"] 594b0f31_49f4_07fa_ab9e_d775719b1fda --> 674c271b_4f42_1739_f1f5_3d3fcc5d6d05 aa2f3ec6_f291_3763_88ec_65a3f5ad5939["button"] 594b0f31_49f4_07fa_ab9e_d775719b1fda --> aa2f3ec6_f291_3763_88ec_65a3f5ad5939 style 594b0f31_49f4_07fa_ab9e_d775719b1fda fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
import Link from "next/link"
import { BlockDisplay } from "@/components/block-display"
import { Button } from "@/registry/new-york/ui/button"
const FEATURED_BLOCKS = [
"dashboard-01",
"sidebar-07",
"sidebar-03",
"login-03",
"login-04",
]
export default async function BlocksPage() {
return (
<div>
{FEATURED_BLOCKS.map((block) => (
<div
key={block}
className="border-grid container border-b py-8 first:pt-6 last:border-b-0 md:py-12"
>
<BlockDisplay name={block} />
</div>
))}
<div className="container-wrapper">
<div className="container flex justify-center py-6">
<Button asChild variant="outline">
<Link href="/blocks/sidebar">Browse all blocks</Link>
</Button>
</div>
</div>
</div>
)
}
Domain
Subdomains
Functions
Dependencies
- block-display
- button
- link
Source
Frequently Asked Questions
What does page.tsx do?
page.tsx is a source file in the ui codebase, written in tsx. It belongs to the ComponentRegistry domain, Styles subdomain.
What functions are defined in page.tsx?
page.tsx defines 1 function(s): BlocksPage.
What does page.tsx depend on?
page.tsx imports 3 module(s): block-display, button, link.
Where is page.tsx in the architecture?
page.tsx is located at deprecated/www/app/(app)/blocks/page.tsx (domain: ComponentRegistry, subdomain: Styles, directory: deprecated/www/app/(app)/blocks).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free