Skip to content

Refactor: Introduce SectionHeader and update UI styles - #2

Draft
Nebulazer123 wants to merge 11 commits into
mainfrom
aura-realm
Draft

Refactor: Introduce SectionHeader and update UI styles#2
Nebulazer123 wants to merge 11 commits into
mainfrom
aura-realm

Conversation

@Nebulazer123

@Nebulazer123 Nebulazer123 commented Nov 30, 2025

Copy link
Copy Markdown
Owner

This pull request introduces a new SectionHeader component to standardize page and section headings. It also includes various UI styling and copy updates across the application.

New SectionHeader Component

  • A new reusable component has been created at src/app/dashboard/components/SectionHeader.tsx.
  • This component accepts label, title, and description props to render a consistent header format.

Component Refactoring

  • The CashflowTab, OverviewTab, and RecurringTab components have been updated to use the new SectionHeader component, removing the previous inline header elements.
  • The layout of these tabs is now wrapped in a div with space-y-6 for better spacing.

UI and Styling Updates

  • Dashboard Page (/dashboard):

    • The main content area containing the tabs is now wrapped in a styled container with a border and shadow.
    • The page header now includes a "Demo view only" badge and updated descriptive text.
  • Home Page (/):

    • The "How this demo works" section now uses a styled label and has an updated title and description.
    • The container for this section now has a shadow-md.
    • The step cards have new hover and focus styles, featuring an emerald color highlight.

Content Changes

  • The titles and descriptions for the "step cards" on the home page have been updated to be more concise and impactful.

🔗 Edit in Builder.io

👀 Preview LinkTo clone this PR locally use the Github CLI with command gh pr checkout 2

cgen-e25931da7b4746a79d3a81e514ca8931
cgen-e5d51f49001c4ed896ce646d497fd204
cgen-ae6fe82848c7455b90cd56c8ca6253be
cgen-b631ce22b7ce49408c70a6b8d6fd4aaf
cgen-28cbed7ea23a4b4182bc61479b7e3675
cgen-e3ff5c55822a4715b785732d4ce6bff1
cgen-b391a233fb3b48d0bbc1079ac9425276
cgen-a5bfae23346a4dfc8788bb50c8e892b5
cgen-83caae0570a44b179efa49cc41fb386c
@vercel

vercel Bot commented Nov 30, 2025

Copy link
Copy Markdown

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

Project Deployment Preview Comments Updated (UTC)
money-map Error Error Nov 30, 2025 0:05am

@builder-io-integration builder-io-integration Bot changed the title Builder.io: Update from Visual Editor Refactor: Introduce SectionHeader and update UI styles Nov 30, 2025
@builder-io-integration

Copy link
Copy Markdown

You can tag me at @builderio-bot for anything you want me to fix or change

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