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 sign up page

Steven Teyca15d20f78d1
diff --git a/apps/web/app/app.dub.co/(auth)/register/page.tsx b/apps/web/app/app.dub.co/(auth)/register/page.tsx
index 849df720b7..b63ffb7b59 100644
--- a/apps/web/app/app.dub.co/(auth)/register/page.tsx
+++ b/apps/web/app/app.dub.co/(auth)/register/page.tsx
@@ -24,8 +24,8 @@ const logos = [
export default function RegisterPage() {
return (
- <div className="grid w-full grid-cols-1 md:grid-cols-3">
- <div className="col-span-1 flex items-center justify-center md:col-span-2">
+ <div className="grid w-full grid-cols-1 md:grid-cols-5">
+ <div className="col-span-1 flex items-center justify-center md:col-span-3">
<div className="w-full max-w-md overflow-hidden border-y border-gray-200 sm:rounded-2xl sm:border sm:shadow-xl">
<div className="flex flex-col items-center justify-center space-y-3 border-b border-gray-200 bg-white px-4 py-6 pt-8 text-center sm:px-16">
<a href={HOME_DOMAIN}>
@@ -35,7 +35,22 @@ export default function RegisterPage() {
Create your {process.env.NEXT_PUBLIC_APP_NAME} account
</h3>
<p className="text-sm text-gray-500">
- Get started for free. No credit card required.
+ By signing up, you agree to our <br />
+ <a
+ href="https://dub.co/terms"
+ target="_blank"
+ className="font-medium underline underline-offset-4 hover:text-gray-700"
+ >
+ Terms of Service
+ </a>{" "}
+ and{" "}
+ <a
+ href="https://dub.co/privacy"
+ target="_blank"
+ className="font-medium underline underline-offset-4 hover:text-gray-700"
+ >
+ Privacy Policy
+ </a>
</p>
</div>
<div className="flex flex-col space-y-3 bg-gray-50 px-4 py-8 sm:px-16">
@@ -52,18 +67,18 @@ export default function RegisterPage() {
</div>
</div>
</div>
- <div className="hidden h-full flex-col justify-center space-y-12 overflow-hidden border-l border-gray-200 bg-white/10 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur md:flex">
+ <div className="hidden h-full flex-col justify-center space-y-12 overflow-hidden border-l border-gray-200 bg-white/10 shadow-[inset_10px_-50px_94px_0_rgb(199,199,199,0.2)] backdrop-blur md:col-span-2 md:flex">
<a
href="https://dub.co/features/analytics"
target="_blank"
- className="ml-12 h-1/2 w-[150%] rounded-xl border border-gray-200 bg-white/90 p-4 shadow-xl"
+ className="ml-12 h-1/2 w-[112%] rounded-xl border border-gray-200 p-2 shadow-xl"
>
<BlurImage
alt="Dub.co Analytics"
src="https://assets.dub.co/features/analytics.png"
width={1735}
height={990}
- className="h-full rounded-xl border border-gray-200 object-cover shadow-md"
+ className="h-full rounded-lg border border-gray-200 object-cover"
/>
</a>
<a
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index 1ab22e9ccd..39ef12346e 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -87,7 +87,7 @@ export default function Toggle({
const isPublicStatsPage = basePath.startsWith("/stats");
- const scrolled = useScroll(80);
+ const scrolled = useScroll(120);
const { tags } = useTags();
const { allDomains: domains, primaryDomain } = useDomains();