mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-25 19:15:18 +02:00
feat: added adsense on /free page
This commit is contained in:
parent
2e589091d8
commit
2eaf4fbce1
6 changed files with 149 additions and 1 deletions
13
surfsense_web/components/ads/adsense-config.ts
Normal file
13
surfsense_web/components/ads/adsense-config.ts
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/**
|
||||
* Centralized AdSense ad slot IDs.
|
||||
*
|
||||
* After creating ad units in your AdSense dashboard (Ads → By ad unit), paste
|
||||
* the numeric slot IDs into the corresponding env vars below. Empty slot IDs
|
||||
* render nothing (see <AdUnit />), so partial rollout is safe.
|
||||
*/
|
||||
export const ADSENSE_SLOTS = {
|
||||
/** /free hub: between the model table and "Why SurfSense" section. */
|
||||
freeHubInContent: process.env.NEXT_PUBLIC_GOOGLE_ADSENSE_SLOT_FREE_HUB_IN_CONTENT ?? "",
|
||||
/** /free hub: between the CTA and the FAQ section. */
|
||||
freeHubBeforeFaq: process.env.NEXT_PUBLIC_GOOGLE_ADSENSE_SLOT_FREE_HUB_BEFORE_FAQ ?? "",
|
||||
} as const;
|
||||
Loading…
Add table
Add a link
Reference in a new issue