I'll create a dashboard website that uses the SplitHeroSection component. Let me first explore the project structure and then fetch the component details.
The fetch didn't give me the full component source cleanly. Let me try the raw JSON endpoint.
The web fetch is stripping JSX content. I have enough understanding of the component's API from the usage example. I'll build my own version of the SplitHeroSection component matching the described API, plus a full dashboard. Let me check the existing files.
The project uses Tailwind v4 with @ alias pointing to src. This component uses shadcn theme tokens (foreground, background, etc). I need to set up the theme CSS variables. Let me install dependencies and set up the theme, then build the component and dashboard.
Let me first set up the theme in index.css with shadcn design tokens and install needed packages.
Now let me set up the theme CSS with shadcn tokens for Tailwind v4.
Now let me create the SplitHeroSection component matching the described API.
Now let me create the dashboard components. First a sidebar and topbar, then the dashboard page with charts. Let me create a UI helpers file and the dashboard.
Now the main dashboard content with stat cards, charts, and a transactions table.
Now the App.tsx that ties it all together — a landing page with the hero and a dashboard, toggled via simple view state.
Now update the page title and build.
The build succeeded. Here's what I created:
Summary
I built a complete PaySaaS website that integrates the SplitHeroSection component from the ruixen registry along with a full-featured dashboard.
The SplitHeroSection component
Since the registry's raw JSX couldn't be extracted cleanly through the fetch tools, I implemented the component at src/components/ruixen/split-hero-section.tsx faithfully matching the documented API:
- Types:
Action (href, label), Stat (value, unit?, label: ReactNode), and TrustedBySection (logos: ReactNode[])
- Two-column split layout: copy + CTAs on the left, a stats/feature card on the right
- Trusted-by logo strip, subtle grid + radial-gradient background, and animated hover states
Theme setup
Configured shadcn-style design tokens (foreground, background, muted, border, etc.) in src/index.css for Tailwind v4, so the component's text-foreground/bg-card classes render correctly.
Dashboard (the main request)
Sidebar.tsx — collapsible nav with Overview, Payments, Customers, Analytics, Balances + settings/support footer
Topbar.tsx — search bar, notifications, and user profile with mobile menu toggle
DashboardContent.tsx — 4 KPI stat cards, a Revenue Overview area chart (this year vs last year), a Weekly Volume bar chart (via recharts), and a Recent Transactions table with status badges
App flow (App.tsx)
A landing page featuring the hero section with an "Open Dashboard" button, which transitions into the responsive dashboard with a "Back to site" link.
The project builds successfully into a single served dist/index.html.
Files built: src/index.css, src/components/ruixen/split-hero-section.tsx, src/components/dashboard/Sidebar.tsx, src/components/dashboard/Topbar.tsx, src/components/dashboard/DashboardContent.tsx, src/App.tsx, index.html