The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.
TypeScript clickhousemysqlnextjsopen-sourceplanetscaleprismatailwindcsstinybirdtypescriptupstashvercel
some a11y fixes, kudos to @MaxLeiter for the protip
Steven Tey06ee19fdd8ff
diff --git a/components/home/footer.tsx b/components/home/footer.tsxindex 9b4540608c..54a43c01b8 100644--- a/components/home/footer.tsx+++ b/components/home/footer.tsx@@ -5,10 +5,12 @@ const Footer = () => {return (<div className="border-t border-gray-200 h-20 flex items-center justify-center space-x-12"><a href="https://twitter.com/dubdotsh" target="_blank" rel="noreferrer">+ <span className="sr-only">Twitter</span><Twitter className="w-6 h-6 text-gray-600" /></a><Link href="/"><a>+ <span className="sr-only">Dub.sh Logo</span><Logo className="w-7 h-7 text-gray-600" /></a></Link>@@ -17,6 +19,7 @@ const Footer = () => {target="_blank"rel="noreferrer">+ <span className="sr-only">Github</span><Github className="w-6 h-6 text-gray-600" /></a></div>diff --git a/components/home/globe.tsx b/components/home/globe.tsxindex e8be0e4f25..17ac7fbecf 100644--- a/components/home/globe.tsx+++ b/components/home/globe.tsx@@ -84,6 +84,7 @@ export default function Globe({ hostname }: { hostname?: string }) {autoFocus={false}onClick={() => setShowModal(false)}>+ <span className="sr-only">Spin Globe</span><X className="w-4 h-4" /></button><Drag className="h-12 w-12 mx-auto mb-2 sm:mb-4 text-gray-700" />diff --git a/components/home/link-card.tsx b/components/home/link-card.tsxindex c23211a02c..077d89a6b9 100644--- a/components/home/link-card.tsx+++ b/components/home/link-card.tsx@@ -134,9 +134,9 @@ export default function LinkCard({shallowscroll={false}>- <a className="flex items-center space-x-1 rounded-md bg-gray-100 px-2 py-0.5 hover:scale-105 active:scale-95 transition-all duration-75">+ <a className="flex items-center space-x-1 rounded-md bg-gray-100 px-2 py-0.5 hover:scale-105 active:scale-95 transition-all duration-75 text-gray-700"><Chart className="w-4 h-4" />- <p className="text-sm text-gray-500">+ <p className="text-sm">{isValidating || !clicks ? (<LoadingDots color="#71717A" />) : (diff --git a/components/shared/copy-button.tsx b/components/shared/copy-button.tsxindex 5bd9417764..aac85760b7 100644--- a/components/shared/copy-button.tsx+++ b/components/shared/copy-button.tsx@@ -12,10 +12,11 @@ export default function CopyButton({ url }: { url: string }) {}}className="group p-1.5 rounded-full bg-gray-100 hover:bg-blue-100 hover:scale-105 active:scale-95 transition-all duration-75">+ <span className="sr-only">Copy</span>{copied ? (- <Tick className="text-gray-500 group-hover:text-blue-800 transition-all" />+ <Tick className="text-gray-700 group-hover:text-blue-800 transition-all" />) : (- <Copy className="text-gray-500 group-hover:text-blue-800 transition-all" />+ <Copy className="text-gray-700 group-hover:text-blue-800 transition-all" />)}</button>);diff --git a/pages/_document.tsx b/pages/_document.tsxindex 4c94398e1c..d542878db3 100644--- a/pages/_document.tsx+++ b/pages/_document.tsx@@ -2,7 +2,7 @@ import { Html, Head, Main, NextScript } from "next/document";export default function Document() {return (- <Html className="min-h-screen bg-white">+ <Html className="min-h-screen bg-white" lang="en"><Head /><body><Main />diff --git a/pages/stats/[key].tsx b/pages/stats/[key].tsxindex a845933500..9d31075b2e 100644--- a/pages/stats/[key].tsx+++ b/pages/stats/[key].tsx@@ -4,7 +4,9 @@ import HomeLayout from "@/components/layout/home";export default function StatsPage() {return (<HomeLayout>- <Stats />+ <div className="bg-gray-50">+ <Stats />+ </div></HomeLayout>);}