The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
feat: UX improvements
flooorianflo3193c4f74c49
diff --git a/apps/web/app/app.dub.co/(dashboard)/page.tsx b/apps/web/app/app.dub.co/(dashboard)/page.tsxindex 0256e1f8ef..b7c3bf03e2 100644--- a/apps/web/app/app.dub.co/(dashboard)/page.tsx+++ b/apps/web/app/app.dub.co/(dashboard)/page.tsx@@ -8,7 +8,7 @@ export default function App() {<div className="flex h-36 items-center border-b border-gray-200 bg-white"><MaxWidthWrapper><div className="flex items-center justify-between">- <h1 className="text-2xl text-gray-600">My Workspaces</h1>+ <h1 className="truncate text-2xl text-gray-600">My Workspaces</h1><CreateWorkspaceButton /></div></MaxWidthWrapper>diff --git a/apps/web/ui/modals/add-edit-link-modal/index.tsx b/apps/web/ui/modals/add-edit-link-modal/index.tsxindex 09210f5e53..104844c1dd 100644--- a/apps/web/ui/modals/add-edit-link-modal/index.tsx+++ b/apps/web/ui/modals/add-edit-link-modal/index.tsx@@ -306,9 +306,9 @@ function AddEditLinkModal({className="scrollbar-hide rounded-l-2xl md:max-h-[95vh] md:overflow-auto"onScroll={handleScroll}>- <div className="z-10 flex flex-col items-center justify-center space-y-3 border-b border-gray-200 bg-white px-4 pb-8 pt-8 transition-all md:sticky md:top-0 md:px-16">+ <div className="sticky top-0 z-20 flex h-14 items-center justify-center gap-4 space-y-3 border-b border-gray-200 bg-white px-4 transition-all sm:h-24 md:px-16"><LinkLogo apexDomain={getApexDomain(url)} />- <h3 className="max-w-sm truncate text-lg font-medium">+ <h3 className="!mt-0 max-w-sm truncate text-lg font-medium">{props? `Edit ${linkConstructor({key: props.key,@@ -557,7 +557,7 @@ function AddEditLinkModal({<div className="w-full border-t border-gray-300" /></div><div className="relative flex justify-center">- <span className="bg-gray-50 px-2 text-sm text-gray-500">+ <span className="-translate-y-1 bg-gray-50 px-2 text-sm text-gray-500">Optional</span></div>diff --git a/apps/web/ui/modals/add-edit-link-modal/preview.tsx b/apps/web/ui/modals/add-edit-link-modal/preview.tsxindex ffb82731f2..21f251015c 100644--- a/apps/web/ui/modals/add-edit-link-modal/preview.tsx+++ b/apps/web/ui/modals/add-edit-link-modal/preview.tsx@@ -68,7 +68,7 @@ export default function Preview({return (<div>- <div className="z-10 flex items-center justify-center border-b border-gray-200 bg-white px-5 py-10 sm:sticky sm:top-0">+ <div className="sticky top-0 z-10 flex h-14 items-center justify-center border-b border-gray-200 bg-white px-5 sm:h-24"><h2 className="text-lg font-medium">Social Previews</h2></div><div className="grid gap-5 p-5">diff --git a/apps/web/ui/workspaces/create-workspace-button.tsx b/apps/web/ui/workspaces/create-workspace-button.tsxindex dd48234201..18f8134822 100644--- a/apps/web/ui/workspaces/create-workspace-button.tsx+++ b/apps/web/ui/workspaces/create-workspace-button.tsx@@ -28,6 +28,7 @@ export default function CreateWorkspaceButton() {/>) : undefined}+ className="flex-shrink-0 truncate"onClick={() => setShowAddWorkspaceModal(true)}/></div>