Home / File/ layout.tsx — ui Source File

layout.tsx — ui Source File

Architecture documentation for layout.tsx, a tsx file in the ui codebase. 3 imports, 0 dependents.

File tsx ComponentRegistry Styles 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  b0fb8f5d_c934_dac8_3115_a144aad71ddd["layout.tsx"]
  9c1a1e1b_87f8_29d5_c12d_e83869cf94e4["next"]
  b0fb8f5d_c934_dac8_3115_a144aad71ddd --> 9c1a1e1b_87f8_29d5_c12d_e83869cf94e4
  ee1bd2ee_dc29_449d_093b_3c77e83b3561["announcement"]
  b0fb8f5d_c934_dac8_3115_a144aad71ddd --> ee1bd2ee_dc29_449d_093b_3c77e83b3561
  92027577_46c9_9cf9_86f6_c32f42e44e04["page-header"]
  b0fb8f5d_c934_dac8_3115_a144aad71ddd --> 92027577_46c9_9cf9_86f6_c32f42e44e04
  style b0fb8f5d_c934_dac8_3115_a144aad71ddd fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { Metadata } from "next"

import { Announcement } from "@/components/announcement"
import {
  PageHeader,
  PageHeaderDescription,
  PageHeaderHeading,
} from "@/components/page-header"

export const metadata: Metadata = {
  title: "Icons",
  description: "All icons in all libraries.",
}

export default function IconsLayout({
  children,
}: {
  children: React.ReactNode
}) {
  return (
    <div className="container relative">
      <PageHeader>
        <Announcement />
        <PageHeaderHeading>Icons</PageHeaderHeading>
        <PageHeaderDescription>
          All icons in all libraries.
        </PageHeaderDescription>
      </PageHeader>
      <section id="icons" className="scroll-mt-20">
        {children}
      </section>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • announcement
  • next
  • page-header

Frequently Asked Questions

What does layout.tsx do?
layout.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 layout.tsx?
layout.tsx defines 1 function(s): IconsLayout.
What does layout.tsx depend on?
layout.tsx imports 3 module(s): announcement, next, page-header.
Where is layout.tsx in the architecture?
layout.tsx is located at deprecated/www/app/(internal)/icons/layout.tsx (domain: ComponentRegistry, subdomain: Styles, directory: deprecated/www/app/(internal)/icons).

Analyze Your Own Codebase

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

Try Supermodel Free