OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
fix(public): register links are broken
Carl-Gerhard Lindesvärd14ed77bd7807
diff --git a/apps/dashboard/src/middleware.ts b/apps/dashboard/src/middleware.tsindex fc7c9acbc..29e289229 100644--- a/apps/dashboard/src/middleware.ts+++ b/apps/dashboard/src/middleware.ts@@ -26,7 +26,6 @@ const isPublicRoute = createRouteMatcher(['/share/overview/:id','/login(.*)?','/reset-password(.*)?',- '/register(.*)?','/sso-callback(.*)?','/onboarding',]);diff --git a/apps/public/app/(content)/articles/[articleSlug]/page.tsx b/apps/public/app/(content)/articles/[articleSlug]/page.tsxindex 360fca7ca..84df7d066 100644--- a/apps/public/app/(content)/articles/[articleSlug]/page.tsx+++ b/apps/public/app/(content)/articles/[articleSlug]/page.tsx@@ -164,7 +164,7 @@ export default async function Page({description="Give it a spin for free. No credit card required."/><Button size="lg" variant="secondary" asChild>- <Link href="https://dashboard.openpanel.dev/register">+ <Link href="https://dashboard.openpanel.dev/onboarding">Get started today!</Link></Button>diff --git a/apps/public/components/footer.tsx b/apps/public/components/footer.tsxindex fdf629ea5..48acf59c8 100644--- a/apps/public/components/footer.tsx+++ b/apps/public/components/footer.tsx@@ -20,7 +20,7 @@ export function Footer() {description="Simplify your web & product analytics with our user-friendly platform. Collect, analyze, and optimize your data in minutes, for free."/><Button size="lg" variant="secondary" asChild>- <Link href="https://dashboard.openpanel.dev/register">+ <Link href="https://dashboard.openpanel.dev/onboarding">Get started today!</Link></Button>diff --git a/apps/public/components/hero.tsx b/apps/public/components/hero.tsxindex 9cab7c890..630418c97 100644--- a/apps/public/components/hero.tsx+++ b/apps/public/components/hero.tsx@@ -31,7 +31,7 @@ export function Hero() {{/* CTA */}<div className="col md:row gap-4 center-center my-12"><Button size="lg" asChild>- <Link href="https://dashboard.openpanel.dev/register">+ <Link href="https://dashboard.openpanel.dev/onboarding">Try it for free</Link></Button>diff --git a/apps/public/components/sections/pricing.tsx b/apps/public/components/sections/pricing.tsxindex 01db1edf8..9c6f7d91d 100644--- a/apps/public/components/sections/pricing.tsx+++ b/apps/public/components/sections/pricing.tsx@@ -53,7 +53,7 @@ export function Pricing() {</ul><Button variant="secondary" className="self-start mt-4" asChild>- <Link href="https://dashboard.openpanel.dev/register">+ <Link href="https://dashboard.openpanel.dev/onboarding">Start for free</Link></Button>diff --git a/apps/public/components/sections/stats.tsx b/apps/public/components/sections/stats.tsxindex 7637f1980..7615bd423 100644--- a/apps/public/components/sections/stats.tsx+++ b/apps/public/components/sections/stats.tsx@@ -90,7 +90,7 @@ export function StatsPure({<div className="center-center col gap-4 absolute bottom-20 left-0 right-0 z-10"><p>Get the analytics you deserve</p><Button asChild>- <Link href="https://dashboard.openpanel.dev/register">+ <Link href="https://dashboard.openpanel.dev/onboarding">Try it for free</Link></Button>