Skip to content

show the CTA banner on the home page only - #6

Merged
carlos-granados merged 1 commit into
mainfrom
cta-banner
Aug 23, 2026
Merged

show the CTA banner on the home page only#6
carlos-granados merged 1 commit into
mainfrom
cta-banner

Conversation

@carlos-granados

Copy link
Copy Markdown
Contributor

Three changes to the home page call-to-action banner.

Message. "Join thousands of developers who trust PHP Debugger for their daily workflow" is not true today, so the subtitle is now "Bring zero-overhead debugging to your daily workflow." The heading and the "Get Started Now" button label are unchanged.

Destination. The button now links to /getting-started/installation instead of /getting-started/quick-start.

Placement. The banner was reaching every doc page through a DocItem/Footer swizzle that injected it everywhere except home — the home page composes it directly in index.mdx. Injecting the banner was that swizzle's only job, so it is deleted rather than gutted, restoring Docusaurus's stock doc footer.

Removing the swizzle costs nothing: the stock footer renders tags, an edit link and a last-updated line, and this site configures none of them. Verified by building at main and confirming theme-doc-footer is absent there too.

Verified in the build: the banner appears once on / and zero times on Installation, Introduction, Breakpoints and CLI Options, and "Join thousands" no longer appears anywhere.

@github-actions

github-actions Bot commented Aug 23, 2026

Copy link
Copy Markdown
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-23 21:19 UTC

@carlos-granados
carlos-granados merged commit afb583a into main Aug 23, 2026
1 check passed
@carlos-granados
carlos-granados deleted the cta-banner branch August 23, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant