The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
made some good progress on Features section
Steven Tey6ffd8c081d94
diff --git a/pages/index.tsx b/pages/index.tsxindex f5160e3d6b..e70c7b410b 100644--- a/pages/index.tsx+++ b/pages/index.tsx@@ -20,6 +20,7 @@ import Globe from "@/components/home/globe";import Tooltip, { TooltipContent } from "@/components/shared/tooltip";import { Toaster } from "react-hot-toast";import CountingNumbers from "@/components/shared/counting-numbers";+import Image from "next/future/image";export default function Home() {const router = useRouter();@@ -51,7 +52,7 @@ export default function Home() {<Hero /><Demo /><Globe />- {/* <Features /> */}+ <Features /><Pricing /><Footer /></HomeLayout>@@ -219,7 +220,7 @@ const Features = () => {return (<div className="bg-white"><MaxWidthWrapper className="py-20">- <div className="max-w-sm sm:max-w-md mx-auto mb-20 text-center">+ <div className="max-w-sm sm:max-w-md mx-auto text-center"><h2 className="text-4xl sm:text-5xl leading-tight sm:leading-tight font-display font-extrabold text-black">Fast.{" "}<span className="text-transparent bg-clip-text bg-gradient-to-r from-purple-600 to-pink-600">@@ -232,8 +233,10 @@ const Features = () => {with built-in analytics, and the freedom to host it yourself.</p></div>- <div className="grid grid-cols-1 sm:grid-cols-2 gap-10">- <div className="flex flex-col space-y-5">++ {/* Analytics */}+ <div className="flex lg:space-x-10 flex-col-reverse lg:flex-row items-center my-20">+ <div className="flex flex-col space-y-5 my-10 lg:my-0"><div className="flex items-center justify-center w-20 h-20 rounded-full bg-gradient-to-r from-purple-600 to-pink-600"><Chart className="w-7 h-7 text-white" /></div>@@ -251,14 +254,80 @@ const Features = () => {shallowscroll={false}>- <a className="rounded-full px-4 py-1.5 bg-black text-white hover:bg-white hover:text-black text-sm border border-black block max-w-fit">+ <a className="rounded-full px-4 py-1.5 bg-black text-white hover:bg-white hover:text-black text-sm border border-black block max-w-fit transition-all">View demo</a></Link></div>- <div className="rounded-2xl h-96 w-full bg-gradient-to-r from-purple-600 to-pink-600">- Chart+ <Image+ src="/static/landing/analytics.png"+ alt="Built-in analytics"+ width={1120}+ height={919}+ className="w-full max-w-[700px]"+ />+ </div>++ {/* Custom Domains */}+ <div className="flex lg:space-x-16 flex-col lg:flex-row items-center my-20">+ <Image+ src="/static/landing/domains.png"+ alt="Custom domains"+ width={1084}+ height={646}+ className="w-full max-w-[600px] rounded-2xl border border-gray-200"+ />+ <div className="flex flex-col space-y-5 my-10 lg:my-0">+ <div className="flex items-center justify-center w-20 h-20 rounded-full bg-gradient-to-r from-purple-600 to-pink-600">+ <Chart className="w-7 h-7 text-white" />+ </div>+ <h3 className="text-3xl font-bold font-display text-black mt-5">+ Free custom domains+ </h3>++ <p className="text-gray-500 mt-3">+ At Dub, we believe that you should be able to use your own domain+ when building your brand. That's why we offer free custom domains+ on all plans.+ </p>+ <Link href="https://app.dub.sh">+ <a className="rounded-full px-4 py-1.5 bg-black text-white hover:bg-white hover:text-black text-sm border border-black block max-w-fit transition-all">+ Create your project+ </a>+ </Link>+ </div>+ </div>++ {/* Open source */}+ <div className="flex lg:space-x-10 flex-col-reverse lg:flex-row items-center my-20">+ <div className="flex flex-col space-y-5 my-10 lg:my-0 max-w-md">+ <div className="flex items-center justify-center w-20 h-20 rounded-full bg-gradient-to-r from-purple-600 to-pink-600">+ <Chart className="w-7 h-7 text-white" />+ </div>+ <h3 className="text-3xl font-bold font-display text-black mt-5">+ Proudly open source+ </h3>++ <p className="text-gray-500 mt-3">+ Our source code is available on GitHub – feel free to read,+ review, or contribute to it however you want!+ </p>+ <a+ href="https://dub.sh/github"+ target="_blank"+ rel="noreferrer"+ className="rounded-full px-4 py-1.5 bg-black text-white hover:bg-white hover:text-black text-sm border border-black block max-w-fit transition-all"+ >+ Star on GitHub+ </a>+ </div>++ <div className="flex items-center justify-center rounded-2xl w-full max-w-[700px] bg-gray-900 h-96">+ <div className="flex items-center space-x-2 p-4 h-10 rounded-md bg-gray-800 border border-gray-600">+ <Github className="text-white w-5 h-5" />+ <p className="text-white font-medium">Star</p>+ </div></div></div></MaxWidthWrapper>diff --git a/public/static/landing/analytics.png b/public/static/landing/analytics.pngnew file mode 100644index 0000000000..3ca72af203Binary files /dev/null and b/public/static/landing/analytics.png differdiff --git a/public/static/landing/domains.png b/public/static/landing/domains.pngnew file mode 100644index 0000000000..63961f2a6fBinary files /dev/null and b/public/static/landing/domains.png differ