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.

Update application success page

Tim Wilsonb4eecec846f6
diff --git a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
index f99c6ac33b..490855d7d9 100644
--- a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
+++ b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/form.tsx
@@ -70,7 +70,7 @@ export function ProgramApplicationForm({
});
router.push(
- `/apply/${program.slug}/application/success?${searchParams.toString()}`,
+ `/${program.slug}/apply/success?${searchParams.toString()}`,
);
},
onError({ error }) {
diff --git a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/success/page.tsx b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/success/page.tsx
index 4f634a77e8..e12ee41578 100644
--- a/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/success/page.tsx
+++ b/apps/web/app/partners.dub.co/(apply)/[programSlug]/apply/success/page.tsx
@@ -87,7 +87,9 @@ export default async function SuccessPage({
<div className="p-6">
<div className="grid grid-cols-1 gap-5 sm:pt-20">
<h1 className="text-4xl font-semibold">
- Application {hasPartnerProfile ? "submitted" : "saved"}
+ {hasPartnerProfile
+ ? "Application submitted"
+ : "Complete your setup"}
</h1>
<div className="flex flex-col gap-4 text-base text-neutral-700">
{hasPartnerProfile && (
@@ -115,6 +117,11 @@ export default async function SuccessPage({
</div>
</div>
+ {/* Buttons */}
+ <div className="mt-12 flex flex-col gap-3">
+ <CTAButtons />
+ </div>
+
{/* Screenshot */}
<div className="relative mt-12">
<Screenshot
@@ -145,10 +152,6 @@ export default async function SuccessPage({
</div>
))}
</div>
-
- <div className="mt-12 flex flex-col gap-3">
- <CTAButtons />
- </div>
</div>
</div>
);