fix(public): register links are broken
This commit is contained in:
@@ -26,7 +26,6 @@ const isPublicRoute = createRouteMatcher([
|
||||
'/share/overview/:id',
|
||||
'/login(.*)?',
|
||||
'/reset-password(.*)?',
|
||||
'/register(.*)?',
|
||||
'/sso-callback(.*)?',
|
||||
'/onboarding',
|
||||
]);
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user