Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions public/_redirects
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Cloudflare Pages Redirects & Rewrites
# Dedicated Poly Subdomain Redirects (Decoupled Platform Lineage)
/poly https://poly.ritualdev.in/ 301
/poly/* https://poly.ritualdev.in/:splat 301

# Dedicated Mobile Applications Subdomain (Decoupled Consumer Lineage)
https://mobile.ritualdev.in/ /apps/ 200
https://mobile.ritualdev.in/* /apps/:splat 200
Expand Down
34 changes: 34 additions & 0 deletions src/app/poly/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
'use client';

import { useEffect } from 'react';

export default function PolyRedirectPage() {
useEffect(() => {
window.location.replace('https://poly.ritualdev.in');
}, []);

return (
<>
<head>
<meta httpEquiv="refresh" content="0; url=https://poly.ritualdev.in" />
<link rel="canonical" href="https://poly.ritualdev.in" />
<title>Redirecting to Poly...</title>
</head>
<div className="min-h-screen bg-[#0B0F17] text-slate-100 flex flex-col items-center justify-center p-6 text-center">
<div className="w-16 h-16 rounded-2xl bg-sky-500/10 border border-sky-500/20 flex items-center justify-center text-3xl mb-4 animate-pulse">
⚡
</div>
<h1 className="text-2xl font-bold mb-2">Redirecting to Poly Web Platform...</h1>
<p className="text-slate-400 mb-6">
The Universal Polyglot CLI Package & Dependency Orchestrator has moved to its dedicated subdomain.
</p>
<a
href="https://poly.ritualdev.in"
className="px-6 py-2.5 rounded-xl bg-sky-500 hover:bg-sky-400 text-slate-950 font-semibold transition-colors duration-200"
>
Open poly.ritualdev.in &rarr;
</a>
</div>
</>
);
}