Skip to content

docs: update banner to ScreenshotOne remove CarbonAds#1528

Merged
dinwwwh merged 9 commits intomiddleapi:mainfrom
dinwwwh:docs/update-banner-to-screenshotone-remove-carbonads
Apr 9, 2026
Merged

docs: update banner to ScreenshotOne remove CarbonAds#1528
dinwwwh merged 9 commits intomiddleapi:mainfrom
dinwwwh:docs/update-banner-to-screenshotone-remove-carbonads

Conversation

@dinwwwh
Copy link
Copy Markdown
Member

@dinwwwh dinwwwh commented Apr 9, 2026

Summary by CodeRabbit

Release Notes

  • Updates

    • Banner messaging revised to highlight a new product focus and streamline helper text.
    • Banner styling refreshed with a new indigo background for improved contrast.
    • Banner call-to-action updated to point to ScreenshotOne with revised link text.
  • Chores

    • Carbon Ads integration removed from site configuration.

@dosubot dosubot bot added the size:S This PR changes 10-29 lines, ignoring generated files. label Apr 9, 2026
@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Apr 9, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 02ba9154-c170-4c9e-8381-1be3d8dc611f

📥 Commits

Reviewing files that changed from the base of the PR and between d096864 and fede2a4.

📒 Files selected for processing (1)
  • apps/content/.vitepress/theme/components/Banner.vue
✅ Files skipped from review due to trivial changes (1)
  • apps/content/.vitepress/theme/components/Banner.vue

📝 Walkthrough

Walkthrough

Removed the Carbon Ads configuration from VitePress theme config and updated the site banner: changed headline text, helper span punctuation, CTA URL/text to ScreenshotOne, and banner background color from rgba(255, 0, 189, 0.8) to rgb(79, 70, 229).

Changes

Cohort / File(s) Summary
VitePress config
apps/content/.vitepress/config.ts
Removed themeConfig.carbonAds object (deleted code and placement entries).
Banner component
apps/content/.vitepress/theme/components/Banner.vue
Reworded banner copy (replaced “Serverless API Gateway” with “The screenshot API” and adjusted helper span punctuation), changed CTA link/text to https://screenshotone.com/?ref=orpc / “Try ScreenshotOne”, and updated background color from rgba(255, 0, 189, 0.8) to rgb(79, 70, 229).

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

  • docs: zuplo sponsor #301: Edits the same apps/content/.vitepress/theme/components/Banner.vue, with overlapping changes to banner content and styling.

Poem

🐰 I hopped through config, light and spry,
The ads have left — a clearer sky.
A banner shifted, indigo and bright,
ScreenshotOne now claims the light,
Hooray for small hops, morning to night!

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main changes: updating the banner to ScreenshotOne and removing CarbonAds configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@dosubot dosubot bot added the documentation Improvements or additions to documentation label Apr 9, 2026
Copy link
Copy Markdown

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🧹 Nitpick comments (1)
apps/content/.vitepress/theme/components/Banner.vue (1)

94-102: Drop obsolete .banner-helper styles.

The helper span is no longer rendered, so this CSS block is now dead code.

🧹 Suggested cleanup
-.banner-helper {
-  display: none;
-}
-
-@media (min-width: 768px) {
-  .banner-helper {
-    display: inline;
-  }
-}
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@apps/content/.vitepress/theme/components/Banner.vue` around lines 94 - 102,
Remove the dead CSS rules for the .banner-helper selector: delete the
.banner-helper block and its media query variant (the rules setting display:
none and display: inline at min-width: 768px) since the helper span is no longer
rendered; search for ".banner-helper" in the project to ensure no other usages
remain and remove the redundant CSS from the stylesheet containing those rules.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@apps/content/.vitepress/theme/components/Banner.vue`:
- Line 38: In the Banner.vue component update the headline string that currently
reads "The screenshot API for developers -" to remove the trailing separator;
locate the headline in the Banner component/template and delete the trailing "
-" so the copy becomes "The screenshot API for developers" (adjust surrounding
spacing/punctuation if needed to preserve layout and avoid orphaned CTA
wrapping).

---

Nitpick comments:
In `@apps/content/.vitepress/theme/components/Banner.vue`:
- Around line 94-102: Remove the dead CSS rules for the .banner-helper selector:
delete the .banner-helper block and its media query variant (the rules setting
display: none and display: inline at min-width: 768px) since the helper span is
no longer rendered; search for ".banner-helper" in the project to ensure no
other usages remain and remove the redundant CSS from the stylesheet containing
those rules.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 63215aa2-7b4d-46a4-b0e0-a9b4f603c3f2

📥 Commits

Reviewing files that changed from the base of the PR and between 1bc0bef and d096864.

📒 Files selected for processing (2)
  • apps/content/.vitepress/config.ts
  • apps/content/.vitepress/theme/components/Banner.vue
💤 Files with no reviewable changes (1)
  • apps/content/.vitepress/config.ts

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request removes Carbon Ads from the VitePress configuration and updates the site banner to promote ScreenshotOne, including changes to the text, link, and background color. Feedback was provided regarding the removal of the banner-helper span, which results in dead CSS and potential responsiveness issues on smaller screens; it is recommended to wrap the new text in that span to maintain the existing layout logic.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Apr 9, 2026

More templates

@orpc/ai-sdk

npm i https://pkg.pr.new/@orpc/ai-sdk@1528

@orpc/arktype

npm i https://pkg.pr.new/@orpc/arktype@1528

@orpc/client

npm i https://pkg.pr.new/@orpc/client@1528

@orpc/contract

npm i https://pkg.pr.new/@orpc/contract@1528

@orpc/experimental-durable-iterator

npm i https://pkg.pr.new/@orpc/experimental-durable-iterator@1528

@orpc/hey-api

npm i https://pkg.pr.new/@orpc/hey-api@1528

@orpc/interop

npm i https://pkg.pr.new/@orpc/interop@1528

@orpc/json-schema

npm i https://pkg.pr.new/@orpc/json-schema@1528

@orpc/nest

npm i https://pkg.pr.new/@orpc/nest@1528

@orpc/openapi

npm i https://pkg.pr.new/@orpc/openapi@1528

@orpc/openapi-client

npm i https://pkg.pr.new/@orpc/openapi-client@1528

@orpc/otel

npm i https://pkg.pr.new/@orpc/otel@1528

@orpc/experimental-pino

npm i https://pkg.pr.new/@orpc/experimental-pino@1528

@orpc/experimental-publisher

npm i https://pkg.pr.new/@orpc/experimental-publisher@1528

@orpc/experimental-publisher-durable-object

npm i https://pkg.pr.new/@orpc/experimental-publisher-durable-object@1528

@orpc/experimental-ratelimit

npm i https://pkg.pr.new/@orpc/experimental-ratelimit@1528

@orpc/react

npm i https://pkg.pr.new/@orpc/react@1528

@orpc/react-query

npm i https://pkg.pr.new/@orpc/react-query@1528

@orpc/experimental-react-swr

npm i https://pkg.pr.new/@orpc/experimental-react-swr@1528

@orpc/server

npm i https://pkg.pr.new/@orpc/server@1528

@orpc/shared

npm i https://pkg.pr.new/@orpc/shared@1528

@orpc/solid-query

npm i https://pkg.pr.new/@orpc/solid-query@1528

@orpc/standard-server

npm i https://pkg.pr.new/@orpc/standard-server@1528

@orpc/standard-server-aws-lambda

npm i https://pkg.pr.new/@orpc/standard-server-aws-lambda@1528

@orpc/standard-server-fastify

npm i https://pkg.pr.new/@orpc/standard-server-fastify@1528

@orpc/standard-server-fetch

npm i https://pkg.pr.new/@orpc/standard-server-fetch@1528

@orpc/standard-server-node

npm i https://pkg.pr.new/@orpc/standard-server-node@1528

@orpc/standard-server-peer

npm i https://pkg.pr.new/@orpc/standard-server-peer@1528

@orpc/svelte-query

npm i https://pkg.pr.new/@orpc/svelte-query@1528

@orpc/tanstack-query

npm i https://pkg.pr.new/@orpc/tanstack-query@1528

@orpc/trpc

npm i https://pkg.pr.new/@orpc/trpc@1528

@orpc/valibot

npm i https://pkg.pr.new/@orpc/valibot@1528

@orpc/vue-colada

npm i https://pkg.pr.new/@orpc/vue-colada@1528

@orpc/vue-query

npm i https://pkg.pr.new/@orpc/vue-query@1528

@orpc/zod

npm i https://pkg.pr.new/@orpc/zod@1528

commit: 0cb4255

@codecov
Copy link
Copy Markdown

codecov bot commented Apr 9, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@dinwwwh dinwwwh merged commit 6a3f818 into middleapi:main Apr 9, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size:S This PR changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant