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.

add CTA

Steven Tey3627d43cd190
diff --git a/app/dub.co/(blog-post)/blog/[slug]/page.tsx b/app/dub.co/(blog-post)/blog/[slug]/page.tsx
index 4139f5c7ff..54dfc311b3 100644
--- a/app/dub.co/(blog-post)/blog/[slug]/page.tsx
+++ b/app/dub.co/(blog-post)/blog/[slug]/page.tsx
@@ -11,6 +11,7 @@ import BlurImage from "#/ui/blur-image";
import { BLOG_CATEGORIES } from "#/lib/constants/content";
import { getAndCacheTweet } from "#/lib/twitter";
import getRepos from "#/lib/github";
+import CTA from "#/ui/home/cta";
export async function generateStaticParams() {
return allBlogPosts.map((post) => ({
@@ -100,9 +101,9 @@ export default async function BlogArticle({
</MaxWidthWrapper>
<div className="relative">
- <div className="absolute top-52 h-full w-full border border-gray-200 bg-white/50 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur-lg" />
- <MaxWidthWrapper className="grid grid-cols-4 gap-10 px-0 py-10">
- <div className="relative col-span-4 mb-10 flex flex-col space-y-8 bg-white sm:rounded-xl sm:border sm:border-gray-200 md:col-span-3">
+ <div className="absolute top-52 h-[calc(100%-13rem)] w-full border border-gray-200 bg-white/50 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur-lg" />
+ <MaxWidthWrapper className="grid grid-cols-4 gap-5 px-0 pt-10 lg:gap-10">
+ <div className="relative col-span-4 flex flex-col space-y-8 bg-white sm:rounded-t-xl sm:border sm:border-gray-200 md:col-span-3">
<BlurImage
className="aspect-[1200/630] rounded-t-xl object-cover"
src={data.image}
@@ -153,6 +154,7 @@ export default async function BlogArticle({
</div>
</MaxWidthWrapper>
</div>
+ <CTA />
</>
);
}
diff --git a/app/dub.co/customers/[slug]/page.tsx b/app/dub.co/customers/[slug]/page.tsx
index 6352f35a28..6bfcb620a8 100644
--- a/app/dub.co/customers/[slug]/page.tsx
+++ b/app/dub.co/customers/[slug]/page.tsx
@@ -9,6 +9,7 @@ import BlurImage from "#/ui/blur-image";
import { getAndCacheTweet } from "#/lib/twitter";
import getRepos from "#/lib/github";
import Link from "next/link";
+import CTA from "#/ui/home/cta";
export async function generateStaticParams() {
return allBlogPosts.map((post) => ({
@@ -79,9 +80,9 @@ export default async function CustomerStory({
</MaxWidthWrapper>
<div className="relative">
- <div className="absolute top-52 h-full w-full border border-gray-200 bg-white/50 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur-lg" />
- <MaxWidthWrapper className="grid grid-cols-4 gap-5 px-0 py-10 lg:gap-10">
- <div className="relative col-span-4 mb-10 flex flex-col space-y-8 bg-white sm:rounded-xl sm:border sm:border-gray-200 md:col-span-3">
+ <div className="absolute top-52 h-[calc(100%-13rem)] w-full border border-gray-200 bg-white/50 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur-lg" />
+ <MaxWidthWrapper className="grid grid-cols-4 gap-5 px-0 pt-10 lg:gap-10">
+ <div className="relative col-span-4 flex flex-col space-y-8 bg-white sm:rounded-t-xl sm:border sm:border-gray-200 md:col-span-3">
<BlurImage
className="aspect-[1200/630] rounded-t-xl object-cover"
src={data.image}
@@ -162,6 +163,7 @@ export default async function CustomerStory({
</div>
</MaxWidthWrapper>
</div>
+ <CTA />
</>
);
}
diff --git a/content/customers/prisma.mdx b/content/customers/prisma.mdx
index 1196674ce3..8ff4719e9b 100644
--- a/content/customers/prisma.mdx
+++ b/content/customers/prisma.mdx
@@ -23,7 +23,7 @@ In fact, Dub itself uses the Prisma ORM under the hood to handle database querie
With [Prisma Accelerate](https://www.prisma.io/data-platform/accelerate) and [Prisma Pulse](https://www.prisma.io/data-platform/pulse), Prisma is also providing new tools to build modern applications with great developer experience.
-## The challenge: managing and tracking 250+ short links
+## The challenge: Managing and tracking 250+ short links
Earlier this month, [Petra](https://twitter.com/petradonka) from the Prisma team reached out with one simple request – they wanted to migrate their existing `pris.ly` short links to Dub.
@@ -51,7 +51,7 @@ In the past, Prisma used a [custom-built solution](https://github.com/prisma/pri
text="We wanted something that not only enables everyone at Prisma to create short links easily, but also provides more analytics for those links."
/>
-## The solution: an easy to use link management tool with built-in analytics
+## The solution: An easy-to-use link management tool with built-in analytics
Dub was the perfect solution for Prisma's use case – given its ease of use and powerful analytics.
@@ -85,8 +85,4 @@ Since migrating to Dub, Prisma has been able to quickly create new links and tra
As an Enterprise customer on Dub, Prisma has also been leveraging Dub's [SAML/SSO feature](/help/category/saml-sso) to manage access to their links. This has been especially useful for Prisma, as they have been able to easily manage access to links for their entire team.
-## Wrapping up
-
-If you enjoyed the read of this customer story, please [do share it](https://twitter.com/prisma/status/1702714036398297321)!
-
-Dub is an open-source link management tool for modern marketing teams to create, share, and track short links. Start for free [here](https://app.dub.co/register).
+<Tweet id="1702714036398297321" />