Home / File/ index.tsx — ui Source File

index.tsx — ui Source File

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

File tsx FrameworkTooling CLICore 3 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  66f4a85a_cac4_1f48_c288_7bc3da5a2c4e["index.tsx"]
  9c1a1e1b_87f8_29d5_c12d_e83869cf94e4["next"]
  66f4a85a_cac4_1f48_c288_7bc3da5a2c4e --> 9c1a1e1b_87f8_29d5_c12d_e83869cf94e4
  19a36ed8_b39b_36c8_c930_23a37b31b782["head"]
  66f4a85a_cac4_1f48_c288_7bc3da5a2c4e --> 19a36ed8_b39b_36c8_c930_23a37b31b782
  ba3d44f3_7b34_f9cc_6283_44817785c0df["link"]
  66f4a85a_cac4_1f48_c288_7bc3da5a2c4e --> ba3d44f3_7b34_f9cc_6283_44817785c0df
  style 66f4a85a_cac4_1f48_c288_7bc3da5a2c4e fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { type NextPage } from "next";
import Head from "next/head";
import Link from "next/link";

const Home: NextPage = () => {
  return (
    <>
      <Head>
        <title>Create T3 App</title>
        <meta name="description" content="Generated by create-t3-app" />
        <link rel="icon" href="/favicon.ico" />
      </Head>
      <main className="flex min-h-screen flex-col items-center justify-center bg-gradient-to-b from-[#2e026d] to-[#15162c]">
        <div className="container flex flex-col items-center justify-center gap-12 px-4 py-16 ">
          <h1 className="text-5xl font-extrabold tracking-tight text-white sm:text-[5rem]">
            Create <span className="text-[hsl(280,100%,70%)]">T3</span> App
          </h1>
          <div className="grid grid-cols-1 gap-4 sm:grid-cols-2 md:gap-8">
            <Link
              className="flex max-w-xs flex-col gap-4 rounded-xl bg-white/10 p-4 text-white hover:bg-white/20"
              href="https://create.t3.gg/en/usage/first-steps"
              target="_blank"
            >
              <h3 className="text-2xl font-bold">First Steps →</h3>
              <div className="text-lg">
                Just the basics - Everything you need to know to set up your
                database and authentication.
              </div>
            </Link>
            <Link
              className="flex max-w-xs flex-col gap-4 rounded-xl bg-white/10 p-4 text-white hover:bg-white/20"
              href="https://create.t3.gg/en/introduction"
              target="_blank"
            >
              <h3 className="text-2xl font-bold">Documentation →</h3>
              <div className="text-lg">
                Learn more about Create T3 App, the libraries it uses, and how
                to deploy it.
              </div>
            </Link>
          </div>
        </div>
      </main>
    </>
  );
};

export default Home;

Subdomains

Functions

Dependencies

  • head
  • link
  • next

Frequently Asked Questions

What does index.tsx do?
index.tsx is a source file in the ui codebase, written in tsx. It belongs to the FrameworkTooling domain, CLICore subdomain.
What functions are defined in index.tsx?
index.tsx defines 1 function(s): Home.
What does index.tsx depend on?
index.tsx imports 3 module(s): head, link, next.
Where is index.tsx in the architecture?
index.tsx is located at packages/shadcn/test/fixtures/frameworks/t3-pages/src/pages/index.tsx (domain: FrameworkTooling, subdomain: CLICore, directory: packages/shadcn/test/fixtures/frameworks/t3-pages/src/pages).

Analyze Your Own Codebase

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

Try Supermodel Free