Skip to content

Fix Footer Alignment & Improve Mobile Responsiveness #fix1#47

Open
senpai60 wants to merge 2 commits intoopenfresno:mainfrom
senpai60:fix/footer-mobile-alignment
Open

Fix Footer Alignment & Improve Mobile Responsiveness #fix1#47
senpai60 wants to merge 2 commits intoopenfresno:mainfrom
senpai60:fix/footer-mobile-alignment

Conversation

@senpai60
Copy link

# Footer Alignment & Mobile Responsiveness Fix

## Overview
This document outlines the modifications made to the `Footer` component and its associated styles (`footer.css`) to address alignment issues on mobile devices and enhance the overall visual hierarchy.

## Key Changes

### 1. Structural Layout Updates (CSS Grid & Flexbox)
- **Responsive Grid System**: Replaced the basic `1fr` grid with a more robust responsive layout.
- **Mobile**: Single column stack with increased gap (`3rem`) for better touch target separation.
- **Desktop (`min-width: 1024px`)**: Implemented a `2fr 1fr 1fr` grid to allocate more space to the description/mission statement while keeping links and social icons compact.
- **Flexbox Alignment**:
- `footer-bottom-content`: adopted `flex-direction: column-reverse` on mobile devices. This ensures legal/copyright text appears below navigation links on small screens, following standard mobile UX patterns.
- `footer-socials`: Aligned to `flex-end` on desktop to balance the layout against the left-aligned content.

### 2. Visual Enhancements & Typography
- **Animated Interactions**: Replaced standard `border-bottom` underlines with a CSS transition effect (`transform: scaleX`) on `.footer-link--underline`. This creates a smooth left-to-right underline animation on hover.
- **Typography**:
- Updated font weights to `500` for better readability.
- Added "Community" and "Follow Us" section headers in uppercase, tracking-wider styles to establish clear visual hierarchy.
- Standardized font sizes and colors using Tailwind utility classes (e.g., `text-gray-600`, `text-sm`).
- **Clean Cleanup**: Removed temporary debug styles (`background-color: red;`).

### 3. Component Refactoring (`footer.jsx`)
- **Semantic Grouping**: Grouped navigation links into a "Community" section and social icons into a "Follow Us" section.
- **Content Updates**:
- Added "Fiscally sponsored by Root Access" block with proper spacing.
- Renamed link labels for clarity (e.g., "meetup" → "Weekly Meetup").
- Implemented dynamic date rendering for the copyright year (`new Date().getFullYear()`).
- **Tailwind Integration**: Utilized Tailwind utility classes for spacing (`mb-6`, `space-y-4`) and responsive visibility (`hidden md:block`) to reduce custom CSS bloat.

## Files Modified
- `src/components/layout/footer.css`
- `src/components/layout/footer.jsx`

@natebass
Copy link
Member

This pull request is out of scope. For example, it changes the package-lock.json file. Please remove that. Also, try to simplify the changes and close your other PR so that I know what to review.

@senpai60
Copy link
Author

This pull request is out of scope. For example, it changes the package-lock.json file. Please remove that. Also, try to simplify the changes and close your other PR so that I know what to review.

I’ve updated the package-lock.json, the issue was related to the "peer": true entry, which has now been corrected after reviewing the worktree.

You can safely switch to the fix/footer-mobile-alignment branch to review the changes. I’ve also attached a screenshot for reference.

If you notice anything that still needs adjustment, please let me know.

Screenshot 2026-02-13 113658

@natebass natebass self-requested a review February 19, 2026 04:39
@natebass
Copy link
Member

I made some updates to the footer in #49. @senpai60 Let me know if you have any improvements or corrections.

Copy link
Author

@senpai60 senpai60 left a comment

Choose a reason for hiding this comment

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

Tested across multiple screen sizes (mobile, tablet, desktop). Footer alignment and responsiveness look correct. Changes are properly scoped. No further issues from my side.

Copy link
Member

Choose a reason for hiding this comment

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

The import contact.css is duplicated. Please remove this and the changes to package-lock.json.

@senpai60 senpai60 requested a review from natebass March 17, 2026 02:58
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