Skip to content

Polish landing page UI and redesign AppCard layout#31

Merged
krellekrelle merged 3 commits into
mainfrom
fix/landing-page-ui
Jun 3, 2026
Merged

Polish landing page UI and redesign AppCard layout#31
krellekrelle merged 3 commits into
mainfrom
fix/landing-page-ui

Conversation

@krellekrelle

Copy link
Copy Markdown
Owner

This pull request introduces several UI and code improvements across the landing page, Hello World app, and shared UI library. The main changes focus on visual consistency, improved flexibility for the AppCard component, and code simplification for application listings.

UI Consistency and Visual Improvements:

  • Set a consistent base font family for the body and NavBar across both the Hello World and landing page apps, as well as the shared navigation bar. [1] [2] [3]
  • Adjusted spacing, font sizes, and layout in AppCard to improve appearance and responsiveness, including a larger icon, wrapped title row, and ellipsis for overflowed titles. [1] [2] [3]
  • Ensured Button components use box-sizing: border-box for more predictable sizing.

AppCard Component Enhancements:

  • Made the description prop optional, so cards can be rendered without a description if needed.
  • Updated the AppCard layout to only render the description if provided, and refactored the internal structure for better alignment and flexibility. [1] [2]

Code Simplification:

  • Simplified the APPS and ADMIN_APPS arrays in DashboardPage.jsx by removing the description field and using a more concise object structure.

…iptions

- AppCard: make description optional, increase icon size (52px→64px, 1.625rem→2rem)
- AppCard: add overflow:hidden to card, add padding-top to footer to fix button overflow
- NavBar: add explicit font-family: var(--font-family-base) to ensure consistent font
- landing-page: remove descriptions from all dashboard app cards
- landing-page + hello-world: set font-family token on body for consistent rendering
… clipping

- Move icon and title into a shared horizontal header row (flex row, align-items center)
- Remove overflow:hidden from card which was clipping button bottom edge
- Reduce card padding (space-6 → space-5) for tighter proportions
- Remove .footer wrapper div - button sits directly in card flex column
- Shrink icon back to 52px/1.75rem - better proportion without description text below
Without box-sizing: border-box, width: 100% set the content area to 100%
of the parent, then horizontal padding was added on top — causing the button
to bleed past the right edge of its container (e.g. AppCard).
@krellekrelle
krellekrelle merged commit e76d1e4 into main Jun 3, 2026
1 check passed
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.

1 participant