Skip to content

Release Notes: v1.7.0

Choose a tag to compare

@CyberSphinxxx CyberSphinxxx released this 28 Jun 04:54

Monetization and AdSense Integration

This release introduces Google AdSense support across the application. The integration was designed to maximize viewability and profitability while ensuring the core gameplay experience remains completely uninterrupted.

Files Changed (9)

  • src/components/AdBanner.tsx [NEW]

    • Created a reusable, configurable wrapper component for the <ins className="adsbygoogle"> tag.
    • Implemented logic to support both vertical and horizontal orientations.
    • Designed the component to remain completely invisible (no layout shift, no background colors, no borders) if an ad blocker is detected or if AdSense fails to load an ad.
  • src/app/layout.tsx [MODIFIED]

    • Injected the Next.js <Script> component into the <head> to asynchronously load the Google AdSense library (adsbygoogle.js) globally.
    • Configured with the publisher client ID (ca-pub-4116593263812421).
  • src/components/DailyGame.tsx [MODIFIED]

    • Implemented vertical sticky ad placements in the left and right margins of the desktop layout.
    • These ad units are hidden on mobile devices to preserve screen real estate.
  • src/components/ResolutionTicket.tsx [MODIFIED]

    • Injected a horizontal ad banner inside the end-of-game resolution ticket modal.
    • Placed strategically above the Standard Operating Procedure section to capture post-game engagement without interfering with the active puzzle session.
  • src/components/Footer.tsx [MODIFIED]

    • Added a persistent horizontal ad banner above the footer links.
    • Introduced a humble disclaimer message explaining that ads are used to cover server costs and that the use of ad blockers is respected by the developer.
  • src/app/archive/page.tsx [MODIFIED]

    • Added a horizontal ad banner placed below the page title and above the heatmap graph.
  • src/app/dictionary/page.tsx [MODIFIED]

    • Added a horizontal ad banner below the header description and above the dictionary completion progress bar.
  • src/app/stats/page.tsx [MODIFIED]

    • Added a horizontal ad banner below the "Your Stats" header section.
  • src/app/login/page.tsx [MODIFIED]

    • Added a horizontal ad banner at the top of the account settings page content.

Full Changelog: v1.6.0...v1.7.0