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.

small final updates

Steven Teya94eb0fa09e8
diff --git a/apps/web/ui/modals/add-workspace-modal.tsx b/apps/web/ui/modals/add-workspace-modal.tsx
index 44ee3f4273..cbf9d277f0 100644
--- a/apps/web/ui/modals/add-workspace-modal.tsx
+++ b/apps/web/ui/modals/add-workspace-modal.tsx
@@ -40,13 +40,16 @@ function AddWorkspaceModalHelper({
<div className="flex flex-col items-center justify-center space-y-3 border-b border-neutral-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<h3 className="text-lg font-medium">Create a workspace</h3>
- <a
- href="https://dub.co/help/article/what-is-a-workspace"
- target="_blank"
- className="-translate-y-2 text-center text-xs text-neutral-500 underline underline-offset-4 hover:text-neutral-800"
- >
- What is a workspace?
- </a>
+ <p className="-translate-y-2 text-balance text-center text-xs text-neutral-500">
+ Set up a common space to manage your links with your team.{" "}
+ <a
+ href="https://dub.co/help/article/what-is-a-workspace"
+ target="_blank"
+ className="cursor-help font-medium underline decoration-dotted underline-offset-2 transition-colors hover:text-neutral-700"
+ >
+ Learn more.
+ </a>
+ </p>
</div>
<CreateWorkspaceForm
@@ -54,12 +57,11 @@ function AddWorkspaceModalHelper({
onSuccess={({ slug }) => {
if (oauthFlow) {
router.refresh();
- setShowAddWorkspaceModal(false);
} else {
router.push(`/${slug}`);
toast.success("Successfully created workspace!");
- setShowAddWorkspaceModal(false);
}
+ setShowAddWorkspaceModal(false);
}}
/>
</Modal>
diff --git a/apps/web/ui/workspaces/create-workspace-form.tsx b/apps/web/ui/workspaces/create-workspace-form.tsx
index c79d54b7dc..a686c333fd 100644
--- a/apps/web/ui/workspaces/create-workspace-form.tsx
+++ b/apps/web/ui/workspaces/create-workspace-form.tsx
@@ -178,7 +178,7 @@ export function CreateWorkspaceForm({
</p>
) : (
<p className="mt-1.5 text-xs text-neutral-500">
- You can always change this later in your workspace settings.
+ You can change this later in your workspace settings.
</p>
)}
</div>