text
stringlengths
21
253k
id
stringlengths
25
123
metadata
dict
__index_level_0__
int64
0
181
"use client"; import { Badge } from "@/components/ui/badge"; import { Button, buttonVariants } from "@/components/ui/button"; import { Icons } from "@/components/ui/icons"; import { Sheet, SheetContent, SheetHeader, SheetTrigger, } from "@/components/ui/sheet"; import { navigation } from "@/config/head...
alifarooq9/rapidlaunch/starterkits/saas/src/app/(web)/_components/mobile-nav.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/(web)/_components/mobile-nav.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 1582 }
14
import NextAuth from "next-auth"; import { authOptions } from "@/server/auth"; // eslint-disable-next-line @typescript-eslint/no-unsafe-assignment const handler = NextAuth(authOptions); export { handler as GET, handler as POST };
alifarooq9/rapidlaunch/starterkits/saas/src/app/api/auth/[...nextauth]/route.ts
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/api/auth/[...nextauth]/route.ts", "repo_id": "alifarooq9/rapidlaunch", "token_count": 73 }
15
import React from "react"; import { Providers } from "@/components/providers"; import { Toaster } from "@/components/ui/sonner"; import "@/styles/globals.css"; import { fontHeading, fontSans } from "@/lib/fonts"; import { type Metadata } from "next"; import { defaultMetadata, twitterMetadata, ogMetadata, } ...
alifarooq9/rapidlaunch/starterkits/saas/src/app/layout.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/layout.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 451 }
16
import { BarChart4Icon, BookTextIcon, Building2Icon, ClipboardListIcon, CreditCardIcon, HelpCircleIcon, LayoutDashboardIcon, MessageSquareIcon, PenLineIcon, Settings2Icon, UserRoundCheckIcon, UserRoundPlusIcon, UsersRoundIcon, } from "lucide-react"; import { siteUrls ...
alifarooq9/rapidlaunch/starterkits/saas/src/config/sidebar.ts
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/config/sidebar.ts", "repo_id": "alifarooq9/rapidlaunch", "token_count": 3027 }
17
"use server"; import { orgConfig } from "@/config/organization"; import { db } from "@/server/db"; import { membersToOrganizations, orgRequests, organizations, } from "@/server/db/schema"; import { adminProcedure, protectedProcedure } from "@/server/procedures"; import { and, asc, count, desc, eq, ilike, i...
alifarooq9/rapidlaunch/starterkits/saas/src/server/actions/organization/queries.ts
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/server/actions/organization/queries.ts", "repo_id": "alifarooq9/rapidlaunch", "token_count": 4077 }
18
import { createClient } from '@/utils/supabase/server'; import { NextResponse } from 'next/server'; import { NextRequest } from 'next/server'; import { getErrorRedirect, getStatusRedirect } from '@/utils/helpers'; export async function GET(request: NextRequest) { // The `/auth/callback` route is required for the ser...
horizon-ui/shadcn-nextjs-boilerplate/app/auth/callback/route.ts
{ "file_path": "horizon-ui/shadcn-nextjs-boilerplate/app/auth/callback/route.ts", "repo_id": "horizon-ui/shadcn-nextjs-boilerplate", "token_count": 398 }
19
interface Props { text: string; editable?: boolean; onChange?: (value: string) => void; } export const TextBlock: React.FC<Props> = ({ text, editable = false, onChange = () => {} }) => { return ( <textarea className="min-h-[500px] w-full bg-[#1A1B26] p-4 text-sm text-neutral-200 focus:outline-n...
horizon-ui/shadcn-nextjs-boilerplate/components/TextBlock.tsx
{ "file_path": "horizon-ui/shadcn-nextjs-boilerplate/components/TextBlock.tsx", "repo_id": "horizon-ui/shadcn-nextjs-boilerplate", "token_count": 199 }
20
/*eslint-disable*/ 'use client'; import { Button } from '@/components/ui/button'; import { Card } from '@/components/ui/card'; import Notification from '@/components/notification'; import { HiOutlineBellAlert } from 'react-icons/hi2'; import { Switch } from '@/components/ui/switch'; import { HiOutlineCheck } from 'rea...
horizon-ui/shadcn-nextjs-boilerplate/components/dashboard/settings/components/notification-settings.tsx
{ "file_path": "horizon-ui/shadcn-nextjs-boilerplate/components/dashboard/settings/components/notification-settings.tsx", "repo_id": "horizon-ui/shadcn-nextjs-boilerplate", "token_count": 950 }
21
import { createContext } from 'react'; import { User } from '@supabase/supabase-js'; interface OpenContextType { open: boolean; setOpen: React.Dispatch<React.SetStateAction<boolean>>; } type UserDetails = { [x: string]: any } | null; export const OpenContext = createContext<OpenContextType>(undefined); export con...
horizon-ui/shadcn-nextjs-boilerplate/contexts/layout.ts
{ "file_path": "horizon-ui/shadcn-nextjs-boilerplate/contexts/layout.ts", "repo_id": "horizon-ui/shadcn-nextjs-boilerplate", "token_count": 134 }
22
/** * Chrome has a bug with transitions on load since 2012! * * To prevent a "pop" of content, you have to disable all transitions until * the page is done loading. * * https://lab.laukstein.com/bug/input * https://twitter.com/timer150/status/1345217126680899584 */ body.loading * { transition: none !important...
horizon-ui/shadcn-nextjs-boilerplate/styles/chrome-bug.css
{ "file_path": "horizon-ui/shadcn-nextjs-boilerplate/styles/chrome-bug.css", "repo_id": "horizon-ui/shadcn-nextjs-boilerplate", "token_count": 100 }
23
import { Database } from '@/types/types_db'; type Price = Database['public']['Tables']['prices']['Row']; export const getURL = (path?: string) => { let url = process?.env?.NEXT_PUBLIC_SITE_URL ?? // Set this to your site URL in production env. process?.env?.NEXT_PUBLIC_VERCEL_URL ?? // Automatically set by ...
horizon-ui/shadcn-nextjs-boilerplate/utils/helpers.ts
{ "file_path": "horizon-ui/shadcn-nextjs-boilerplate/utils/helpers.ts", "repo_id": "horizon-ui/shadcn-nextjs-boilerplate", "token_count": 1173 }
24
# FIXME: Configure environment variables for production # Hosting # Replace by your domain name # NEXT_PUBLIC_APP_URL=https://example.com # Sentry DSN NEXT_PUBLIC_SENTRY_DSN= # Stripe # If you need a real Stripe subscription payment with checkout page, customer portal, webhook, etc. # You can check out the Next.js B...
ixartz/SaaS-Boilerplate/.env.production
{ "file_path": "ixartz/SaaS-Boilerplate/.env.production", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 399 }
25
import type { UserConfig } from '@commitlint/types'; const Configuration: UserConfig = { extends: ['@commitlint/config-conventional'], }; export default Configuration;
ixartz/SaaS-Boilerplate/commitlint.config.ts
{ "file_path": "ixartz/SaaS-Boilerplate/commitlint.config.ts", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 49 }
26
import { getTranslations, unstable_setRequestLocale } from 'next-intl/server'; import { CTA } from '@/templates/CTA'; import { DemoBanner } from '@/templates/DemoBanner'; import { FAQ } from '@/templates/FAQ'; import { Features } from '@/templates/Features'; import { Footer } from '@/templates/Footer'; import { Hero }...
ixartz/SaaS-Boilerplate/src/app/[locale]/(unauth)/page.tsx
{ "file_path": "ixartz/SaaS-Boilerplate/src/app/[locale]/(unauth)/page.tsx", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 411 }
27
import { cva } from 'class-variance-authority'; export const buttonVariants = cva( 'inline-flex items-center justify-center whitespace-nowrap rounded-md text-sm font-medium ring-offset-background transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 dis...
ixartz/SaaS-Boilerplate/src/components/ui/buttonVariants.ts
{ "file_path": "ixartz/SaaS-Boilerplate/src/components/ui/buttonVariants.ts", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 481 }
28
export const TitleBar = (props: { title: React.ReactNode; description?: React.ReactNode; }) => ( <div className="mb-8"> <div className="text-2xl font-semibold">{props.title}</div> {props.description && ( <div className="text-sm font-medium text-muted-foreground"> {props.description} <...
ixartz/SaaS-Boilerplate/src/features/dashboard/TitleBar.tsx
{ "file_path": "ixartz/SaaS-Boilerplate/src/features/dashboard/TitleBar.tsx", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 147 }
29
import { notFound } from 'next/navigation'; import { getRequestConfig } from 'next-intl/server'; import { AllLocales } from '@/utils/AppConfig'; // NextJS Boilerplate uses Crowdin as the localization software. // As a developer, you only need to take care of the English (or another default language) version. // Other...
ixartz/SaaS-Boilerplate/src/libs/i18n.ts
{ "file_path": "ixartz/SaaS-Boilerplate/src/libs/i18n.ts", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 268 }
30
/* eslint-disable react-dom/no-unsafe-target-blank */ import Image from 'next/image'; import { LogoCloud } from '@/features/landing/LogoCloud'; import { Section } from '@/features/landing/Section'; export const Sponsors = () => ( <Section> <LogoCloud text="Sponsored by"> <a href="https://clerk.com...
ixartz/SaaS-Boilerplate/src/templates/Sponsors.tsx
{ "file_path": "ixartz/SaaS-Boilerplate/src/templates/Sponsors.tsx", "repo_id": "ixartz/SaaS-Boilerplate", "token_count": 792 }
31
export default eventHandler(() => { return { nitro: 'Is Awesome! asda' }; });
lucide-icons/lucide/docs/.vitepress/api/test.ts
{ "file_path": "lucide-icons/lucide/docs/.vitepress/api/test.ts", "repo_id": "lucide-icons/lucide", "token_count": 26 }
32
import { bundledLanguages, type ThemeRegistration } from 'shikiji'; import { getHighlighter } from 'shikiji'; export type ThemeOptions = | ThemeRegistration | { light: ThemeRegistration; dark: ThemeRegistration }; const highLightCode = async (code: string, lang: string, active?: boolean) => { const highlighter ...
lucide-icons/lucide/docs/.vitepress/lib/codeExamples/highLightCode.ts
{ "file_path": "lucide-icons/lucide/docs/.vitepress/lib/codeExamples/highLightCode.ts", "repo_id": "lucide-icons/lucide", "token_count": 323 }
33
import iconNodes from '../../../data/iconNodes'; const getRandomItem = <Item>(items: Item[]): Item => items[Math.floor(Math.random() * items.length)]; export default { async load() { const icons = Object.entries(iconNodes).map(([name, iconNode]) => ({ name, iconNode })); const randomIcons = Array.from({ ...
lucide-icons/lucide/docs/.vitepress/theme/components/home/HomeHeroIconsCard.data.ts
{ "file_path": "lucide-icons/lucide/docs/.vitepress/theme/components/home/HomeHeroIconsCard.data.ts", "repo_id": "lucide-icons/lucide", "token_count": 160 }
34
/* eslint-disable no-console */ import { ref, inject, Ref } from 'vue'; export const ICON_STYLE_CONTEXT = Symbol('size'); interface IconSizeContext { size: Ref<number>; strokeWidth: Ref<number>; color: Ref<string>; absoluteStrokeWidth: Ref<boolean>; } export const STYLE_DEFAULTS = { size: 24, strokeWidt...
lucide-icons/lucide/docs/.vitepress/theme/composables/useIconStyle.ts
{ "file_path": "lucide-icons/lucide/docs/.vitepress/theme/composables/useIconStyle.ts", "repo_id": "lucide-icons/lucide", "token_count": 262 }
35
import Button from "./Button"; export default function App() { return <Button />; }
lucide-icons/lucide/docs/guide/basics/examples/button-example/App.js
{ "file_path": "lucide-icons/lucide/docs/guide/basics/examples/button-example/App.js", "repo_id": "lucide-icons/lucide", "token_count": 25 }
36
import createCodeExamples from '../../.vitepress/lib/codeExamples/createLabCodeExamples'; export default { async load() { const codeExamples = await createCodeExamples(); return { codeExamples, }; }, };
lucide-icons/lucide/docs/icons/lab/codeExamples.data.ts
{ "file_path": "lucide-icons/lucide/docs/icons/lab/codeExamples.data.ts", "repo_id": "lucide-icons/lucide", "token_count": 74 }
37
import fs from 'fs'; import path from 'path'; import { renderIconsObject } from '@lucide/build-icons'; import { readSvgDirectory, toCamelCase } from '@lucide/helpers'; const currentDir = process.cwd(); const ICONS_DIR = path.resolve(currentDir, '../icons'); const svgFiles = readSvgDirectory(ICONS_DIR); const icons = r...
lucide-icons/lucide/docs/scripts/writeIconNodes.mjs
{ "file_path": "lucide-icons/lucide/docs/scripts/writeIconNodes.mjs", "repo_id": "lucide-icons/lucide", "token_count": 696 }
38
module.exports = { root: true, overrides: [ { files: ['*.ts'], extends: [ 'eslint:recommended', 'plugin:@typescript-eslint/recommended', 'plugin:@angular-eslint/recommended', 'plugin:@angular-eslint/template/process-inline-templates', 'prettier', ], ...
lucide-icons/lucide/packages/lucide-angular/.eslintrc.js
{ "file_path": "lucide-icons/lucide/packages/lucide-angular/.eslintrc.js", "repo_id": "lucide-icons/lucide", "token_count": 488 }
39
import { LucideIconData, LucideIcons } from '../icons/types'; import { InjectionToken } from '@angular/core'; export interface LucideIconProviderInterface { hasIcon(name: string): boolean; getIcon(name: string): LucideIconData | null; } export const LUCIDE_ICONS = new InjectionToken<LucideIconProviderInterface>(...
lucide-icons/lucide/packages/lucide-angular/src/lib/lucide-icon.provider.ts
{ "file_path": "lucide-icons/lucide/packages/lucide-angular/src/lib/lucide-icon.provider.ts", "repo_id": "lucide-icons/lucide", "token_count": 224 }
40
import { type FunctionComponent, type JSX } from 'preact'; export type IconNode = [elementName: keyof JSX.IntrinsicElements, attrs: Record<string, string>][]; export interface LucideProps extends Partial<Omit<JSX.SVGAttributes, 'ref' | 'size'>> { color?: string; size?: string | number; strokeWidth?: string | nu...
lucide-icons/lucide/packages/lucide-preact/src/types.ts
{ "file_path": "lucide-icons/lucide/packages/lucide-preact/src/types.ts", "repo_id": "lucide-icons/lucide", "token_count": 132 }
41
import { describe, it, expect } from 'vitest'; import { Suspense, lazy } from 'react'; import { render, waitFor } from '@testing-library/react'; import dynamicIconImports from '../src/dynamicIconImports'; import { LucideProps } from '../src/types'; describe('Using dynamicImports', () => { it('should render icons dy...
lucide-icons/lucide/packages/lucide-react/tests/dynamicImports.spec.tsx
{ "file_path": "lucide-icons/lucide/packages/lucide-react/tests/dynamicImports.spec.tsx", "repo_id": "lucide-icons/lucide", "token_count": 410 }
42
/* eslint-disable import/no-extraneous-dependencies */ import { stringify } from 'svgson'; import { format } from 'prettier'; import { appendFile } from '@lucide/helpers'; export default function generateSprite(svgs, packageDir, license) { const symbols = svgs.map(({ name, parsedSvg }) => ({ name: 'symbol', ...
lucide-icons/lucide/packages/lucide-static/scripts/generateSprite.mjs
{ "file_path": "lucide-icons/lucide/packages/lucide-static/scripts/generateSprite.mjs", "repo_id": "lucide-icons/lucide", "token_count": 420 }
43
import { describe, it, expect } from 'vitest'; import { render } from '@testing-library/svelte'; import { Icon } from '../src/lucide-svelte'; import { airVent } from './testIconNodes'; describe('Using Icon Component', () => { it('should render icon based on a iconNode', async () => { const { container } = rende...
lucide-icons/lucide/packages/lucide-svelte/tests/Icon.spec.ts
{ "file_path": "lucide-icons/lucide/packages/lucide-svelte/tests/Icon.spec.ts", "repo_id": "lucide-icons/lucide", "token_count": 331 }
44
import { Component } from 'vue'; import defaultAttributes from './defaultAttributes'; import { toKebabCase } from '@lucide/shared'; var showDeprecationWarning = true; type IconNode = [elementName: string, attrs: Record<string, string>][]; export default (iconName: string, iconNode: IconNode): Component => ({ name:...
lucide-icons/lucide/packages/lucide-vue/src/createLucideIcon.ts
{ "file_path": "lucide-icons/lucide/packages/lucide-vue/src/createLucideIcon.ts", "repo_id": "lucide-icons/lucide", "token_count": 783 }
45
import { IconNode, IconNodeChild, SVGProps } from './types'; /** * Creates a new HTMLElement from icon node * @param {string} tag * @param {object} attrs * @param {array} children * @returns {HTMLElement} */ const createElement = (tag: string, attrs: SVGProps, children: IconNodeChild[] = []) => { const element...
lucide-icons/lucide/packages/lucide/src/createElement.ts
{ "file_path": "lucide-icons/lucide/packages/lucide/src/createElement.ts", "repo_id": "lucide-icons/lucide", "token_count": 308 }
46
export * from './utils'; export * from './utility-types';
lucide-icons/lucide/packages/shared/src/index.ts
{ "file_path": "lucide-icons/lucide/packages/shared/src/index.ts", "repo_id": "lucide-icons/lucide", "token_count": 19 }
47
import path from 'path'; import { writeFile, getCurrentDirPath, readAllMetadata } from '../tools/build-helpers/helpers.mjs'; const currentDir = getCurrentDirPath(import.meta.url); const ICONS_DIR = path.resolve(currentDir, '../icons'); const icons = readAllMetadata(ICONS_DIR); const tags = Object.keys(icons) .sort(...
lucide-icons/lucide/scripts/migrateIconsToTags.mjs
{ "file_path": "lucide-icons/lucide/scripts/migrateIconsToTags.mjs", "repo_id": "lucide-icons/lucide", "token_count": 189 }
48
/* eslint-disable import/prefer-default-export */ import { hash } from './hash.mjs'; /** * Generate Hashed string based on name and attributes * * @param {object} seed * @param {string} seed.name A name, for example an icon name * @param {object} seed.attributes An object of SVGElement Attrbutes * @returns {stri...
lucide-icons/lucide/tools/build-helpers/src/generateHashedKey.mjs
{ "file_path": "lucide-icons/lucide/tools/build-helpers/src/generateHashedKey.mjs", "repo_id": "lucide-icons/lucide", "token_count": 135 }
49
/* eslint-disable import/prefer-default-export */ import fs from 'fs'; import path from 'path'; /** * writes content to a file * * @param {string} content * @param {string} fileName * @param {string} outputDirectory */ export const writeFile = (content, fileName, outputDirectory) => fs.writeFileSync(path.join(...
lucide-icons/lucide/tools/build-helpers/src/writeFile.mjs
{ "file_path": "lucide-icons/lucide/tools/build-helpers/src/writeFile.mjs", "repo_id": "lucide-icons/lucide", "token_count": 111 }
50
import path from 'path'; import { readSvgDirectory } from '@lucide/helpers'; async function getIconMetaData(iconDirectory) { const iconJsons = readSvgDirectory(iconDirectory, '.json'); const aliasesEntries = await Promise.all( iconJsons.map(async (jsonFile) => { /** eslint-disable */ const file = a...
lucide-icons/lucide/tools/build-icons/utils/getIconMetaData.mjs
{ "file_path": "lucide-icons/lucide/tools/build-icons/utils/getIconMetaData.mjs", "repo_id": "lucide-icons/lucide", "token_count": 190 }
51
import LoginModal from "~/components/layout/login-modal"; export default async function Login() { return <LoginModal />; }
moinulmoin/chadnext/src/app/[locale]/@loginDialog/(.)login/page.tsx
{ "file_path": "moinulmoin/chadnext/src/app/[locale]/@loginDialog/(.)login/page.tsx", "repo_id": "moinulmoin/chadnext", "token_count": 39 }
52
import Link from "next/link"; import { Card } from "~/components/ui/card"; import { getProjects } from "./action"; import CreateProjectModal from "./create-project-modal"; export default async function Projects() { const projects = await getProjects(); return ( <div className="grid gap-4 md:grid-cols-3 lg:gri...
moinulmoin/chadnext/src/app/[locale]/dashboard/projects/page.tsx
{ "file_path": "moinulmoin/chadnext/src/app/[locale]/dashboard/projects/page.tsx", "repo_id": "moinulmoin/chadnext", "token_count": 438 }
53
import { createRouteHandler } from "uploadthing/next"; import { ourFileRouter } from "./core"; export const runtime = "nodejs"; // Export routes for Next App Router export const { GET, POST } = createRouteHandler({ router: ourFileRouter, });
moinulmoin/chadnext/src/app/api/uploadthing/route.ts
{ "file_path": "moinulmoin/chadnext/src/app/api/uploadthing/route.ts", "repo_id": "moinulmoin/chadnext", "token_count": 70 }
54
"use client"; import { useRouter } from "next/navigation"; import Icons from "./shared/icons"; import { Button } from "./ui/button"; export default function GoBack() { const router = useRouter(); return ( <Button className="mb-5" size="icon" variant="secondary" onClick={() => router.bac...
moinulmoin/chadnext/src/components/go-back.tsx
{ "file_path": "moinulmoin/chadnext/src/components/go-back.tsx", "repo_id": "moinulmoin/chadnext", "token_count": 179 }
55
import { LogOutIcon } from "lucide-react"; import { logout } from "~/actions/auth"; import { Button } from "../ui/button"; export default function LogoutButton({ className }: { className?: string }) { return ( <form action={logout} className={className}> <Button type="submit" variant="destructive"> ...
moinulmoin/chadnext/src/components/shared/logout-button.tsx
{ "file_path": "moinulmoin/chadnext/src/components/shared/logout-button.tsx", "repo_id": "moinulmoin/chadnext", "token_count": 163 }
56
import { createI18nMiddleware } from "next-international/middleware"; import { type NextRequest } from "next/server"; const I18nMiddleware = createI18nMiddleware({ locales: ["en", "fr"], defaultLocale: "en", }); export function middleware(request: NextRequest) { return I18nMiddleware(request); } export const c...
moinulmoin/chadnext/src/middleware.ts
{ "file_path": "moinulmoin/chadnext/src/middleware.ts", "repo_id": "moinulmoin/chadnext", "token_count": 152 }
57
import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/components/ui/accordion"; interface FAQProps { question: string; answer: string; value: string; } const FAQList: FAQProps[] = [ { question: "Is this template free?", answer: "Yes. It is a free NextJS Shadcn templa...
nobruf/shadcn-landing-page/components/layout/sections/faq.tsx
{ "file_path": "nobruf/shadcn-landing-page/components/layout/sections/faq.tsx", "repo_id": "nobruf/shadcn-landing-page", "token_count": 880 }
58
/** @type {import('postcss-load-config').Config} */ const config = { plugins: { tailwindcss: {}, }, }; export default config;
nobruf/shadcn-landing-page/postcss.config.mjs
{ "file_path": "nobruf/shadcn-landing-page/postcss.config.mjs", "repo_id": "nobruf/shadcn-landing-page", "token_count": 48 }
59
import { notFound } from "next/navigation" import { dashboardConfig } from "@/config/dashboard" import { getCurrentUser } from "@/lib/session" import { MainNav } from "@/components/main-nav" import { DashboardNav } from "@/components/nav" import { SiteFooter } from "@/components/site-footer" import { UserAccountNav } ...
shadcn-ui/taxonomy/app/(dashboard)/dashboard/layout.tsx
{ "file_path": "shadcn-ui/taxonomy/app/(dashboard)/dashboard/layout.tsx", "repo_id": "shadcn-ui/taxonomy", "token_count": 607 }
60
import { notFound } from "next/navigation" import { allAuthors, allPosts } from "contentlayer/generated" import { Mdx } from "@/components/mdx-components" import "@/styles/mdx.css" import { Metadata } from "next" import Image from "next/image" import Link from "next/link" import { env } from "@/env.mjs" import { abs...
shadcn-ui/taxonomy/app/(marketing)/blog/[...slug]/page.tsx
{ "file_path": "shadcn-ui/taxonomy/app/(marketing)/blog/[...slug]/page.tsx", "repo_id": "shadcn-ui/taxonomy", "token_count": 2171 }
61
"use client" import * as React from "react" import { useTheme } from "next-themes" import { Button } from "@/components/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/components/ui/dropdown-menu" import { Icons } from "@/components/icons" export functi...
shadcn-ui/taxonomy/components/mode-toggle.tsx
{ "file_path": "shadcn-ui/taxonomy/components/mode-toggle.tsx", "repo_id": "shadcn-ui/taxonomy", "token_count": 609 }
62
import * as React from "react" import { VariantProps, cva } from "class-variance-authority" import { cn } from "@/lib/utils" const alertVariants = cva( "relative w-full rounded-lg border p-4 [&>svg]:absolute [&>svg]:text-foreground [&>svg]:left-4 [&>svg]:top-4 [&>svg+div]:translate-y-[-3px] [&:has(svg)]:pl-11", {...
shadcn-ui/taxonomy/components/ui/alert.tsx
{ "file_path": "shadcn-ui/taxonomy/components/ui/alert.tsx", "repo_id": "shadcn-ui/taxonomy", "token_count": 599 }
63
"use client" import * as React from "react" import * as TogglePrimitive from "@radix-ui/react-toggle" import { VariantProps, cva } from "class-variance-authority" import { cn } from "@/lib/utils" const toggleVariants = cva( "inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors d...
shadcn-ui/taxonomy/components/ui/toggle.tsx
{ "file_path": "shadcn-ui/taxonomy/components/ui/toggle.tsx", "repo_id": "shadcn-ui/taxonomy", "token_count": 554 }
64
import { PrismaClient } from "@prisma/client" declare global { // eslint-disable-next-line no-var var cachedPrisma: PrismaClient } let prisma: PrismaClient if (process.env.NODE_ENV === "production") { prisma = new PrismaClient() } else { if (!global.cachedPrisma) { global.cachedPrisma = new PrismaClient()...
shadcn-ui/taxonomy/lib/db.ts
{ "file_path": "shadcn-ui/taxonomy/lib/db.ts", "repo_id": "shadcn-ui/taxonomy", "token_count": 139 }
65
import { Avatar, AvatarFallback, AvatarImage, } from "@/registry/new-york/ui/avatar" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuT...
shadcn-ui/ui/apps/www/app/(app)/examples/dashboard/components/user-nav.tsx
{ "file_path": "shadcn-ui/ui/apps/www/app/(app)/examples/dashboard/components/user-nav.tsx", "repo_id": "shadcn-ui/ui", "token_count": 905 }
66
import addDays from "date-fns/addDays" import addHours from "date-fns/addHours" import format from "date-fns/format" import nextSaturday from "date-fns/nextSaturday" import { Archive, ArchiveX, Clock, Forward, MoreVertical, Reply, ReplyAll, Trash2, } from "lucide-react" import { DropdownMenuContent, ...
shadcn-ui/ui/apps/www/app/(app)/examples/mail/components/mail-display.tsx
{ "file_path": "shadcn-ui/ui/apps/www/app/(app)/examples/mail/components/mail-display.tsx", "repo_id": "shadcn-ui/ui", "token_count": 5126 }
67
"use client" import * as React from "react" import { CaretSortIcon, CheckIcon } from "@radix-ui/react-icons" import { PopoverProps } from "@radix-ui/react-popover" import { cn } from "@/lib/utils" import { useMutationObserver } from "@/hooks/use-mutation-observer" import { Button } from "@/registry/new-york/ui/button...
shadcn-ui/ui/apps/www/app/(app)/examples/playground/components/model-selector.tsx
{ "file_path": "shadcn-ui/ui/apps/www/app/(app)/examples/playground/components/model-selector.tsx", "repo_id": "shadcn-ui/ui", "token_count": 2632 }
68
"use client" import { DropdownMenuTrigger } from "@radix-ui/react-dropdown-menu" import { MixerHorizontalIcon } from "@radix-ui/react-icons" import { Table } from "@tanstack/react-table" import { Button } from "@/registry/new-york/ui/button" import { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, ...
shadcn-ui/ui/apps/www/app/(app)/examples/tasks/components/data-table-view-options.tsx
{ "file_path": "shadcn-ui/ui/apps/www/app/(app)/examples/tasks/components/data-table-view-options.tsx", "repo_id": "shadcn-ui/ui", "token_count": 792 }
69
import "@/styles/globals.css" import { Metadata, Viewport } from "next" import { siteConfig } from "@/config/site" import { fontSans } from "@/lib/fonts" import { cn } from "@/lib/utils" import { Analytics } from "@/components/analytics" import { ThemeProvider } from "@/components/providers" import { TailwindIndicator...
shadcn-ui/ui/apps/www/app/layout.tsx
{ "file_path": "shadcn-ui/ui/apps/www/app/layout.tsx", "repo_id": "shadcn-ui/ui", "token_count": 1270 }
70
"use client" import * as React from "react" import { cn } from "@/lib/utils" import { Button } from "@/registry/new-york/ui/button" import { Collapsible, CollapsibleContent, CollapsibleTrigger, } from "@/registry/new-york/ui/collapsible" interface CodeBlockProps extends React.HTMLAttributes<HTMLDivElement> { ...
shadcn-ui/ui/apps/www/components/code-block-wrapper.tsx
{ "file_path": "shadcn-ui/ui/apps/www/components/code-block-wrapper.tsx", "repo_id": "shadcn-ui/ui", "token_count": 752 }
71
"use client" import * as React from "react" import Link, { LinkProps } from "next/link" import { useRouter } from "next/navigation" import { ViewVerticalIcon } from "@radix-ui/react-icons" import { docsConfig } from "@/config/docs" import { siteConfig } from "@/config/site" import { cn } from "@/lib/utils" import { I...
shadcn-ui/ui/apps/www/components/mobile-nav.tsx
{ "file_path": "shadcn-ui/ui/apps/www/components/mobile-nav.tsx", "repo_id": "shadcn-ui/ui", "token_count": 2550 }
72
"use client" import { cn } from "@/lib/utils" import { useConfig } from "@/hooks/use-config" interface ThemeWrapperProps extends React.ComponentProps<"div"> { defaultTheme?: string } export function ThemeWrapper({ defaultTheme, children, className, }: ThemeWrapperProps) { const [config] = useConfig() re...
shadcn-ui/ui/apps/www/components/theme-wrapper.tsx
{ "file_path": "shadcn-ui/ui/apps/www/components/theme-wrapper.tsx", "repo_id": "shadcn-ui/ui", "token_count": 269 }
73
import { useAtom } from "jotai" import { atomWithStorage } from "jotai/utils" import { BaseColor } from "@/registry/registry-base-colors" import { Style } from "@/registry/registry-styles" type Config = { style: Style["name"] theme: BaseColor["name"] radius: number } const configAtom = atomWithStorage<Config>(...
shadcn-ui/ui/apps/www/hooks/use-config.ts
{ "file_path": "shadcn-ui/ui/apps/www/hooks/use-config.ts", "repo_id": "shadcn-ui/ui", "token_count": 158 }
74
import { UnistNode, UnistTree } from "types/unist" import { visit } from "unist-util-visit" export function rehypeNpmCommand() { return (tree: UnistTree) => { visit(tree, (node: UnistNode) => { if (node.type !== "element" || node?.tagName !== "pre") { return } // npm install. if ...
shadcn-ui/ui/apps/www/lib/rehype-npm-command.ts
{ "file_path": "shadcn-ui/ui/apps/www/lib/rehype-npm-command.ts", "repo_id": "shadcn-ui/ui", "token_count": 981 }
75
"use client" import { Bar, BarChart, Label, Rectangle, ReferenceLine, XAxis } from "recharts" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/default/ui/card" import { ChartContainer, ChartTooltip, ChartTooltipContent, } from "@/registry/default/ui/...
shadcn-ui/ui/apps/www/registry/default/block/charts-01-chunk-0.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/block/charts-01-chunk-0.tsx", "repo_id": "shadcn-ui/ui", "token_count": 2474 }
76
"use client" import { Button } from "@/registry/default/ui/button" import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/registry/default/ui/card" export default function Component() { return ( <Card x-chunk="dashboard-02-chunk-0"> <CardHeader className="p-2 pt-0 md:p-4">...
shadcn-ui/ui/apps/www/registry/default/block/dashboard-02-chunk-0.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/block/dashboard-02-chunk-0.tsx", "repo_id": "shadcn-ui/ui", "token_count": 290 }
77
"use client" import Image from "next/image" import { MoreHorizontal } from "lucide-react" import { Badge } from "@/registry/default/ui/badge" import { Button } from "@/registry/default/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/default/ui/...
shadcn-ui/ui/apps/www/registry/default/block/dashboard-06-chunk-0.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/block/dashboard-06-chunk-0.tsx", "repo_id": "shadcn-ui/ui", "token_count": 6325 }
78
import { Database } from "lucide-react" import { Card, CardContent } from "@/registry/default/ui/card" import { Progress } from "@/registry/default/ui/progress" export function StorageCard() { return ( <Card className="rounded-md text-xs shadow-sm"> <CardContent className="flex items-start gap-2.5 p-2.5">...
shadcn-ui/ui/apps/www/registry/default/block/sidebar-01/components/storage-card.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/block/sidebar-01/components/storage-card.tsx", "repo_id": "shadcn-ui/ui", "token_count": 396 }
79
import { ChevronDown, Slash } from "lucide-react" import { Breadcrumb, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from "@/registry/default/ui/breadcrumb" import { DropdownMenu, DropdownMenuContent, DropdownMenuItem, DropdownMenuTrigger, } from "@/registry...
shadcn-ui/ui/apps/www/registry/default/example/breadcrumb-dropdown.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/breadcrumb-dropdown.tsx", "repo_id": "shadcn-ui/ui", "token_count": 680 }
80
"use client" import Link from "next/link" import { zodResolver } from "@hookform/resolvers/zod" import { useForm } from "react-hook-form" import { z } from "zod" import { toast } from "@/registry/default/hooks/use-toast" import { Button } from "@/registry/default/ui/button" import { Checkbox } from "@/registry/defaul...
shadcn-ui/ui/apps/www/registry/default/example/checkbox-form-single.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/checkbox-form-single.tsx", "repo_id": "shadcn-ui/ui", "token_count": 971 }
81
import { Copy } from "lucide-react" import { Button } from "@/registry/default/ui/button" import { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger, } from "@/registry/default/ui/dialog" import { Input } from "@/registry/default/ui/input" imp...
shadcn-ui/ui/apps/www/registry/default/example/dialog-close-button.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/dialog-close-button.tsx", "repo_id": "shadcn-ui/ui", "token_count": 758 }
82
import React from "react" import { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, } from "@/registry/default/ui/input-otp" export default function InputOTPWithSeparator() { return ( <InputOTP maxLength={6}> <InputOTPGroup> <InputOTPSlot index={0} /> <InputOTPSlot index={...
shadcn-ui/ui/apps/www/registry/default/example/input-otp-separator.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/input-otp-separator.tsx", "repo_id": "shadcn-ui/ui", "token_count": 311 }
83
import { ResizableHandle, ResizablePanel, ResizablePanelGroup, } from "@/registry/default/ui/resizable" export default function ResizableDemo() { return ( <ResizablePanelGroup direction="vertical" className="min-h-[200px] max-w-md rounded-lg border md:min-w-[450px]" > <ResizablePanel ...
shadcn-ui/ui/apps/www/registry/default/example/resizable-vertical.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/resizable-vertical.tsx", "repo_id": "shadcn-ui/ui", "token_count": 318 }
84
import { Button } from "@/registry/default/ui/button" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/default/ui/card" import { Input } from "@/registry/default/ui/input" import { Label } from "@/registry/default/ui/label" import { Tabs, TabsContent, ...
shadcn-ui/ui/apps/www/registry/default/example/tabs-demo.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/tabs-demo.tsx", "repo_id": "shadcn-ui/ui", "token_count": 1114 }
85
export default function TypographyLarge() { return <div className="text-lg font-semibold">Are you absolutely sure?</div> }
shadcn-ui/ui/apps/www/registry/default/example/typography-large.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/example/typography-large.tsx", "repo_id": "shadcn-ui/ui", "token_count": 37 }
86
import * as React from "react" import { Slot } from "@radix-ui/react-slot" import { ChevronRight, MoreHorizontal } from "lucide-react" import { cn } from "@/lib/utils" const Breadcrumb = React.forwardRef< HTMLElement, React.ComponentPropsWithoutRef<"nav"> & { separator?: React.ReactNode } >(({ ...props }, r...
shadcn-ui/ui/apps/www/registry/default/ui/breadcrumb.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/default/ui/breadcrumb.tsx", "repo_id": "shadcn-ui/ui", "token_count": 1083 }
87
"use client" import { Card, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from "@/registry/new-york/ui/card" import { Progress } from "@/registry/new-york/ui/progress" export default function Component() { return ( <Card x-chunk="dashboard-05-chunk-2"> <CardHeader classNam...
shadcn-ui/ui/apps/www/registry/new-york/block/dashboard-05-chunk-2.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/new-york/block/dashboard-05-chunk-2.tsx", "repo_id": "shadcn-ui/ui", "token_count": 310 }
88
import { Button } from "@/registry/new-york/ui/button" export default function ButtonLink() { return <Button variant="link">Link</Button> }
shadcn-ui/ui/apps/www/registry/new-york/example/button-link.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/new-york/example/button-link.tsx", "repo_id": "shadcn-ui/ui", "token_count": 44 }
89
"use client" import { useToast } from "@/registry/new-york/hooks/use-toast" import { Button } from "@/registry/new-york/ui/button" export default function ToastWithTitle() { const { toast } = useToast() return ( <Button variant="outline" onClick={() => { toast({ title: "Uh oh! S...
shadcn-ui/ui/apps/www/registry/new-york/example/toast-with-title.tsx
{ "file_path": "shadcn-ui/ui/apps/www/registry/new-york/example/toast-with-title.tsx", "repo_id": "shadcn-ui/ui", "token_count": 198 }
90
import { Registry } from "@/registry/schema" export const charts: Registry = [ // Area Charts { name: "chart-area-axes", type: "registry:block", registryDependencies: ["card", "chart"], files: ["block/chart-area-axes.tsx"], category: "Charts", subcategory: "Area", }, { name: "chart-...
shadcn-ui/ui/apps/www/registry/registry-charts.ts
{ "file_path": "shadcn-ui/ui/apps/www/registry/registry-charts.ts", "repo_id": "shadcn-ui/ui", "token_count": 6242 }
91
import { Node } from "unist-builder" export interface UnistNode extends Node { type: string name?: string tagName?: string value?: string properties?: { __rawString__?: string __className__?: string __event__?: string [key: string]: unknown } & NpmCommands attributes?: { name: string ...
shadcn-ui/ui/apps/www/types/unist.ts
{ "file_path": "shadcn-ui/ui/apps/www/types/unist.ts", "repo_id": "shadcn-ui/ui", "token_count": 202 }
92
import { logger } from "@/src/utils/logger" export function handleError(error: unknown) { if (typeof error === "string") { logger.error(error) process.exit(1) } if (error instanceof Error) { logger.error(error.message) process.exit(1) } logger.error("Something went wrong. Please try again."...
shadcn-ui/ui/packages/cli/src/utils/handle-error.ts
{ "file_path": "shadcn-ui/ui/packages/cli/src/utils/handle-error.ts", "repo_id": "shadcn-ui/ui", "token_count": 121 }
93
import "./styles.css" export default function RootLayout({ children, }: { children: React.ReactNode }) { return ( <html lang="en"> <body>{children}</body> </html> ) }
shadcn-ui/ui/packages/cli/test/fixtures/next-app-src/src/app/layout.tsx
{ "file_path": "shadcn-ui/ui/packages/cli/test/fixtures/next-app-src/src/app/layout.tsx", "repo_id": "shadcn-ui/ui", "token_count": 76 }
94
body { background-color: red; }
shadcn-ui/ui/packages/cli/test/fixtures/next-pages-src/src/styles/other.css
{ "file_path": "shadcn-ui/ui/packages/cli/test/fixtures/next-pages-src/src/styles/other.css", "repo_id": "shadcn-ui/ui", "token_count": 13 }
95
import path from "path" import { describe, expect, test } from "vitest" import { getProjectType } from "../../src/utils/get-project-info" describe("get project type", async () => { test.each([ { name: "next-app", type: "next-app", }, { name: "next-app-src", type: "next-app-src", ...
shadcn-ui/ui/packages/cli/test/utils/get-project-type.test.ts
{ "file_path": "shadcn-ui/ui/packages/cli/test/utils/get-project-type.test.ts", "repo_id": "shadcn-ui/ui", "token_count": 359 }
96
import { cyan, green, red, yellow } from "kleur/colors" export const highlighter = { error: red, warn: yellow, info: cyan, success: green, }
shadcn-ui/ui/packages/shadcn/src/utils/highlighter.ts
{ "file_path": "shadcn-ui/ui/packages/shadcn/src/utils/highlighter.ts", "repo_id": "shadcn-ui/ui", "token_count": 55 }
97
import { existsSync, promises as fs } from "fs" import path, { basename } from "path" import { Config } from "@/src/utils/get-config" import { getProjectInfo } from "@/src/utils/get-project-info" import { highlighter } from "@/src/utils/highlighter" import { logger } from "@/src/utils/logger" import { getRegistryBase...
shadcn-ui/ui/packages/shadcn/src/utils/updaters/update-files.ts
{ "file_path": "shadcn-ui/ui/packages/shadcn/src/utils/updaters/update-files.ts", "repo_id": "shadcn-ui/ui", "token_count": 1927 }
98
import { PrismaClient } from "@prisma/client"; import { singleton } from "./singleton.server"; // Hard-code a unique key, so we can look up the client when this module gets re-imported const prisma = singleton("prisma", () => new PrismaClient()); prisma.$connect(); export { prisma };
shadcn-ui/ui/packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/db.server.ts
{ "file_path": "shadcn-ui/ui/packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/db.server.ts", "repo_id": "shadcn-ui/ui", "token_count": 85 }
99
// Since the dev server re-requires the bundle, do some shenanigans to make // certain things persist across that // Borrowed/modified from https://github.com/jenseng/abuse-the-platform/blob/2993a7e846c95ace693ce61626fa072174c8d9c7/app/utils/singleton.ts export const singleton = <Value>( name: string, valueFactor...
shadcn-ui/ui/packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/singleton.server.ts
{ "file_path": "shadcn-ui/ui/packages/shadcn/test/fixtures/frameworks/remix-indie-stack/app/singleton.server.ts", "repo_id": "shadcn-ui/ui", "token_count": 182 }
100
import { describe, expect, test } from "vitest" import { transformCssVars } from "../../../src/utils/updaters/update-css-vars" describe("transformCssVars", () => { test("should add light and dark css vars if not present", async () => { expect( await transformCssVars( `@tailwind base; @tailwind com...
shadcn-ui/ui/packages/shadcn/test/utils/updaters/update-css-vars.test.ts
{ "file_path": "shadcn-ui/ui/packages/shadcn/test/utils/updaters/update-css-vars.test.ts", "repo_id": "shadcn-ui/ui", "token_count": 1741 }
101
"use client"; import { Accordion, AccordionContent, AccordionItem, AccordionTrigger, } from "@/components/ui/accordion" export default function FaqPage() { return ( <Accordion type="single" collapsible className="w-full"> <AccordionItem value="item-1"> <AccordionTrigge...
DarkInventor/easy-ui/app/faqs/page.tsx
{ "file_path": "DarkInventor/easy-ui/app/faqs/page.tsx", "repo_id": "DarkInventor/easy-ui", "token_count": 516 }
0
'use client' import Image from 'next/image' import { ImageProps } from 'next/image' interface MDXImageProps extends Omit<ImageProps, 'src' | 'alt'> { src: string alt: string } export default function MDXImage({ src, alt, ...props }: MDXImageProps) { return ( <Image src={src} alt={alt} wid...
DarkInventor/easy-ui/components/MDXImage.tsx
{ "file_path": "DarkInventor/easy-ui/components/MDXImage.tsx", "repo_id": "DarkInventor/easy-ui", "token_count": 159 }
1
import { cn } from "@/lib/utils"; import { ReactNode } from "react"; export default function AnimatedGradientText({ children, className, }: { children: ReactNode; className?: string; }) { return ( <div className={cn( "group relative mx-auto flex max-w-fit flex-row items-center justify-cente...
DarkInventor/easy-ui/components/magicui/animated-gradient-text.tsx
{ "file_path": "DarkInventor/easy-ui/components/magicui/animated-gradient-text.tsx", "repo_id": "DarkInventor/easy-ui", "token_count": 403 }
2
"use client"; import { ChevronRight } from "lucide-react"; import Link from "next/link"; // import posthog from "posthog-js"; export function SiteBanner() { return ( <div className="group relative z-50 top-0 bg-purple-600 py-3 text-white transition-all duration-300 md:py-0"> <div className="container flex...
DarkInventor/easy-ui/components/site-banner.tsx
{ "file_path": "DarkInventor/easy-ui/components/site-banner.tsx", "repo_id": "DarkInventor/easy-ui", "token_count": 451 }
3
interface BackgroundProps { children: React.ReactNode; } export function Background({ children }: BackgroundProps) { return ( <> <div className="absolute left-0 top-0 -z-50 h-full w-full overflow-hidden"> <div className="sticky left-0 top-0 h-full w-full overflow-hidden"> ...
alifarooq9/rapidlaunch/apps/www/src/components/background.tsx
{ "file_path": "alifarooq9/rapidlaunch/apps/www/src/components/background.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 1355 }
4
export const siteConfig = { name: "RapidLaunch", } as const;
alifarooq9/rapidlaunch/apps/www/src/config/site.ts
{ "file_path": "alifarooq9/rapidlaunch/apps/www/src/config/site.ts", "repo_id": "alifarooq9/rapidlaunch", "token_count": 23 }
5
/** Auto-generated **/ declare const map: Record<string, unknown> export { map }
alifarooq9/rapidlaunch/starterkits/saas/.map.ts
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/.map.ts", "repo_id": "alifarooq9/rapidlaunch", "token_count": 24 }
6
import { CancelPauseResumeBtns } from "@/app/(app)/(user)/org/billing/_components/cancel-pause-resume-btns"; import { Badge } from "@/components/ui/badge"; import { Button } from "@/components/ui/button"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/car...
alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/(user)/org/billing/_components/current-plan.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/(user)/org/billing/_components/current-plan.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 2105 }
7
import { AppPageShell } from "@/app/(app)/_components/page-shell"; import { orgMembersInvitePageConfig } from "@/app/(app)/(user)/org/members/invite/_constants/page-config"; import { Card, CardContent, CardDescription, CardHeader, CardTitle, } from "@/components/ui/card"; import { Separator } from "...
alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/(user)/org/members/invite/page.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/(user)/org/members/invite/page.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 1180 }
8
import { MobileSidenav } from "@/app/(app)/_components/mobile-sidenav"; import { Icons } from "@/components/ui/icons"; type AppHeaderProps = { sidebarNavIncludeIds?: string[]; sidebarNavRemoveIds?: string[]; showOrgSwitcher?: boolean; }; export function AppHeader({ sidebarNavIncludeIds, sidebarNav...
alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/_components/app-header.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/_components/app-header.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 325 }
9
import { type ElementType } from "react"; type AppPageShellProps = { children: React.ReactNode; as?: ElementType; title: string; description: string; }; export function AppPageShell({ children, as, title, description, }: AppPageShellProps) { const Container = as ?? "main"; ret...
alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/_components/page-shell.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/_components/page-shell.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 391 }
10
import { AppPageLoading } from "@/app/(app)/_components/page-loading"; import { adminFeedbackPageConfig } from "@/app/(app)/admin/feedbacks/_constants/page-config"; import { Skeleton } from "@/components/ui/skeleton"; export default function AdminFeedbackPageLoading() { return ( <AppPageLoading ...
alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/admin/feedbacks/loading.tsx
{ "file_path": "alifarooq9/rapidlaunch/starterkits/saas/src/app/(app)/admin/feedbacks/loading.tsx", "repo_id": "alifarooq9/rapidlaunch", "token_count": 196 }
11