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 create labels/headings

Tim Wilsona78207f890de
diff --git a/apps/web/ui/modals/add-edit-tag-modal.tsx b/apps/web/ui/modals/add-edit-tag-modal.tsx
index a1c117ce9d..099d5f3704 100644
--- a/apps/web/ui/modals/add-edit-tag-modal.tsx
+++ b/apps/web/ui/modals/add-edit-tag-modal.tsx
@@ -83,7 +83,9 @@ function AddEditTagModal({
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 px-4 py-4 pt-8 sm:px-16">
<Logo />
<div className="flex flex-col space-y-1 text-center">
- <h3 className="text-lg font-medium">{props ? "Edit" : "Add"} tag</h3>
+ <h3 className="text-lg font-medium">
+ {props ? "Edit" : "Create"} tag
+ </h3>
<p className="text-sm text-gray-500">
Use tags to organize your links.{" "}
<a
@@ -221,7 +223,7 @@ function AddTagButton({
<div>
<Button
variant="primary"
- text="Add Tag"
+ text="Create tag"
className="h-9 rounded-lg"
disabledTooltip={
exceededTags ? (
diff --git a/apps/web/ui/modals/add-edit-utm-template.modal.tsx b/apps/web/ui/modals/add-edit-utm-template.modal.tsx
index 8660b3fc45..2523eec883 100644
--- a/apps/web/ui/modals/add-edit-utm-template.modal.tsx
+++ b/apps/web/ui/modals/add-edit-utm-template.modal.tsx
@@ -109,7 +109,7 @@ function AddEditUtmTemplateModal({
>
<div className="flex items-center gap-2">
<h3 className="text-lg font-medium">
- {props ? "Edit UTM Template" : "Add UTM Template"}
+ {props ? "Edit UTM Template" : "Create UTM Template"}
</h3>
</div>
<div className="mt-6">
@@ -147,7 +147,7 @@ function AddEditUtmTemplateModal({
// Check all dirty fields because `isDirty` doesn't seem to register for `ref`
disabled={!Object.entries(dirtyFields).some(([_, dirty]) => dirty)}
loading={isSubmitting || isSubmitSuccessful}
- text={props ? "Save changes" : "Create Template"}
+ text={props ? "Save changes" : "Create template"}
className="h-9 w-fit"
/>
</div>
@@ -165,7 +165,7 @@ function AddUtmTemplateButton({
<div>
<Button
variant="primary"
- text="Add Template"
+ text="Create template"
className="h-9 rounded-lg"
onClick={() => setShowAddEditUtmTemplateModal(true)}
/>