Skip to content

feat(footer, home, navbar): enhance UI components with improved layouts and styling for better user experience#28

Merged
hoangsonww merged 1 commit intomasterfrom
feat/enhance-ux
Feb 4, 2026
Merged

feat(footer, home, navbar): enhance UI components with improved layouts and styling for better user experience#28
hoangsonww merged 1 commit intomasterfrom
feat/enhance-ux

Conversation

@hoangsonww
Copy link
Copy Markdown
Owner

This pull request focuses on improving the UI consistency and maintainability of the Home and Footer components, as well as updating personal and contact information in the footer. The main changes include replacing Stack with Box for layout flexibility, updating external links, and making minor UI enhancements for responsiveness and visual polish.

UI Consistency and Layout Improvements:

  • Replaced multiple usages of Stack with Box components for displaying Chip elements in both Footer and Home components, providing more flexible styling (e.g., gap, borderRadius) and improving visual consistency. (frontend/src/components/Footer.js, frontend/src/pages/Home.js) [1] [2] [3]
  • Adjusted layout and positioning in the Home component to ensure better vertical centering, responsive design, and proper spacing, including changes to flexDirection, justifyContent, and responsive positioning of elements. (frontend/src/pages/Home.js) [1] [2]

Footer Contact Information Updates:

  • Updated external links in the Footer component to use the correct GitHub, website, LinkedIn, and email addresses, replacing placeholder values with real contact information. (frontend/src/components/Footer.js)

Minor UI Enhancements:

  • Modified the Navbar menu button to prevent background color changes on hover, ensuring a cleaner look on mobile devices. (frontend/src/components/Navbar.js)

@hoangsonww hoangsonww added this to the v1.0.0 - Stable Release milestone Feb 4, 2026
@hoangsonww hoangsonww self-assigned this Feb 4, 2026
Copilot AI review requested due to automatic review settings February 4, 2026 20:03
@hoangsonww hoangsonww added bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Feb 4, 2026
@vercel
Copy link
Copy Markdown

vercel bot commented Feb 4, 2026

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

1 Skipped Deployment
Project Deployment Actions Updated (UTC)
budget-management-backend-api Ignored Ignored Feb 4, 2026 8:03pm

@netlify
Copy link
Copy Markdown

netlify bot commented Feb 4, 2026

Deploy Preview for budget-management-system ready!

Name Link
🔨 Latest commit 0143319
🔍 Latest deploy log https://app.netlify.com/projects/budget-management-system/deploys/6983a60e7b79bb0008482904
😎 Deploy Preview https://deploy-preview-28--budget-management-system.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@hoangsonww hoangsonww merged commit 72a3b6e into master Feb 4, 2026
4 of 5 checks passed
@gemini-code-assist
Copy link
Copy Markdown

Summary of Changes

Hello @hoangsonww, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request significantly enhances the user interface across key components, focusing on consistency, responsiveness, and personal branding. It refactors layout elements using Material-UI's Box component for greater control over styling, updates personal contact details in the footer, and fine-tunes the home page's layout for better visual balance and mobile adaptability. Additionally, a minor but impactful UI fix addresses an undesirable hover effect on the navigation bar's mobile menu button.

Highlights

  • UI Component Refactoring: Replaced Stack components with Box for displaying Chip elements in Footer and Home for enhanced layout flexibility and styling control, including custom gap and borderRadius.
  • Footer Contact Information Update: Personal contact links (GitHub, Website, LinkedIn, Email) in the Footer component have been updated from placeholder values to actual profiles.
  • Home Page Layout Enhancements: Improved the Home page's responsiveness and vertical centering by adjusting flexDirection, justifyContent, and the positioning of elements, including the bottom action button.
  • Navbar Hover Behavior Fix: Modified the mobile menu IconButton in the Navbar to prevent unwanted background color changes on hover, ensuring a cleaner UI.

🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console.

Changelog
  • frontend/src/components/Footer.js
    • Replaced Stack with Box for displaying technology Chip elements, enabling custom styling like gap and borderRadius.
    • Updated placeholder links for GitHub, Website, LinkedIn, and Email to hoangsonww's personal profiles.
  • frontend/src/components/Navbar.js
    • Added &:hover: { backgroundColor: 'transparent' } style to the mobile menu IconButton to disable background color change on hover.
  • frontend/src/pages/Home.js
    • Converted Stack to Box for the technology Chip display, introducing gap and alignItems for better layout.
    • Modified the main Box container's styles to include flexDirection: 'column' and justifyContent: 'center' for vertical centering.
    • Introduced an inner Box wrapping the main content with flex: 1 to facilitate the vertical centering.
    • Adjusted the positioning of the bottom action button Box to be static on small screens and absolute on medium screens and up, along with responsive margin-top and padding-bottom adjustments.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request enhances several UI components, improving layout, styling, and maintainability. The changes are generally positive, such as replacing Stack with Box for more flexible layouts and updating contact information. My review focuses on improving consistency and maintainability further by suggesting the use of constants for repeated data and mapping over arrays to generate repetitive elements, which aligns with the direction of the changes already made. I've also pointed out a small redundancy in styling.

Comment on lines +65 to +68
sx={{
borderRadius: 999,
height: 26,
}}
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

The borderRadius: 999 style is redundant here, as it's already applied globally to all Chip components via the theme in theme.js (line 197). For better maintainability, you could also extract the array of technology labels into a constant defined outside the component.

Suggested change
sx={{
borderRadius: 999,
height: 26,
}}
sx={{
height: 26,
}}

Comment on lines +96 to 107
<MuiLink href="https://github.com/hoangsonww" target="_blank" rel="noopener" sx={linkStyle}>
<GitHubIcon fontSize="small" /> GitHub
</MuiLink>
<MuiLink href="https://yourwebsite.com" target="_blank" rel="noopener" sx={linkStyle}>
<MuiLink href="https://sonnguyenhoang.com" target="_blank" rel="noopener" sx={linkStyle}>
<LanguageIcon fontSize="small" /> Website
</MuiLink>
<MuiLink href="https://linkedin.com/in/yourlinkedin" target="_blank" rel="noopener" sx={linkStyle}>
<MuiLink href="https://www.linkedin.com/in/hoangsonw/" target="_blank" rel="noopener" sx={linkStyle}>
<LinkedInIcon fontSize="small" /> LinkedIn
</MuiLink>
<MuiLink href="mailto:youremail@example.com" sx={linkStyle}>
<MuiLink href="mailto:hoangson091104@gmail.com" sx={linkStyle}>
<EmailIcon fontSize="small" /> Email
</MuiLink>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To improve maintainability, consider defining this list of links as an array of objects and then mapping over it to render the MuiLink components. This separates data from presentation and makes it easier to manage the links.

For example:

// Define this array outside your component or in a config file
const connectLinks = [
  { href: 'https://github.com/hoangsonww', Icon: GitHubIcon, label: 'GitHub', target: '_blank', rel: 'noopener' },
  { href: 'https://sonnguyenhoang.com', Icon: LanguageIcon, label: 'Website', target: '_blank', rel: 'noopener' },
  { href: 'https://www.linkedin.com/in/hoangsonw/', Icon: LinkedInIcon, label: 'LinkedIn', target: '_blank', rel: 'noopener' },
  { href: 'mailto:hoangson091104@gmail.com', Icon: EmailIcon, label: 'Email' },
];

// Then in your component, you can replace the hardcoded links with:
connectLinks.map(({ href, Icon, label, target, rel }) => (
  <MuiLink key={label} href={href} target={target} rel={rel} sx={linkStyle}>
    <Icon fontSize="small" /> {label}
  </MuiLink>
))

Comment on lines +186 to +198
<Box
sx={{
display: 'flex',
flexWrap: 'wrap',
gap: 1,
alignItems: 'center',
}}
>
<Chip label="JWT auth" size="small" />
<Chip label="PostgreSQL ledger" size="small" />
<Chip label="Elasticsearch search" size="small" />
<Chip label="Kafka + RabbitMQ" size="small" />
</Box>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

For consistency with other parts of the app (like in Footer.js) and for better maintainability, it's better to generate these Chip components by mapping over an array of labels instead of hardcoding them.

<Box
  sx={{
    display: 'flex',
    flexWrap: 'wrap',
    gap: 1,
    alignItems: 'center',
  }}
>
  {['JWT auth', 'PostgreSQL ledger', 'Elasticsearch search', 'Kafka + RabbitMQ'].map(label => (
    <Chip key={label} label={label} size="small" />
  ))}
</Box>

Comment on lines +233 to +240
<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
<Chip label="MongoDB" />
<Chip label="PostgreSQL" />
<Chip label="Redis" />
<Chip label="Elasticsearch" />
<Chip label="Kafka" />
<Chip label="RabbitMQ" />
</Box>
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

medium

To improve consistency and maintainability, consider generating these Chip components by mapping over an array of labels. Since this list of technologies is used elsewhere, defining it as a shared constant could also help reduce code duplication.

<Box sx={{ display: 'flex', flexWrap: 'wrap', gap: 1 }}>
  {['MongoDB', 'PostgreSQL', 'Redis', 'Elasticsearch', 'Kafka', 'RabbitMQ'].map(label => (
    <Chip key={label} label={label} />
  ))}
</Box>

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR refines the Home hero layout and Footer chip/link presentation for more consistent, responsive UI styling, and updates the footer’s external contact links. It also tweaks the mobile navbar menu button hover styling.

Changes:

  • Refactored Home hero layout for improved vertical centering and replaced chip rows from Stack to Box with gap/wrapping.
  • Updated Footer tech chips to a Box+map rendering pattern and replaced placeholder contact URLs with real links.
  • Adjusted Navbar mobile menu IconButton hover background behavior.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

File Description
frontend/src/pages/Home.js Hero section layout refactor (flex centering + chip layout updates) and “System snapshot” chip row styling change.
frontend/src/components/Navbar.js Mobile menu button hover styling updated to keep the background transparent.
frontend/src/components/Footer.js Footer tech chips refactored to a mapped Box layout; external contact links updated.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +104 to +111
<IconButton
sx={{
display: isMobileNav ? 'block' : 'none',
'&:hover': { backgroundColor: 'transparent' },
}}
color="inherit"
onClick={() => setDrawerOpen(true)}
>
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

This IconButton is icon-only and currently lacks an accessible name. Add an aria-label (e.g., "Open navigation menu") so screen readers can identify the control.

Copilot uses AI. Check for mistakes.
Comment on lines +96 to 103
<MuiLink href="https://github.com/hoangsonww" target="_blank" rel="noopener" sx={linkStyle}>
<GitHubIcon fontSize="small" /> GitHub
</MuiLink>
<MuiLink href="https://yourwebsite.com" target="_blank" rel="noopener" sx={linkStyle}>
<MuiLink href="https://sonnguyenhoang.com" target="_blank" rel="noopener" sx={linkStyle}>
<LanguageIcon fontSize="small" /> Website
</MuiLink>
<MuiLink href="https://linkedin.com/in/yourlinkedin" target="_blank" rel="noopener" sx={linkStyle}>
<MuiLink href="https://www.linkedin.com/in/hoangsonw/" target="_blank" rel="noopener" sx={linkStyle}>
<LinkedInIcon fontSize="small" /> LinkedIn
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

For target="_blank" links, rel should include noreferrer in addition to noopener to prevent leaking the referrer and to satisfy common security linters. Consider using rel="noopener noreferrer" for these external links.

Copilot uses AI. Check for mistakes.
<Reveal immediate>
<Stack spacing={3}>
<Chip label="Budget Management System" sx={{ alignSelf: 'flex-start', fontWeight: 600 }} />
<Typography variant="h2">Operate budgets with clarity, scale, and precision.</Typography>
Copy link

Copilot AI Feb 4, 2026

Choose a reason for hiding this comment

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

App.test.js asserts the home route contains text matching /welcome to your budget app/i, but this page currently renders a different hero heading. This will cause the Jest test to fail; either update the test expectation to match the current Home copy or reintroduce the expected text somewhere on the Home route (e.g., as the main heading).

Suggested change
<Typography variant="h2">Operate budgets with clarity, scale, and precision.</Typography>
<Typography variant="h2">Welcome to your budget app</Typography>

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation duplicate This issue or pull request already exists enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Projects

Status: In review

Development

Successfully merging this pull request may close these issues.

2 participants