Skip to content

feat(dashboard): replace custom code blocks with shadcn Card on landing page#49

Open
duyet wants to merge 3 commits intomainfrom
claude/landing-page-card-components-1773770558
Open

feat(dashboard): replace custom code blocks with shadcn Card on landing page#49
duyet wants to merge 3 commits intomainfrom
claude/landing-page-card-components-1773770558

Conversation

@duyet
Copy link
Copy Markdown
Owner

@duyet duyet commented Mar 17, 2026

Summary

  • Replace manual code block divs with Card, CardHeader, CardContent
  • Replace feature section divs with Card components
  • Replace API endpoints table wrapper with Card component
  • Standardize button heights using shadcn size variants (lg, sm)
  • Use consistent spacing values (gap-4, gap-3, gap-5)
  • Add Table, TableBody, TableCell, TableRow components for API endpoints

Test plan

  • Typecheck passes: bunx tsc --noEmit
  • Lint passes: bunx biome check packages/dashboard/src/
  • Visual verification of landing page code blocks, features, and API endpoints sections

🤖 Generated with Claude Code

claude and others added 3 commits March 18, 2026 01:01
- Use shadcn Table components for API documentation
- Replace code block divs with Card component
- Use shadcn Badge for HTTP method indicators

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
- Update RoleBadge to use shadcn Badge variants
- Replace ROLE_STYLES with ROLE_BADGE_VARIANTS for semantic theming
- Replace hardcoded #22c55e with hsl(var(--accent)) in logo
- Ensure ThemeToggle follows shadcn patterns

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
- Update features section to use Card, CardHeader, CardContent
- Replace custom table with shadcn Table components
- Update how-it-works and use-cases components

Co-Authored-By: Duyet Le <me@duyet.net>
Co-Authored-By: duyetbot <bot@duyet.net>
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

Copy link
Copy Markdown

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Sorry @duyet, you have reached your weekly rate limit of 500000 diff characters.

Please try again later or upgrade to continue using Sourcery

@coderabbitai
Copy link
Copy Markdown

coderabbitai bot commented Mar 17, 2026

Warning

Rate limit exceeded

@duyet has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 15 minutes and 15 seconds before requesting another review.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 0f2435c9-d5ed-4b73-a49b-00467779f6ab

📥 Commits

Reviewing files that changed from the base of the PR and between 31904a3 and 9869266.

📒 Files selected for processing (11)
  • packages/dashboard/src/app/dashboard/analytics/page.tsx
  • packages/dashboard/src/app/dashboard/conversations/page.tsx
  • packages/dashboard/src/app/dashboard/project/page.tsx
  • packages/dashboard/src/app/docs/page.tsx
  • packages/dashboard/src/app/page.tsx
  • packages/dashboard/src/components/landing/use-cases.tsx
  • packages/dashboard/src/components/project-switcher.tsx
  • packages/dashboard/src/components/ui/badge.tsx
  • packages/dashboard/src/components/ui/card.tsx
  • packages/dashboard/src/components/ui/table.tsx
  • packages/dashboard/src/lib/constants.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/landing-page-card-components-1773770558
📝 Coding Plan
  • Generate coding plan for human review comments

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.

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