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.

Reapply "Make page background white"

Tim Wilson5977672e1714
diff --git a/apps/web/app/[domain]/layout.tsx b/apps/web/app/[domain]/layout.tsx
index 0d67cb836f..ce7db1e258 100644
--- a/apps/web/app/[domain]/layout.tsx
+++ b/apps/web/app/[domain]/layout.tsx
@@ -2,7 +2,7 @@ import { Footer, Nav, NavMobile } from "@dub/ui";
export default function CustomDomainLayout(props) {
return (
- <div className="flex min-h-screen flex-col justify-between bg-gray-50">
+ <div className="flex min-h-screen flex-col justify-between bg-white">
<NavMobile />
<Nav />
{props.children}
diff --git a/apps/web/app/app.dub.co/(dashboard)/layout.tsx b/apps/web/app/app.dub.co/(dashboard)/layout.tsx
index 688afb3f40..ec1acbea36 100644
--- a/apps/web/app/app.dub.co/(dashboard)/layout.tsx
+++ b/apps/web/app/app.dub.co/(dashboard)/layout.tsx
@@ -13,7 +13,7 @@ export const metadata = constructMetadata();
export default function Layout({ children }: { children: ReactNode }) {
return (
<Providers>
- <div className="min-h-screen w-full bg-gray-50">
+ <div className="min-h-screen w-full bg-white">
<div className="sticky -top-16 z-20 border-b border-gray-200 bg-white">
<MaxWidthWrapper>
<MainNav />
diff --git a/apps/web/ui/analytics/index.tsx b/apps/web/ui/analytics/index.tsx
index a1f1eb6efa..d6fb305dc0 100644
--- a/apps/web/ui/analytics/index.tsx
+++ b/apps/web/ui/analytics/index.tsx
@@ -30,7 +30,7 @@ export default function Analytics({
{({ basePath }) => {
const isPublicStatsPage = basePath.startsWith("/stats");
return (
- <div className="bg-gray-50 py-10">
+ <div className="py-10">
<Toggle />
<div className="mx-auto grid max-w-screen-xl gap-5 px-2.5 lg:px-20">
<Main />
diff --git a/apps/web/ui/analytics/toggle.tsx b/apps/web/ui/analytics/toggle.tsx
index 7c741135aa..0e36e30043 100644
--- a/apps/web/ui/analytics/toggle.tsx
+++ b/apps/web/ui/analytics/toggle.tsx
@@ -440,7 +440,7 @@ export default function Toggle({
return (
<>
<div
- className={cn("sticky top-10 z-10 bg-gray-50 py-3 md:py-3", {
+ className={cn("sticky top-11 z-10 bg-white py-3 md:py-3", {
"top-14": isPublicStatsPage,
"top-0": adminPage,
"top-16": demoPage,