Skip to content

Add beta notice banner to website#191

Merged
hotlong merged 3 commits intomainfrom
copilot/add-beta-notification
Jan 25, 2026
Merged

Add beta notice banner to website#191
hotlong merged 3 commits intomainfrom
copilot/add-beta-notification

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Jan 25, 2026

Adds a global beta notice to inform visitors that ObjectQL v2.0 is in beta.

Changes

  • Created BetaBanner component with blue gradient design, beta symbol (β), and status messaging
  • Integrated into root layout (app/layout.tsx) to display across all pages (home, docs, etc.)

Screenshots

Homepage:
Homepage with beta banner

Documentation:
Docs with beta banner

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • fonts.googleapis.com
    • Triggering command: /usr/local/bin/node /usr/local/bin/node /home/REDACTED/work/objectql/objectql/node_modules/.pnpm/next@16.1.4_@babel+core@7.28.6_react-dom@19.2.3_react@19.2.3__react@19.2.3/node_modules/next/dist/server/lib/start-server.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

官网增加beta提示


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@vercel
Copy link
Copy Markdown

vercel bot commented Jan 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
objectql-site Ready Ready Preview, Comment Jan 25, 2026 5:16am

Request Review

Copilot AI and others added 2 commits January 25, 2026 05:13
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Add beta notification to official website Add beta notice banner to website Jan 25, 2026
Copilot AI requested a review from hotlong January 25, 2026 05:16
@github-actions
Copy link
Copy Markdown
Contributor

⚠️ No Changeset Found

This PR does not include a changeset file.
If this PR includes user-facing changes, please add a changeset by running:

pnpm changeset

@hotlong hotlong marked this pull request as ready for review January 25, 2026 05:34
Copilot AI review requested due to automatic review settings January 25, 2026 05:34
@hotlong hotlong merged commit bb13805 into main Jan 25, 2026
4 checks passed
@hotlong hotlong deleted the copilot/add-beta-notification branch January 25, 2026 05:34
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR adds a global beta notice banner to the ObjectQL website to inform visitors that ObjectQL v2.0 is in beta. The implementation includes a new React component with responsive design and a call-to-action button.

Changes:

  • Created a BetaBanner component with gradient styling, beta symbol, and informational messaging
  • Integrated the banner into the root layout to display site-wide across all pages

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
apps/site/components/beta-banner.tsx New component displaying beta status with gradient background, responsive text, and "Get Started" CTA linking to documentation
apps/site/app/layout.tsx Imports and renders BetaBanner at the top of the body element, above the RootProvider

<div className="mx-auto max-w-7xl px-3 py-2 sm:px-6 lg:px-8">
<div className="flex flex-wrap items-center justify-between gap-2">
<div className="flex flex-1 items-center gap-2">
<span className="flex h-6 w-6 items-center justify-center rounded-full bg-white/20 text-xs font-bold">
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

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

The beta symbol (β) is decorative and should have aria-hidden="true" to prevent screen readers from announcing it. Screen readers would read this as "beta" which could be confusing since the text already states "Beta".

Suggested change
<span className="flex h-6 w-6 items-center justify-center rounded-full bg-white/20 text-xs font-bold">
<span
className="flex h-6 w-6 items-center justify-center rounded-full bg-white/20 text-xs font-bold"
aria-hidden="true"
>

Copilot uses AI. Check for mistakes.

export function BetaBanner() {
return (
<div className="relative bg-gradient-to-r from-blue-600 to-cyan-500 text-white">
Copy link

Copilot AI Jan 25, 2026

Choose a reason for hiding this comment

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

This banner should use a semantic HTML element for better accessibility. Consider wrapping the content in a

element or adding role="banner" to the outermost div to help screen reader users understand the purpose of this component. Since this is a site-wide announcement banner, using semantic HTML will improve the page structure and accessibility.

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants