* Copy the design-system app into a new one for ui-library. * Remove unneeded content. * Add supabase config. * Cleanup the css. * Add bunch of packages. * Cleanup the registry. * Regenerate the registry. * Add needed components for documenting components. * Add the pages for the components. * Fix the RegistryBlock. * Various fixes. * Add a turbo definition for ui-library. * Rename Remix to React Router. * Reorder the pages for all frameworks. * Remove the bottom pager. * Fix the pages and command menu. * Various fixes. * Minor fixes. * Add ai editor rules. * Various fixes. * Add local supabase env vars. * Try to fix a package error. * Bunch of various fixes. * Fix lint errors.
16 lines
654 B
TypeScript
16 lines
654 B
TypeScript
export function TailwindIndicator() {
|
|
if (process.env.NODE_ENV === 'production' || process.env.HIDE_TAILWIND_INDICATOR === '1')
|
|
return null
|
|
|
|
return (
|
|
<div className="fixed bottom-1 left-1 z-50 flex h-6 w-6 items-center justify-center rounded-full bg-zinc-800 p-3 font-mono text-xs text-white">
|
|
<div className="block sm:hidden">xs</div>
|
|
<div className="hidden sm:block md:hidden">sm</div>
|
|
<div className="hidden md:block lg:hidden">md</div>
|
|
<div className="hidden lg:block xl:hidden">lg</div>
|
|
<div className="hidden xl:block 2xl:hidden">xl</div>
|
|
<div className="hidden 2xl:block">2xl</div>
|
|
</div>
|
|
)
|
|
}
|