Skip to content

Redesign Android Apps section with modern responsive card layout#906

Open
aayushi2882 wants to merge 2 commits intofossasia:gh-pagesfrom
aayushi2882:redesign-android-apps-section
Open

Redesign Android Apps section with modern responsive card layout#906
aayushi2882 wants to merge 2 commits intofossasia:gh-pagesfrom
aayushi2882:redesign-android-apps-section

Conversation

@aayushi2882
Copy link

@aayushi2882 aayushi2882 commented Dec 9, 2025

This PR redesigns the Android Apps section of the FOSSASIA website by replacing the old image-grid layout with a modern, responsive card-based UI.
The new layout improves readability, UX consistency, and responsiveness across all screen sizes.

Key Improvements

✔️ Fully responsive Bootstrap-aligned 3-column card layout

✔️ Each card now includes:

  • app icon
  • app name
  • full screenshot
  • short description
  • Google Play / F-Droid / GitHub buttons

✔️ Proper scaling on browser zoom (no more fixed-height images)

✔️ Improved spacing, margins, and alignment

✔️ Cleaner, modern UI matching other sections of fossasia.org

✔️ Added subtle shadows + hover effect for better visual clarity

Why this change?

The previous section:

  • looked cluttered
  • used inconsistent screenshot sizes
  • caused horizontal scrolling issues
  • did not scale properly on zoom
  • did not follow modern FOSSASIA UI patterns

This redesign makes the section more professional, readable, and maintainable.

Before:
image

After:
image

Related Issue
Fixes: #905

Request

Please review and let me know if:

  • spacing/margins should be adjusted further
  • cards should include additional metadata
  • screenshot sizes need standardization

Thank you!

Summary by Sourcery

Redesign the Android Apps section of the homepage to use a modern, responsive card-based layout with improved content structure and visuals.

New Features:

  • Introduce a responsive card grid for showcasing Android apps with icons, screenshots, descriptions, and store/GitHub links.
  • Add dedicated styling for the Android apps section to align spacing, shadows, and hover effects with the rest of the site.
  • Include a link to discover more apps on the FOSSASIA Play Store developer page.

Enhancements:

  • Replace the previous Android apps image grid section with a cleaner, more consistent layout that avoids horizontal scrolling and scales better across devices.

@sourcery-ai
Copy link

sourcery-ai bot commented Dec 9, 2025

Reviewer's Guide

Redesigned the Android Apps section into a modern, responsive Bootstrap-based card grid with new CSS styling, replacing the old image grid while preserving app links and metadata.

Flow diagram for the new Android Apps responsive card layout structure

flowchart TD
  A[section_android_sponsors] --> B[div_container]
  B --> C[row_header]
  C --> D[col_full_width_heading]
  D --> E[h1_Android_Apps_of_FOSSASIA]

  B --> F[row_android_apps_grid]

  subgraph Card_columns
    direction LR
    F --> G1[col_md_4_col_sm_6_col_xs_12_SUSI]
    F --> G2[col_md_4_col_sm_6_col_xs_12_PSLab]
    F --> G3[col_md_4_col_sm_6_col_xs_12_Phimpme]
    F --> G4[col_md_4_col_sm_6_col_xs_12_Badge_Magic]
    F --> G5[col_md_4_col_sm_6_col_xs_12_Eventyay_Attendee]
    F --> G6[col_md_4_col_sm_6_col_xs_12_Eventyay_Organizer]
  end

  G1 --> H1[div_app_card]
  G2 --> H2[div_app_card]
  G3 --> H3[div_app_card]
  G4 --> H4[div_app_card]
  G5 --> H5[div_app_card]
  G6 --> H6[div_app_card]

  subgraph Card_structure_template
    direction TB
    HT[div_app_card]
    HT --> I[div_app_card_header]
    I --> J[img_app_icon]
    I --> K[h4_app_title]
    HT --> L[img_app_screenshot]
    HT --> M[p_app_desc]
    HT --> N[div_app_buttons]
    N --> O[link_Google_Play_store_badge]
    N --> P[link_F_Droid_store_badge_optional]
    N --> Q[link_GitHub_badge]
  end

  B --> R[col_full_width_footer]
  R --> S[Text_Find_more_apps_on_Play_Store_link]
Loading

File-Level Changes

Change Details Files
Introduce dedicated CSS for Android app cards to create a modern, responsive card layout and improve visuals and spacing.
  • Add section-level styling for #android including padding and background color to align with site sections.
  • Define .app-card and related utility classes (header, icon, title, screenshot, description, buttons) with rounded corners, box shadows, hover animation, and refined typography.
  • Set responsive max-width and max-height rules plus media queries to ensure cards scale across desktop, tablet, and mobile without fixed heights.
  • Prevent horizontal overflow on the Android section and grid wrapper to avoid scrolling issues.
index1.html
Replace the old Android Apps section markup with a Bootstrap-based 3-column card grid, each card containing icon, screenshot, description, and store/GitHub buttons.
  • Comment out the previous #android sponsors section block to keep it for reference while disabling it.
  • Add a new #android section using a Bootstrap container and row structure, with col-md-4/col-sm-6/col-xs-12 columns for responsive 3-2-1 layouts.
  • For each app (SUSI.AI, PSLab, Phimp.me, Badge Magic, Eventyay Attendee, Eventyay Organizer), create a semantic card structure including header (icon + title), main screenshot, short description, and action buttons.
  • Wire buttons to existing or canonical Google Play, F-Droid, and GitHub URLs and add aria-labels/alt text for better accessibility.
  • Add a footer note linking to the FOSSASIA developer page on the Play Store for discovering more apps.
index1.html

Assessment against linked issues

Issue Objective Addressed Explanation
#905 Replace the existing Android Apps section layout with a modern, card-based design where each app is shown in a structured card containing icon, app name, screenshot, short description, and store/GitHub buttons.
#905 Improve responsiveness and visual behavior so screenshots scale properly (no fixed heights), the layout adapts across screen sizes, and horizontal overflow issues are avoided.
#905 Enhance UI consistency and modern look through improved spacing/margins and interactive visual treatments such as hover effects and soft shadows, in line with the rest of the site’s design language.

Possibly linked issues


Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey there - I've reviewed your changes - here's some feedback:

  • Consider moving the new #android and .app-card CSS rules from the inline <style> block into the existing stylesheet to keep presentation concerns centralized and avoid bloating the HTML template.
  • The old Android section is fully commented out rather than removed; if it’s no longer needed, deleting it instead of keeping large commented blocks will make the file easier to maintain.
  • Several cards reuse the same image for both the icon and the screenshot (e.g., SUSI.AI-Android.jpg and others); if separate assets are available, using distinct icon and screenshot images will better match the intended card structure.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Consider moving the new `#android` and `.app-card` CSS rules from the inline `<style>` block into the existing stylesheet to keep presentation concerns centralized and avoid bloating the HTML template.
- The old Android section is fully commented out rather than removed; if it’s no longer needed, deleting it instead of keeping large commented blocks will make the file easier to maintain.
- Several cards reuse the same image for both the icon and the screenshot (e.g., `SUSI.AI-Android.jpg` and others); if separate assets are available, using distinct icon and screenshot images will better match the intended card structure.

## Individual Comments

### Comment 1
<location> `index1.html:43-52` </location>
<code_context>
+	<style>
</code_context>

<issue_to_address>
**issue (bug_risk):** The new <style> block is placed outside the <head>, which is invalid HTML and may cause inconsistent styling behavior.

This `<style>` tag appears after `</head>` and before `<body>`, which violates HTML structure and can cause inconsistent behavior across browsers and tools. Please move the entire style block into the `<head>` (or an external CSS file) to keep the document valid.
</issue_to_address>

### Comment 2
<location> `index1.html:106-107` </location>
<code_context>
+  .app-screenshot { max-height: 360px; }
+}
+
+/* safety: prevent accidental horizontal overflow */
+#android, .android-apps-grid { overflow-x: hidden; }
+
+	</style>
</code_context>

<issue_to_address>
**suggestion (bug_risk):** Using overflow-x: hidden on the section may hide real layout issues or clipped content on smaller screens.

Applying `overflow-x: hidden` to `#android` and `.android-apps-grid` hides horizontal overflow instead of addressing its cause, and may clip badges or screenshots on smaller viewports. Consider removing this and correcting layout with padding/margin or image-size adjustments so content fits naturally within the viewport.

Suggested implementation:

```
/* responsiveness: 3 cols desktop, 2 cols tablet, 1 col mobile (Bootstrap handles columns) */
@media (max-width: 991px) {
  .app-card { max-width: 320px; }
  .app-screenshot { max-height:380px; }
}
@media (max-width: 575px) {
  .app-card { max-width: 100%; padding:12px; }
  .app-screenshot { max-height: 360px; }
}

/* ensure screenshots scale within their card to avoid horizontal overflow */
.app-screenshot {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ensure grid content respects container width without hiding overflow */
.android-apps-grid {
  box-sizing: border-box;
  width: 100%;
}

	</style>

```

Depending on the rest of the layout, you may also want to:
1. Verify that any badge or logo images inside `.android-apps-grid` also have `max-width: 100%; height: auto;` to prevent them from exceeding their container width.
2. Check for fixed-width margins or negative margins on `.app-card`, `.android-apps-grid`, or their parents that might still cause overflow and adjust them (e.g., use percentage-based widths or reduce horizontal padding on smaller breakpoints).
</issue_to_address>

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@aayushi2882
Copy link
Author

All requested improvements have been completed:

✔ Moved new CSS rules from inline <style> to the main stylesheet
✔ Removed the old commented-out Android section for cleaner maintainability
✔ Added proper distinct icons for SUSI.AI, Eventyay, and other apps
✔ Updated card headers to use the new icons
✔ Verified responsive behavior across screen sizes

image

Please let me know if any other correction has to be made
Thank you

@aayushi2882
Copy link
Author

Just a gentle follow-up — happy to make any further changes if needed.
Thanks!
@mariobehling @hongquan

@aayushi2882
Copy link
Author

Just a gentle follow-up — happy to make any further changes if needed.
Thanks!
@mariobehling @hongquan

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.

Redesign Android Apps Section UI with Modern Card Layout for Better UX and Consistency

1 participant