Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

WIP usage step

Tim Wilson5a7231372fde
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/invite/form.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/invite/form.tsx
index 0a5a69d3a7..ff89d8c337 100644
--- a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/invite/form.tsx
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/invite/form.tsx
@@ -11,11 +11,11 @@ export function Form() {
<div>
<InviteTeammatesForm
onSuccess={() => {
- continueTo("plan");
+ continueTo("usage");
}}
saveOnly
/>
- <LaterButton next="plan" className="mt-4" />
+ <LaterButton next="usage" className="mt-4" />
</div>
);
}
diff --git a/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/usage/page.tsx b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/usage/page.tsx
new file mode 100644
index 0000000000..a1a9e80e9a
--- /dev/null
+++ b/apps/web/app/app.dub.co/(onboarding)/onboarding/(steps)/usage/page.tsx
@@ -0,0 +1,24 @@
+import { StepPage } from "../step-page";
+// import { Form } from "./form";
+
+export default function Usage() {
+ return (
+ <StepPage
+ title="Monthly usage"
+ description="We'll help recommend the best plan"
+ >
+ {/* <Form /> */}
+ <div className="h-48" />
+ <p className="text-center text-sm font-medium text-neutral-500">
+ Need more usage?{" "}
+ <a
+ href="https://dub.co/contact/sales"
+ target="_blank"
+ className="mt-8 text-neutral-800 transition-colors hover:text-neutral-950"
+ >
+ Chat with us about Enterprise ↗
+ </a>
+ </p>
+ </StepPage>
+ );
+}
diff --git a/apps/web/lib/onboarding/types.ts b/apps/web/lib/onboarding/types.ts
index c0efb50831..33dc3a35fa 100644
--- a/apps/web/lib/onboarding/types.ts
+++ b/apps/web/lib/onboarding/types.ts
@@ -1,10 +1,10 @@
export const ONBOARDING_STEPS = [
"workspace",
- "link",
"domain",
"domain/custom",
"domain/register",
"invite",
+ "usage",
"plan",
"completed",
] as const;