Skip to content

feat(apollo-vertex): update Alert and Sonner styles and docs#345

Open
hfrancis31 wants to merge 1 commit intomainfrom
Alert-sonner-update
Open

feat(apollo-vertex): update Alert and Sonner styles and docs#345
hfrancis31 wants to merge 1 commit intomainfrom
Alert-sonner-update

Conversation

@hfrancis31
Copy link
Collaborator

Summary

  • Alert: removed info and success statuses — component now supports default, warning, error only. Outline variant uses bg-card for a solid opaque background. Tinted variant uses opacity modifiers per status.
  • Sonner: overhauled status toast styles with theme-aware color-mix backgrounds (--card base in light, --popover base in dark). Added explicit text, icon, and close button color overrides per status for both themes. Info toast uses card-foreground surface with primary-foreground text for natural inversion across themes.
  • Docs: updated alert and in-product notification pages to reflect two visual styles (tinted, outline), corrected status availability per component (Sonner vs Alert), added Sonner Toaster props and toast() API tables.

Test plan

  • Check Alert tinted and outline variants in light and dark mode
  • Check all four Sonner toast types (info, success, warning, error) in light and dark mode
  • Verify text, icons, and close buttons are readable in both themes
  • Review /shadcn-components/alert, /shadcn-components/sonner, and /patterns/notifications/in-product docs pages

🤖 Generated with Claude Code

@github-actions
Copy link

github-actions bot commented Mar 13, 2026

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

Project Deployment Review Updated (PT)
apollo-canvas 🟢 Ready Preview, Logs Mar 17, 2026, 12:53:09 PM
apollo-landing 🟢 Ready Preview, Logs Mar 17, 2026, 12:49:58 PM
apollo-ui-react 🟢 Ready Preview, Logs Mar 17, 2026, 12:51:53 PM
apollo-vertex 🟢 Ready Preview, Logs Mar 17, 2026, 12:51:06 PM
apollo-wind 🟢 Ready Preview, Logs Mar 17, 2026, 12:51:07 PM

@github-actions
Copy link

github-actions bot commented Mar 13, 2026

Dependency Review

The following issues were found:
  • ❌ 3 vulnerable package(s)
  • ✅ 0 package(s) with incompatible licenses
  • ✅ 0 package(s) with invalid SPDX license definitions
  • ✅ 0 package(s) with unknown licenses.
  • ⚠️ 1 packages with OpenSSF Scorecard issues.
See the Details below.

Vulnerabilities

pnpm-lock.yaml

NameVersionVulnerabilitySeverity
flatted3.3.3flatted vulnerable to unbounded recursion DoS in parse() revive phasehigh
flatted3.3.4flatted vulnerable to unbounded recursion DoS in parse() revive phasehigh
undici6.23.0Undici: Malicious WebSocket 64-bit length overflows parser and crashes the clienthigh
Undici has Unhandled Exception in WebSocket Client Due to Invalid server_max_window_bits Validationhigh
Undici has Unbounded Memory Consumption in WebSocket permessage-deflate Decompressionhigh
Only included vulnerabilities with severity high or higher.

OpenSSF Scorecard

Scorecard details
PackageVersionScoreDetails
actions/pnpm/action-setup 41ff72655975bd51cab0327fa583b6e92b6d3061 🟢 5
Details
CheckScoreReason
Maintained🟢 33 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 7Found 23/30 approved changesets -- score normalized to 7
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 10all dependencies are pinned
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Security-Policy⚠️ 0security policy file not detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/flatted 3.3.3 🟢 4.3
Details
CheckScoreReason
Code-Review⚠️ 0Found 1/14 approved changesets -- score normalized to 0
Maintained🟢 1024 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy🟢 4security policy file detected
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 2SAST tool is not run on all commits -- score normalized to 2
npm/flatted 3.3.4 🟢 4.3
Details
CheckScoreReason
Code-Review⚠️ 0Found 1/14 approved changesets -- score normalized to 0
Maintained🟢 1024 commit(s) and 2 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Security-Policy🟢 4security policy file detected
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 2SAST tool is not run on all commits -- score normalized to 2
npm/undici 6.23.0 🟢 7.8
Details
CheckScoreReason
Maintained🟢 1030 commit(s) and 11 issue activity found in the last 90 days -- score normalized to 10
Dependency-Update-Tool🟢 10update tool detected
Security-Policy🟢 9security policy file detected
Code-Review🟢 4Found 13/28 approved changesets -- score normalized to 4
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 8binaries present in source code
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Pinned-Dependencies🟢 4dependency not pinned by hash detected -- score normalized to 4
Vulnerabilities🟢 100 existing vulnerabilities detected
Packaging🟢 10packaging workflow detected
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST🟢 9SAST tool detected but not run on all commits
License🟢 10license file detected
Fuzzing🟢 10project is fuzzed
Signed-Releases⚠️ -1no releases found
CI-Tests🟢 1015 out of 15 merged PRs checked by a CI test -- score normalized to 10
Contributors🟢 10project has 81 contributing companies or organizations
npm/@antfu/ni 25.0.0 UnknownUnknown
npm/@eslint/config-array 0.21.1 UnknownUnknown
npm/@eslint/eslintrc 3.3.4 🟢 5.7
Details
CheckScoreReason
Maintained🟢 1019 commit(s) and 3 issue activity found in the last 90 days -- score normalized to 10
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Code-Review🟢 4Found 11/27 approved changesets -- score normalized to 4
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 5branch protection is not maximal on development and all release branches
Security-Policy🟢 10security policy file detected
Packaging🟢 10packaging workflow detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/@vitest/coverage-v8 4.0.14 UnknownUnknown
npm/@vitest/expect 4.0.14 UnknownUnknown
npm/@vitest/mocker 4.0.14 UnknownUnknown
npm/@vitest/pretty-format 4.0.14 UnknownUnknown
npm/@vitest/runner 4.0.14 UnknownUnknown
npm/@vitest/snapshot 4.0.14 UnknownUnknown
npm/@vitest/spy 4.0.14 UnknownUnknown
npm/@vitest/ui 4.0.14 UnknownUnknown
npm/@vitest/utils 4.0.14 UnknownUnknown
npm/ansis 4.2.0 UnknownUnknown
npm/ast-v8-to-istanbul 0.3.8 UnknownUnknown
npm/chai 6.2.1 🟢 6.4
Details
CheckScoreReason
Code-Review🟢 10all changesets reviewed
Maintained🟢 1023 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies🟢 10all dependencies are pinned
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Packaging🟢 10packaging workflow detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/es-module-lexer 1.7.0 🟢 3
Details
CheckScoreReason
Code-Review🟢 3Found 9/30 approved changesets -- score normalized to 3
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 9binaries present in source code
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 10license file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Fuzzing⚠️ 0project is not fuzzed
Security-Policy⚠️ 0security policy file not detected
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/expect-type 1.2.2 🟢 4.5
Details
CheckScoreReason
Code-Review🟢 4Found 12/29 approved changesets -- score normalized to 4
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Security-Policy🟢 10security policy file detected
Binary-Artifacts🟢 10no binaries found in the repo
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Pinned-Dependencies⚠️ 1dependency not pinned by hash detected -- score normalized to 1
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License🟢 9license file detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection🟢 6branch protection is not maximal on development and all release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/fzf 0.5.2 🟢 3.1
Details
CheckScoreReason
Code-Review⚠️ 0Found 1/18 approved changesets -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Packaging⚠️ -1packaging workflow not detected
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/istanbul-lib-source-maps 5.0.6 🟢 4
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Code-Review🟢 5Found 11/20 approved changesets -- score normalized to 5
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
License⚠️ 0license file not detected
Fuzzing⚠️ 0project is not fuzzed
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ -1internal error: error during branchesHandler.setup: internal error: some github tokens can't read classic branch protection rules: https://github.com/ossf/scorecard-action/blob/main/docs/authentication/fine-grained-auth-token.md
Security-Policy🟢 10security policy file detected
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/js-tokens 9.0.1 ⚠️ 2.9
Details
CheckScoreReason
Code-Review⚠️ 0Found 2/23 approved changesets -- score normalized to 0
Maintained⚠️ 00 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Packaging⚠️ -1packaging workflow not detected
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Pinned-Dependencies⚠️ 2dependency not pinned by hash detected -- score normalized to 2
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Signed-Releases⚠️ -1no releases found
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/magicast 0.5.1 UnknownUnknown
npm/needle 3.3.1 🟢 4.1
Details
CheckScoreReason
Packaging⚠️ -1packaging workflow not detected
Token-Permissions⚠️ 0detected GitHub workflow tokens with excessive permissions
Code-Review🟢 5Found 10/19 approved changesets -- score normalized to 5
Maintained🟢 810 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 8
Dangerous-Workflow🟢 10no dangerous workflow patterns detected
Binary-Artifacts🟢 10no binaries found in the repo
Pinned-Dependencies⚠️ 0dependency not pinned by hash detected -- score normalized to 0
CII-Best-Practices⚠️ 0no effort to earn an OpenSSF best practices badge detected
Security-Policy⚠️ 0security policy file not detected
Fuzzing⚠️ 0project is not fuzzed
License🟢 10license file detected
Branch-Protection⚠️ 0branch protection not enabled on development/release branches
Signed-Releases⚠️ -1no releases found
SAST⚠️ 0SAST tool is not run on all commits -- score normalized to 0
npm/package-manager-detector 1.5.0 UnknownUnknown
npm/shadcn 4.0.6 UnknownUnknown
npm/std-env 3.10.0 UnknownUnknown
npm/tinyexec 0.3.2 UnknownUnknown
npm/vitest 4.0.14 UnknownUnknown
npm/@vitest/coverage-v8 ^4.0.14 UnknownUnknown
npm/vitest ^4.0.14 UnknownUnknown
npm/@vitest/coverage-v8 ^4.0.14 UnknownUnknown
npm/@vitest/ui ^4.0.14 UnknownUnknown
npm/vitest ^4.0.14 UnknownUnknown
npm/@vitest/coverage-v8 ^4.0.14 UnknownUnknown
npm/@vitest/ui ^4.0.14 UnknownUnknown
npm/vitest ^4.0.14 UnknownUnknown
npm/@vitest/coverage-v8 ^4.0.14 UnknownUnknown
npm/@vitest/ui ^4.0.14 UnknownUnknown
npm/vitest ^4.0.14 UnknownUnknown

Scanned Files

  • .github/workflows/apollo-vertex-lint.yml
  • .github/workflows/vercel-deploy.yml
  • apps/apollo-vertex/package.json
  • packages/apollo-core/package.json
  • packages/apollo-react/package.json
  • packages/apollo-wind/package.json
  • pnpm-lock.yaml
  • web-packages/ap-chat/package.json

- Alert: tinted uses opacity modifiers, outline uses bg-card for solid background
- Alert: remove info and success statuses; supports default, warning, error only
- Sonner: theme-aware color-mix backgrounds (card base light, popover base dark)
- Sonner: explicit text/icon/close-button color overrides per status and theme
- Docs: two visual styles (tinted, outline), correct status availability per
  component, Sonner props and API tables added

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@hfrancis31 hfrancis31 force-pushed the Alert-sonner-update branch from 3ec52e4 to f940d95 Compare March 17, 2026 19:48

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags
- name: Setup pnpm
if: steps.lockfile_check.outputs.changed == 'true'
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags

- name: Setup pnpm
uses: pnpm/action-setup@fc06bc1257f339d1d5d8b3a19a8cae5388b55320 # v4
uses: pnpm/action-setup@41ff72655975bd51cab0327fa583b6e92b6d3061 # v4

Check warning

Code scanning / zizmor

detects commit SHAs that don't match their version comment tags Warning

detects commit SHAs that don't match their version comment tags
// Shared components
// ============================================================================

function SectionTitle({ children }: { children: React.ReactNode }) {
// Shared components
// ============================================================================

function SectionTitle({ children }: { children: React.ReactNode }) {

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused function SectionTitle.

Copilot Autofix

AI 6 days ago

In general, the way to fix an unused function is either to remove it if it is truly unnecessary or to start using it where intended. To avoid changing existing behavior, the safest fix here is to delete the unused SectionTitle component while leaving the rest of the file unchanged.

Concretely, in packages/apollo-wind/src/getting-started/getting-started.stories.tsx, remove the definition of SectionTitle (lines 24–26 in the snippet), which is the function:

function SectionTitle({ children }: { children: React.ReactNode }) {
  return <h2 className="mb-2 text-2xl font-bold tracking-tight text-foreground">{children}</h2>;
}

No new imports, methods, or variables are needed, and no other parts of the file need to be updated.

Suggested changeset 1
packages/apollo-wind/src/getting-started/getting-started.stories.tsx

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/apollo-wind/src/getting-started/getting-started.stories.tsx b/packages/apollo-wind/src/getting-started/getting-started.stories.tsx
--- a/packages/apollo-wind/src/getting-started/getting-started.stories.tsx
+++ b/packages/apollo-wind/src/getting-started/getting-started.stories.tsx
@@ -21,10 +21,6 @@
 // Shared components
 // ============================================================================
 
-function SectionTitle({ children }: { children: React.ReactNode }) {
-  return <h2 className="mb-2 text-2xl font-bold tracking-tight text-foreground">{children}</h2>;
-}
-
 function SectionDescription({ children }: { children: React.ReactNode }) {
   return <p className="mb-6 text-base leading-7 text-muted-foreground">{children}</p>;
 }
EOF
@@ -21,10 +21,6 @@
// Shared components
// ============================================================================

function SectionTitle({ children }: { children: React.ReactNode }) {
return <h2 className="mb-2 text-2xl font-bold tracking-tight text-foreground">{children}</h2>;
}

function SectionDescription({ children }: { children: React.ReactNode }) {
return <p className="mb-6 text-base leading-7 text-muted-foreground">{children}</p>;
}
Copilot is powered by AI and may make mistakes. Always verify output.
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.

2 participants