Skip to content

Varkopat/refactor/661/refactor clancard component to match newest figma design - #674

Open
Varkopat wants to merge 11 commits into
devfrom
Varkopat/refactor/661-refactor-clancard-component-to-match-newest-figma-design
Open

Varkopat/refactor/661/refactor clancard component to match newest figma design#674
Varkopat wants to merge 11 commits into
devfrom
Varkopat/refactor/661-refactor-clancard-component-to-match-newest-figma-design

Conversation

@Varkopat

@Varkopat Varkopat commented Jul 27, 2026

Copy link
Copy Markdown

📄 Pull Request Overview

Closes #661

🔧 Changes Made

  1. Refactored the clan card UI to better align with the latest Figma design, including updated title styling, metadata positioning, and improved card spacing for a more polished presentation.

  2. Improved responsiveness and layout consistency across mobile and modular card variants by adjusting image container sizing, media queries, and related styles for better behavior across breakpoints.

Refactoring / Cleanup

Simplified and consolidated clan card-related styling in the shared mobile and modular card components to make the implementation easier to maintain and more consistent.


Checklist Before Submission

  • Functionality: I have tested my code, and it works as expected.
  • JSDoc: I have added or updated JSDoc comments for all relevant code.
  • Debugging: No console.log() or other debugging statements are left.
  • Clean Code: Removed commented-out or unnecessary code.
  • Tests: Added new tests or updated existing ones for the changes made.
  • Documentation: Documentation has been updated (if applicable).

📝 Additional Information

  • Screenshot:
screenshot
  • Known Issues:

I don't know if this is an already known issue, but for some reason the clans page doesn't load on the build server. On dev server it works fine.

Varkopat added 11 commits July 1, 2026 00:19
…ning with latest design specifications and improving layout for clan information display
…izes and media queries for improved responsiveness
…and align with Figma design, improving information display and visual consistency.

Updated MobileCard.module.scss so mobile clan cards now:

- allow ClanInfoBadges to wrap and use full width

- keep badge icons smaller and better spaced

- show ClanInfoStats in a flexible column instead of a cramped block

- let ClanInfoValue wrap cleanly on small screens

- render ClanLabels in a responsive row with smaller, pill-style chips

Validation:

Checked the updated stylesheet for errors: none found.
…ss and align with Figma design, improving visual consistency and information display.
… styles for improved layout and responsiveness
- Fix ClanCard layout flow and height constraints across mobile and tablet viewports
- Constrain image container max-height to stop clan logos from overlapping titles
- Apply primary color accent to clan titles with ellipsis text-overflow truncation
- Restructure stats and badge rows to stack vertically on narrow screens
…le so the title uses var(--primary-color) reliably.

Validation: checked the diff and selector location.

- Refactored media queries in MobileCard ClanCard.

- Polished the UI so it better matches Figma designs.
@Varkopat Varkopat linked an issue Jul 27, 2026 that may be closed by this pull request
5 tasks
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.

Refactor ClanCard Component to Match Newest Figma Design

1 participant