chore: bring back pro ads

This commit is contained in:
Junior Garcia 2025-04-12 18:59:16 -03:00
parent b865356b6c
commit 1240a4fbe1
3 changed files with 5 additions and 5 deletions

View File

@ -12,7 +12,7 @@ import {siteConfig} from "@/config/site";
import {fonts} from "@/config/fonts"; import {fonts} from "@/config/fonts";
import {Navbar} from "@/components/navbar"; import {Navbar} from "@/components/navbar";
import {Footer} from "@/components/footer"; import {Footer} from "@/components/footer";
import {PhBanner} from "@/components/ph-banner"; import {ProBanner} from "@/components/pro-banner";
export const metadata: Metadata = { export const metadata: Metadata = {
title: { title: {
@ -82,7 +82,7 @@ export default function RootLayout({children}: {children: React.ReactNode}) {
> >
<Providers themeProps={{attribute: "class", defaultTheme: "dark"}}> <Providers themeProps={{attribute: "class", defaultTheme: "dark"}}>
<div className="relative flex flex-col" id="app-container"> <div className="relative flex flex-col" id="app-container">
<PhBanner /> <ProBanner />
<Navbar mobileRoutes={manifest.mobileRoutes} routes={manifest.routes} /> <Navbar mobileRoutes={manifest.mobileRoutes} routes={manifest.routes} />
{children} {children}
<Analytics mode="production" /> <Analytics mode="production" />

View File

@ -11,7 +11,7 @@ import {useIsMounted} from "@/hooks/use-is-mounted";
import {__PROD__, __ENABLE_ADS__} from "@/utils"; import {__PROD__, __ENABLE_ADS__} from "@/utils";
const EA_PROVIDER_RATIO = 0.85; const EA_PROVIDER_RATIO = 0.85;
const PRODUCT_HUNT_ENABLED = true; const PRODUCT_HUNT_ENABLED = false;
const PH_INFO = { const PH_INFO = {
description: "Join the conversation and help us get #1 Product of the Week! ↗", description: "Join the conversation and help us get #1 Product of the Week! ↗",

View File

@ -6,7 +6,7 @@ import {Divider, Spacer} from "@heroui/react";
import {ChevronCircleTopLinearIcon} from "@heroui/shared-icons"; import {ChevronCircleTopLinearIcon} from "@heroui/shared-icons";
import scrollIntoView from "scroll-into-view-if-needed"; import scrollIntoView from "scroll-into-view-if-needed";
import {PHCallout} from "./ph-callout"; import {HeroUIProCallout} from "./heroui-pro-callout";
import {Heading} from "@/libs/docs/utils"; import {Heading} from "@/libs/docs/utils";
import {useScrollSpy} from "@/hooks/use-scroll-spy"; import {useScrollSpy} from "@/hooks/use-scroll-spy";
@ -124,7 +124,7 @@ export const DocsToc: FC<DocsTocProps> = ({headings}) => {
</li> </li>
</ul> </ul>
</div> </div>
<PHCallout /> <HeroUIProCallout />
</div> </div>
); );
}; };