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.

smaller changes

Steven Tey036cb944876e
diff --git a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx
index 1e056895f4..d8ad38455d 100644
--- a/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/[slug]/settings/page-client.tsx
@@ -66,7 +66,7 @@ export default function WorkspaceSettingsClient() {
pattern: "^[a-z0-9-]+$",
maxLength: 48,
}}
- helpText="Only lowercase letters, numbers, and dashes. Max 48 characters"
+ helpText="Only lowercase letters, numbers, and dashes. Max 48 characters."
disabledTooltip={permissionsError || undefined}
handleSubmit={(data) =>
fetch(`/api/workspaces/${id}`, {
@@ -91,8 +91,8 @@ export default function WorkspaceSettingsClient() {
})
}
/>
- <WorkspaceId />
<UploadLogo />
+ <WorkspaceId />
<DeleteWorkspace />
</>
);
diff --git a/apps/web/ui/workspaces/upload-logo.tsx b/apps/web/ui/workspaces/upload-logo.tsx
index 3af9901141..3946488d6d 100644
--- a/apps/web/ui/workspaces/upload-logo.tsx
+++ b/apps/web/ui/workspaces/upload-logo.tsx
@@ -47,7 +47,7 @@ export default function UploadLogo() {
<div className="flex flex-col space-y-3 p-5 sm:p-10">
<h2 className="text-xl font-medium">Workspace Logo</h2>
<p className="text-sm text-gray-500">
- This is your workspace's logo on {process.env.NEXT_PUBLIC_APP_NAME}
+ This is your workspace's logo on {process.env.NEXT_PUBLIC_APP_NAME}.
</p>
<div className="mt-1">
<FileUpload
diff --git a/apps/web/ui/workspaces/workspace-id.tsx b/apps/web/ui/workspaces/workspace-id.tsx
index de0124084f..d2a29f9727 100644
--- a/apps/web/ui/workspaces/workspace-id.tsx
+++ b/apps/web/ui/workspaces/workspace-id.tsx
@@ -26,13 +26,17 @@ export default function WorkspaceId() {
)}
</div>
<div className="flex items-center justify-between rounded-b-lg border-t border-gray-200 bg-gray-50 px-3 py-5 sm:px-10">
- <a
- href="https://dub.co/help/article/how-to-get-workspace-id"
- target="_blank"
- className="text-sm text-gray-400 underline underline-offset-4 transition-colors hover:text-gray-700"
- >
- Learn more about Workspace ID
- </a>
+ <p className="text-sm text-gray-500">
+ Used to identify your workspace when interacting with the{" "}
+ <a
+ href="https://dub.co/api"
+ target="_blank"
+ className="underline underline-offset-2 transition-colors hover:text-gray-700"
+ >
+ Dub API
+ </a>
+ .
+ </p>
</div>
</div>
</>