Skip to content

Conversation

@Rutjake
Copy link
Contributor

@Rutjake Rutjake commented Dec 10, 2024

Team member logos will enlarge when clicked and return to their original size when clicked again.
Added media query for smaller screens (padding) to avoid the enlarged logo going partially off screen.
The text in the member task section has been made slightly smaller for better visibility.

closes 131

🔧 Changes Made

  1. [Briefly describe changes you made]
    Added useState for click handling and added css rules for text and logo

  2. [Any refactoring or clean-up tasks]


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.

📝 Additional Information

Provide any additional context or information that reviewers may need to know:

  • Screenshots: [Include any screenshots or videos if the changes affect the UI]
Desktop_Teampage.mp4
Mobile_TeamPage.mp4
  • Known Issues: [List any known issues or limitations]
    Implementing Directus changed the page layout for some reason. So it may be necessary to make a new issue for adjusting the text spacing vertically to clarify the content on the page. Not included in this issue and may require larger changes elsewhere in the code.

@leolabdev
Copy link
Member

@Rutjake Does this work well on mobile phones too?

@Rutjake
Copy link
Contributor Author

Rutjake commented Dec 10, 2024

I can only test it in a simulation (browser) because the data retrieval doesn't work if I test it on my phone for some reason. Responsiveness works in the browser.

Copy link
Member

@Skoivumaki Skoivumaki left a comment

Choose a reason for hiding this comment

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

Logos are way too small when enlargened on mobile devices, tablet and desktop are fine.
Maybe 2x or 3x logo size on small devices?
image
Very intresting choice of resolution and crop on your example videos :D

@leolabdev leolabdev merged commit 6bff584 into dev Dec 12, 2024
1 of 2 checks passed
@leolabdev leolabdev deleted the jarno/enhancement/131-team-page-enhancement-3 branch December 12, 2024 10:17
@leolabdev leolabdev restored the jarno/enhancement/131-team-page-enhancement-3 branch December 12, 2024 10:22
@leolabdev
Copy link
Member

@Rutjake @Skoivumaki I had to merge (since they want the update before 18.12), but you can continue working on this branch. Also, consider adjusting the spacing between texts, headings, and so on.
image

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.

4 participants