Home / File/ index.tsx — ui Source File

index.tsx — ui Source File

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

File tsx Internationalization Dictionary 12 imports 1 functions

Entity Profile

Dependency Diagram

graph LR
  f311b3e2_409b_35d6_61cc_571a9b904872["index.tsx"]
  dd8391df_4be3_d6c7_6d38_82c09f4d279e["activity-goal"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> dd8391df_4be3_d6c7_6d38_82c09f4d279e
  b29b8f89_ec0f_bb99_ec71_42bb4e2e2dff["calendar"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> b29b8f89_ec0f_bb99_ec71_42bb4e2e2dff
  9b882e92_c5fd_5fa2_3b24_66b693404b65["chat"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 9b882e92_c5fd_5fa2_3b24_66b693404b65
  2363c5a3_750b_d76d_960c_5ca0dfbe2d57["cookie-settings"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 2363c5a3_750b_d76d_960c_5ca0dfbe2d57
  4c367cf5_54ac_b820_6ee6_b0d76f24a1ec["create-account"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 4c367cf5_54ac_b820_6ee6_b0d76f24a1ec
  1390df55_751f_d3e8_6327_4cdde851c2bf["exercise-minutes"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 1390df55_751f_d3e8_6327_4cdde851c2bf
  57f6e02c_26d9_7611_15a2_a6b646d390c7["forms"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 57f6e02c_26d9_7611_15a2_a6b646d390c7
  c1ff745f_30bb_d74b_d177_74d551d19575["payments"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> c1ff745f_30bb_d74b_d177_74d551d19575
  035bba15_79db_40bd_4fb1_a247da8743a3["report-issue"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 035bba15_79db_40bd_4fb1_a247da8743a3
  47ea9893_0853_6b5a_bfe0_e1e103d6eccf["share"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 47ea9893_0853_6b5a_bfe0_e1e103d6eccf
  95420407_3380_7515_cfff_1b172d6df91c["stats"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 95420407_3380_7515_cfff_1b172d6df91c
  4c7529cb_9c20_25a4_4769_10f05603454e["team-members"]
  f311b3e2_409b_35d6_61cc_571a9b904872 --> 4c7529cb_9c20_25a4_4769_10f05603454e
  style f311b3e2_409b_35d6_61cc_571a9b904872 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

import { CardsActivityGoal } from "@/components/cards/activity-goal"
import { CardsCalendar } from "@/components/cards/calendar"
import { CardsChat } from "@/components/cards/chat"
import { CardsCookieSettings } from "@/components/cards/cookie-settings"
import { CardsCreateAccount } from "@/components/cards/create-account"
import { CardsExerciseMinutes } from "@/components/cards/exercise-minutes"
import { CardsForms } from "@/components/cards/forms"
import { CardsPayments } from "@/components/cards/payments"
import { CardsReportIssue } from "@/components/cards/report-issue"
import { CardsShare } from "@/components/cards/share"
import { CardsStats } from "@/components/cards/stats"
import { CardsTeamMembers } from "@/components/cards/team-members"

export function CardsDemo() {
  return (
    <div className="md:grids-col-2 grid **:data-[slot=card]:shadow-none md:gap-4 lg:grid-cols-10 xl:grid-cols-11">
      <div className="grid gap-4 lg:col-span-4 xl:col-span-6">
        <CardsStats />
        <div className="grid gap-1 sm:grid-cols-[auto_1fr] md:hidden">
          <CardsCalendar />
          <div className="pt-3 sm:pt-0 sm:pl-2 xl:pl-4">
            <CardsActivityGoal />
          </div>
          <div className="pt-3 sm:col-span-2 xl:pt-4">
            <CardsExerciseMinutes />
          </div>
        </div>
        <div className="grid gap-4 md:grid-cols-2 lg:grid-cols-1 xl:grid-cols-2">
          <div className="flex flex-col gap-4">
            <CardsForms />
            <CardsTeamMembers />
            <CardsCookieSettings />
          </div>
          <div className="flex flex-col gap-4">
            <CardsCreateAccount />
            <CardsChat />
            <div className="hidden xl:block">
              <CardsReportIssue />
            </div>
          </div>
        </div>
      </div>
      <div className="flex flex-col gap-4 lg:col-span-6 xl:col-span-5">
        <div className="hidden gap-1 sm:grid-cols-[auto_1fr] md:grid">
          <CardsCalendar />
          <div className="pt-3 sm:pt-0 sm:pl-2 xl:pl-3">
            <CardsActivityGoal />
          </div>
          <div className="pt-3 sm:col-span-2 xl:pt-3">
            <CardsExerciseMinutes />
          </div>
        </div>
        <div className="hidden md:block">
          <CardsPayments />
        </div>
        <CardsShare />
        <div className="xl:hidden">
          <CardsReportIssue />
        </div>
      </div>
    </div>
  )
}

Subdomains

Functions

Dependencies

  • activity-goal
  • calendar
  • chat
  • cookie-settings
  • create-account
  • exercise-minutes
  • forms
  • payments
  • report-issue
  • share
  • stats
  • team-members

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 Internationalization domain, Dictionary subdomain.
What functions are defined in index.tsx?
index.tsx defines 1 function(s): CardsDemo.
What does index.tsx depend on?
index.tsx imports 12 module(s): activity-goal, calendar, chat, cookie-settings, create-account, exercise-minutes, forms, payments, and 4 more.
Where is index.tsx in the architecture?
index.tsx is located at apps/v4/components/cards/index.tsx (domain: Internationalization, subdomain: Dictionary, directory: apps/v4/components/cards).

Analyze Your Own Codebase

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

Try Supermodel Free