feat(docs): seo improvements#71
Conversation
|
@vachmara is attempting to deploy a commit to the Databuddy Team on Vercel. A member of the Team first needs to authorize it. |
|
Caution Review failedThe pull request is closed. WalkthroughThe PR updates collapsible triggers in two dashboard components, refactors the StructuredData component to a new data-driven API, and adapts multiple docs pages to the new structured data model. It also revises docs site metadata/titles, adjusts semantic tags in logo components, adds a pricing layout with structured data, and includes minor formatting changes. Changes
Sequence Diagram(s)sequenceDiagram
participant Page as Page Component
participant SD as StructuredData
participant Builder as Graph Builder
participant DOM as DOM
Page->>SD: Render with { baseUrl?, logoUrl?, page, elements[] }
SD->>Builder: Build graph (Organization, WebSite, WebPage)
Builder->>Builder: Add elements (Article/Documentation/FAQ/SoftwareOffers)
Builder->>Builder: Resolve URLs, dates (ISO), images, breadcrumbs
Builder-->>SD: JSON-LD graph
SD->>DOM: Inject single <script id="structured-data-page">
sequenceDiagram
participant User as User
participant Trigger as CollapsibleTrigger(asChild)
participant Comp as Row Component
participant Parent as onToggle handler
User->>Trigger: Click header/div
Trigger->>Comp: onOpenChange(open)
Comp->>Parent: onToggle(id)
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (13)
✨ Finishing Touches
🧪 Generate 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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
|
@coderabbitai full review |
✅ Actions performedFull review triggered. |
Pull Request
Description
This pull request focuses on improving code consistency and enhancing SEO and structured data for the Databuddy documentation and marketing pages. The most notable changes include standardizing string quoting conventions in dashboard components and introducing structured data for better search engine visibility across key pages (home, pricing, privacy, terms, blog, and documentation). Additionally, metadata has been updated for improved branding and search appearance.
Code consistency and formatting:
profile-row.tsx,session-row.tsx), including JSX and utility function values, for improved code consistency.SEO and structured data enhancements:
Added the
StructuredDatacomponent to the home, pricing, privacy, terms, blog, and documentation pages, providing rich metadata (title, description, url, publication/modified dates, plans, breadcrumbs) for improved SEO and search engine indexing.Updated metadata and Open Graph information for home, privacy, terms, and documentation pages to use more descriptive, branded titles and descriptions, improving appearance in search and social sharing.
Minor UI fixes:
<h1>to<span>in the logo carousel for better semantic structure and styling flexibility.These changes collectively enhance both developer experience (through consistent code style) and product visibility (via improved SEO and structured data).
Checklist
Summary by CodeRabbit
New Features
Documentation
Style