From 1779105ea1424472cf147f8bcd8ef7b730bc0187 Mon Sep 17 00:00:00 2001
From: moshiur01
Date: Thu, 19 Nov 2026 10:40:38 +0600
Subject: [PATCH] chore(docs): move the site to tween-ui.staticmania.com
Point the site config, registry URL, install snippets and component
links at the new domain, and rebuild the registry files.
Co-authored-by: Claude Opus 5.5
---
.vercelignore | 12 ------
README.md | 8 ++--
SECURITY.md | 4 +-
SUPPORT.md | 2 +-
apps/docs/app/layout.tsx | 6 ---
apps/docs/components.json | 2 +-
apps/docs/config/site.ts | 4 +-
.../content/0.installation/1.setup-guide.mdx | 4 +-
apps/docs/content/0.installation/2.mcp.mdx | 2 +-
apps/docs/docs.config.ts | 2 +-
apps/docs/package.json | 1 -
apps/docs/public/r/arc-carousel-demo.json | 2 +-
apps/docs/public/r/arc-carousel.json | 2 +-
.../docs/public/r/arrow-tile-button-demo.json | 2 +-
apps/docs/public/r/arrow-tile-button.json | 2 +-
apps/docs/public/r/auth-modal-demo.json | 2 +-
apps/docs/public/r/auth-modal.json | 2 +-
apps/docs/public/r/avatar-reveal-demo.json | 2 +-
apps/docs/public/r/avatar-reveal.json | 2 +-
.../docs/public/r/blog-hover-expand-demo.json | 2 +-
apps/docs/public/r/blog-hover-expand.json | 2 +-
.../docs/public/r/card-hover-expand-demo.json | 2 +-
apps/docs/public/r/card-hover-expand.json | 2 +-
.../public/r/card-spotlight-grid-demo.json | 2 +-
apps/docs/public/r/card-spotlight-grid.json | 2 +-
apps/docs/public/r/column-drift-demo.json | 2 +-
apps/docs/public/r/column-drift.json | 2 +-
.../docs/public/r/cta-contact-morph-demo.json | 2 +-
apps/docs/public/r/cta-contact-morph.json | 2 +-
apps/docs/public/r/cta-image-fan-demo.json | 2 +-
apps/docs/public/r/cta-image-fan.json | 6 +--
.../public/r/cta-photo-headline-demo.json | 2 +-
apps/docs/public/r/cta-photo-headline.json | 4 +-
apps/docs/public/r/cta-starfall-demo.json | 2 +-
apps/docs/public/r/cta-starfall.json | 4 +-
apps/docs/public/r/cube-roll-item-demo.json | 2 +-
apps/docs/public/r/cube-roll-item.json | 2 +-
apps/docs/public/r/dot-bloom-button-demo.json | 2 +-
apps/docs/public/r/dot-bloom-button.json | 2 +-
apps/docs/public/r/elastic-slider-demo.json | 2 +-
apps/docs/public/r/elastic-slider.json | 2 +-
apps/docs/public/r/faq-accordion-demo.json | 2 +-
apps/docs/public/r/faq-accordion.json | 2 +-
apps/docs/public/r/flip-card-demo.json | 2 +-
apps/docs/public/r/flip-card.json | 2 +-
.../public/r/focus-frame-button-demo.json | 2 +-
apps/docs/public/r/focus-frame-button.json | 2 +-
.../public/r/footer-pulse-links-demo.json | 2 +-
apps/docs/public/r/footer-pulse-links.json | 2 +-
.../public/r/footer-wordmark-rise-demo.json | 2 +-
apps/docs/public/r/footer-wordmark-rise.json | 2 +-
apps/docs/public/r/glow-button-demo.json | 2 +-
apps/docs/public/r/glow-button.json | 2 +-
apps/docs/public/r/grid-cascade-demo.json | 2 +-
apps/docs/public/r/grid-cascade.json | 2 +-
apps/docs/public/r/gyro-gallery-demo.json | 2 +-
apps/docs/public/r/gyro-gallery.json | 4 +-
.../docs/public/r/icon-trail-button-demo.json | 2 +-
apps/docs/public/r/icon-trail-button.json | 2 +-
apps/docs/public/r/image-fan-slider-demo.json | 2 +-
apps/docs/public/r/image-fan-slider.json | 2 +-
.../r/infinite-rotating-cards-demo.json | 2 +-
.../public/r/infinite-rotating-cards.json | 2 +-
.../docs/public/r/ink-stroke-button-demo.json | 2 +-
apps/docs/public/r/ink-stroke-button.json | 2 +-
apps/docs/public/r/integration-hub-demo.json | 2 +-
apps/docs/public/r/integration-hub.json | 2 +-
.../docs/public/r/kinetic-type-ring-demo.json | 2 +-
apps/docs/public/r/kinetic-type-ring.json | 2 +-
apps/docs/public/r/loader-iris-ring-demo.json | 2 +-
apps/docs/public/r/loader-iris-ring.json | 2 +-
apps/docs/public/r/loader-line-fold-demo.json | 2 +-
apps/docs/public/r/loader-line-fold.json | 2 +-
apps/docs/public/r/logo-cycle-demo.json | 2 +-
apps/docs/public/r/logo-cycle.json | 2 +-
apps/docs/public/r/logo-orbit-demo.json | 2 +-
apps/docs/public/r/logo-orbit.json | 2 +-
.../docs/public/r/logo-wall-shuffle-demo.json | 2 +-
apps/docs/public/r/logo-wall-shuffle.json | 2 +-
apps/docs/public/r/logo-wave-demo.json | 2 +-
apps/docs/public/r/logo-wave.json | 2 +-
apps/docs/public/r/magnetic-button-demo.json | 2 +-
apps/docs/public/r/magnetic-button.json | 2 +-
apps/docs/public/r/morphing-search-demo.json | 2 +-
apps/docs/public/r/morphing-search.json | 2 +-
apps/docs/public/r/morphing-text-demo.json | 2 +-
apps/docs/public/r/morphing-text.json | 2 +-
.../public/r/navbar-corner-panel-demo.json | 2 +-
apps/docs/public/r/navbar-corner-panel.json | 2 +-
.../public/r/navbar-gooey-bloom-demo.json | 2 +-
apps/docs/public/r/navbar-gooey-bloom.json | 4 +-
.../docs/public/r/navbar-pill-glide-demo.json | 2 +-
apps/docs/public/r/navbar-pill-glide.json | 4 +-
apps/docs/public/r/navbar-push-menu-demo.json | 2 +-
apps/docs/public/r/navbar-push-menu.json | 4 +-
apps/docs/public/r/number-counter-demo.json | 2 +-
apps/docs/public/r/number-counter.json | 2 +-
apps/docs/public/r/package-command-demo.json | 2 +-
apps/docs/public/r/package-command.json | 2 +-
.../docs/public/r/pixel-fill-button-demo.json | 2 +-
apps/docs/public/r/pixel-fill-button.json | 2 +-
.../public/r/pricing-plan-switch-demo.json | 2 +-
apps/docs/public/r/pricing-plan-switch.json | 2 +-
.../public/r/pricing-usage-slider-demo.json | 2 +-
apps/docs/public/r/pricing-usage-slider.json | 4 +-
.../public/r/process-card-reveal-demo.json | 2 +-
apps/docs/public/r/process-card-reveal.json | 2 +-
.../public/r/process-sticky-steps-demo.json | 2 +-
apps/docs/public/r/process-sticky-steps.json | 2 +-
.../public/r/project-hover-reveal-demo.json | 2 +-
apps/docs/public/r/project-hover-reveal.json | 2 +-
apps/docs/public/r/rating-carousel-demo.json | 2 +-
apps/docs/public/r/rating-carousel.json | 2 +-
apps/docs/public/r/registry.json | 2 +-
apps/docs/public/r/shiny-button-demo.json | 2 +-
apps/docs/public/r/shiny-button.json | 2 +-
apps/docs/public/r/shutter-slider-demo.json | 2 +-
apps/docs/public/r/shutter-slider.json | 2 +-
.../public/r/slant-morph-button-demo.json | 2 +-
apps/docs/public/r/slant-morph-button.json | 2 +-
.../public/r/slide-arrow-button-demo.json | 2 +-
apps/docs/public/r/slide-arrow-button.json | 2 +-
apps/docs/public/r/sliding-tabs-demo.json | 2 +-
apps/docs/public/r/sliding-tabs.json | 2 +-
apps/docs/public/r/spring-tooltip-demo.json | 2 +-
apps/docs/public/r/spring-tooltip.json | 2 +-
apps/docs/public/r/strip-wipe-demo.json | 2 +-
apps/docs/public/r/strip-wipe.json | 2 +-
apps/docs/public/r/svg-draw-demo.json | 2 +-
apps/docs/public/r/svg-draw.json | 2 +-
apps/docs/public/r/tab-wipe-demo.json | 2 +-
apps/docs/public/r/tab-wipe.json | 2 +-
.../public/r/team-scatter-focus-demo.json | 2 +-
apps/docs/public/r/team-scatter-focus.json | 2 +-
.../public/r/testimonial-line-sweep-demo.json | 2 +-
.../docs/public/r/testimonial-line-sweep.json | 2 +-
.../public/r/testimonial-reel-focus-demo.json | 2 +-
.../docs/public/r/testimonial-reel-focus.json | 2 +-
apps/docs/public/r/testimonial-ring-demo.json | 2 +-
apps/docs/public/r/testimonial-ring.json | 2 +-
apps/docs/public/r/text-roll-button-demo.json | 2 +-
apps/docs/public/r/text-roll-button.json | 2 +-
.../public/r/theme-toggle-reveal-demo.json | 2 +-
apps/docs/public/r/theme-toggle-reveal.json | 2 +-
.../public/r/voice-sample-player-demo.json | 2 +-
apps/docs/public/r/voice-sample-player.json | 2 +-
apps/docs/public/r/wordmark-reveal-demo.json | 2 +-
apps/docs/public/r/wordmark-reveal.json | 2 +-
apps/docs/registry/__sources__.generated.ts | 12 +++---
apps/docs/registry/tweenui/gyro-gallery.tsx | 2 +-
.../registry/tweenui/navbar-pill-glide.tsx | 2 +-
.../registry/tweenui/navbar-push-menu.tsx | 2 +-
apps/docs/tests/gyro-gallery.test.tsx | 2 +-
apps/docs/tests/landing.test.tsx | 2 +-
apps/docs/tests/metadata.test.ts | 12 ++++--
apps/docs/vercel.json | 11 ------
docs/registry-directory.md | 14 +++----
pnpm-lock.yaml | 37 -------------------
158 files changed, 186 insertions(+), 249 deletions(-)
delete mode 100644 .vercelignore
delete mode 100644 apps/docs/vercel.json
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 && }
{cloudflareAnalyticsToken && (