diff --git a/.vercelignore b/.vercelignore deleted file mode 100644 index e40a30e..0000000 --- a/.vercelignore +++ /dev/null @@ -1,12 +0,0 @@ -node_modules -.turbo -.next -.vercel -.git -.claude -coverage -out -build -*.tsbuildinfo -.env* -!.env.example diff --git a/README.md b/README.md index 8b7ce10..e6d2b3a 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@
- Documentation · - Components · + Documentation · + Components · Contributing
@@ -51,7 +51,7 @@ pnpm dlx shadcn@latest add @tween-ui/sliding-tabs ``` Full details, including the optional `components.json` mapping and the URL -form, are on [the setup guide](https://tween-ui.vercel.app/installation/setup-guide). +form, are on [the setup guide](https://tween-ui.staticmania.com/installation/setup-guide). That writes `components/tweenui/sliding-tabs.tsx` into your project. Use it like any local component: @@ -86,7 +86,7 @@ sliders, process steps, CTAs, carousels and galleries, card grids, team collages, logo walls and an integration diagram. Blocks are page-level sections; some are built from the components above. -Browse them all at **[tween-ui.vercel.app/components](https://tween-ui.vercel.app/components)**. +Browse them all at **[tween-ui.staticmania.com/components](https://tween-ui.staticmania.com/components)**. ## Requirements diff --git a/SECURITY.md b/SECURITY.md index a0d520b..873d63f 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -3,12 +3,12 @@ ## What is in scope Tween UI does not publish an npm package. It ships a documentation site and a -[shadcn-compatible registry](https://tween-ui.vercel.app/r/registry.json) that the CLI +[shadcn-compatible registry](https://tween-ui.staticmania.com/r/registry.json) that the CLI reads to copy component source into a consumer's project. | Surface | Supported | | ------------------------------------------------------- | -------------- | -| The deployed site and registry at `tween-ui.vercel.app` | Yes | +| The deployed site and registry at `tween-ui.staticmania.com` | Yes | | Component sources in `apps/docs/registry` on `main` | Yes | | Source already copied into your own project | Yours to patch | diff --git a/SUPPORT.md b/SUPPORT.md index efadeab..bcebdd3 100644 --- a/SUPPORT.md +++ b/SUPPORT.md @@ -3,7 +3,7 @@ ## Questions and help - Read the [README](README.md) and the component documentation at - [tween-ui.vercel.app](https://tween-ui.vercel.app). + [tween-ui.staticmania.com](https://tween-ui.staticmania.com). - Search [existing issues](https://github.com/StaticMania/tween-ui/issues) in case the question is already answered. - Open a [GitHub issue](https://github.com/StaticMania/tween-ui/issues/new) for bugs, diff --git a/apps/docs/app/layout.tsx b/apps/docs/app/layout.tsx index 62fca52..f0b35af 100644 --- a/apps/docs/app/layout.tsx +++ b/apps/docs/app/layout.tsx @@ -1,6 +1,5 @@ import type { Metadata, Viewport } from 'next'; import Script from 'next/script'; -import { Analytics } from '@vercel/analytics/next'; import { DocsRoot, isAssistantEnabled } from 'docora'; import docsConfig from '../docs.config'; import { rootMetadata, rootViewport } from '../lib/metadata'; @@ -13,10 +12,6 @@ export const metadata: Metadata = rootMetadata(); export const viewport: Viewport = rootViewport; -// Vercel sets VERCEL=1 at build time. Its analytics script only exists on -// Vercel, so a Cloudflare build would request it and get a 404. -const isVercel = Boolean(process.env.VERCEL); - // Cloudflare Web Analytics site token, from Web Analytics → the site → snippet. // It is public (it ships in the page), so it is read as a build variable. const cloudflareAnalyticsToken = process.env.NEXT_PUBLIC_CF_WEB_ANALYTICS_TOKEN; @@ -29,7 +24,6 @@ const RootLayout = async ({ children }: Readonly<{ children: React.ReactNode }>) assistantEnabled={isAssistantEnabled(docsConfig.assistant)} > {children} - {isVercel &&