Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make All BabyBeasts Game Pages Responsive for Optimal Cross-Device Experience #63

Open
jimenezz22 opened this issue Jan 22, 2025 · 17 comments
Assignees
Labels
FrontEnd App ticket Maintainer: Luis Medium ODBoost This issue will be available ONLY during the ODBoost Testnet

Comments

@jimenezz22
Copy link
Contributor

Issue: Make All BabyBeasts Game Pages Responsive for Optimal Cross-Device Experience 📱💻


Description

This task involves ensuring that all existing game pages in the BabyBeasts application are fully responsive, providing a seamless and visually appealing experience across devices (desktop, tablet, and mobile). Each page should adapt gracefully to different screen sizes while maintaining usability and aesthetic consistency.

The current pages requiring responsiveness are:

  1. Home
  2. Connect
  3. Choose Your Beast
  4. Spawn Beast
  5. Tamagotchi

These pages contain key interactive and visual elements that need proper scaling, positioning, and alignment on smaller screens.


Tasks

Audit Current Pages 🔍

  1. Review the existing layout and design of all pages on different screen sizes.
  2. Identify issues such as:
    • Overlapping elements.
    • Text or buttons being cut off.
    • Images not scaling properly.
    • Content requiring horizontal scrolling.

Responsive Layout Implementation 🛠️

  1. General Layouts:

    • Use a mobile-first approach with scalable grid or flexbox layouts.
    • Add CSS media queries for breakpoints (e.g., 320px, 768px, 1024px).
  2. Page-Specific Adjustments:

    • Home:
      • Ensure the central image and "Connect and Start Play" button are centered and scale proportionally.
      • Adjust the header/logo placement for smaller screens.
    • Connect:
      • Make the wallet connection prompt and button easily tappable and readable.
      • Ensure adequate spacing around elements.
    • Choose Your Beast:
      • Adjust the grid of beasts to display fewer items per row on smaller screens.
      • Ensure beast cards and the "Spawn" button remain legible and accessible.
    • Spawn Beast:
      • Scale the beast image and stats display dynamically.
      • Ensure the action buttons (e.g., "Spawn New Beast", "Disconnect") are appropriately spaced and tappable.
    • Tamagotchi:
      • Scale the Tamagotchi interface, ensuring the stats bar, actions (e.g., Feed, Sleep, Clean), and beast details are readable and accessible.
      • Ensure no overlapping or cut-off content for devices in portrait mode.

Optimize Visuals 🎨

  1. Ensure images and animations are responsive without pixelation or distortion.
  2. Adjust font sizes dynamically for headings, body text, and buttons based on screen size.

Test Across Devices ✅

  1. Test each page on:
    • Popular mobile devices (e.g., iPhone, Samsung Galaxy, Pixel).
    • Tablets (e.g., iPad, Surface Pro).
    • Desktop browsers with resizable windows.
  2. Use developer tools like Chrome DevTools, BrowserStack, or Figma Mirror to simulate various screen sizes.

Deliverables 📂

  • Fully responsive versions of all game pages: Home, Connect, Choose Your Beast, Spawn Beast, and Tamagotchi.
  • CSS updates with appropriate media queries.
  • Verified layouts through cross-device testing.
  • Screenshots showcasing responsive behavior on different screen sizes.

Acceptance Criteria 🎯

  1. All pages adapt seamlessly to various screen sizes.
  2. No overlapping, cut-off, or misplaced elements on any device.
  3. All interactive elements (buttons, cards, sliders) are easily tappable on smaller screens.
  4. Visual consistency with the BabyBeasts theme is maintained across devices.

Additional Notes 📝

  • Maintain alignment with existing BabyBeasts design standards and aesthetic.
  • Ensure that changes are efficient and do not degrade performance.
  • Collaborate with the design team if necessary for guidance on responsive scaling.

@jimenezz22 jimenezz22 added FrontEnd App ticket Maintainer: Luis Medium ODBoost This issue will be available ONLY during the ODBoost labels Jan 22, 2025
@Stepcu
Copy link

Stepcu commented Jan 22, 2025

Hi!


I'm Stef, a developer experienced in front-end technologies such as React and Vanilla JS with over 3 years of experience. I'm new to this platform, and I found out about Only Dust through an amazing community called Dojo Coding. I'm very excited to contribute to your project!

The issue you mentioned can be addressed by:

I will begin by designing the BabyBeasts app pages with a mobile-first strategy. This involves initially crafting the layouts for mobile screens using flexbox and CSS grid to create flexible and scalable designs. Ensuring a strong mobile foundation is key to good responsiveness.
Following the mobile design, I will implement CSS media queries for key breakpoints like 768px for tablets and 1024px for desktops. This will allow me to adjust the layout, such as changing the flexbox direction or altering grid configurations to suit larger screens, ensuring we maintain a consistent and aesthetic experience as the screen size increases.
I plan to thoroughly test each page on a variety of devices, ensuring that they adapt smoothly and maintain usability across all screens. Based on these tests, I will make necessary adjustments to perfect the user experience, ensuring consistency and an appealing interface on all devices.

Please check my GitHub repository: https://github.com/Stepcu

@Dprof-in-tech
Copy link

I would love to work on this issue.

@zintarh
Copy link

zintarh commented Jan 22, 2025

Can I jump on this task?

I would ensure layouts adjust fluidly by using flexible units and scalable design techniques. I’d review each page to identify elements that need resizing or repositioning and apply the necessary adjustments to maintain usability.

@Emmzyemms
Copy link

I will to make All BabyBeasts Game page responsive.

@salazarsebas
Copy link

My background

I'm a software engineer and passionate about solving problems, I've been contributing to open source software for a few months and it's an experience that has taught me a lot and I really like to contribute to other projects. I am a member of the Dojo Coding community⛩️. I will dedicate all my effort to complete this issue in the best way.

@Steph3097
Copy link

Hello! Im Sttef
I am excited to contribute on this issue. I’m Part of Dojo Coding team and I have experience in front-end development, I specialize in building responsive, intuitive, and visually engaging interfaces.
To address this issue, I propose the following approach:
-Review all the current pages
-Start making them responsive for all screen sizes using mobile-first approach
-Check that everything is working and looking good

Looking forward to contribute in this project! thank you!

@chiscookeke11
Copy link

Can I take care of this issue?

@ShantelPeters
Copy link

I'd love to give this a go.

@abdegenius
Copy link

Can I work on this, please?

@respp
Copy link

respp commented Jan 22, 2025

Hello @jimenezz22! I am Renzo Barcos a Dojo Coding member⛩️

The previous ODHack, I had the pleasure of contributing by designing assets for a baby beast, and I would love to continue as a collaborator on the project, but this time developing.

I’d be happy to take on creating the guide. As a full-stack developer with strong technical programming skills, I specialize in creating clean, efficient, and scalable solutions.

For more: my website: www.renzobarcos.site

Steps to Resolve:

1) Audit Current Pages
  • Review the layout and design of the Home, Connect, Choose Your Beast, Spawn Beast, and Tamagotchi pages on different screen sizes (desktop, tablet, mobile).
  • Identify issues such as overlapping elements, cut-off text or buttons, improperly scaled images, and content that requires horizontal scrolling.
2) Implement Responsive Layouts
  • Use a mobile-first approach with flexible grid or flexbox layouts to ensure the pages scale properly on smaller screens.
  • Incorporate CSS media queries for breakpoints (e.g., 320px, 768px, 1024px) to handle different screen sizes effectively.
3) Apply Page-Specific Adjustments
  • Home: Center the main image and "Connect and Start Play" button, ensuring they scale proportionally. Adjust header/logo placement for smaller screens.
  • Connect: Make the wallet connection prompt and button easy to tap and read. Add enough spacing around the elements for touch accessibility.
  • Choose Your Beast: Adjust the beast selection grid to display fewer items per row on smaller screens, ensuring readability and accessibility of the cards and the "Spawn" button.
  • Spawn Beast: Ensure dynamic scaling of the beast image and stats. Adjust spacing and tappability of action buttons like "Spawn New Beast" and "Disconnect".
  • Tamagotchi: Scale the interface so that stats, actions (Feed, Sleep, Clean), and beast details are readable. Avoid overlapping or cut-off content, especially for portrait mode on devices.
4) Optimize Visuals
  • Ensure that all images and animations are responsive and maintain quality (no pixelation or distortion) across screen sizes.
  • Adjust font sizes dynamically for headings, body text, and buttons to match the screen size (e.g., smaller fonts for mobile, larger for desktop).
5) Test Across Devices
  • Test each page on popular mobile devices (iPhone, Samsung Galaxy, Pixel), tablets (iPad, Surface Pro), and desktop browsers (using resizable windows).
  • Utilize developer tools like Chrome DevTools, BrowserStack, or Figma Mirror to simulate various screen sizes and ensure proper responsiveness.
6) Ensure Visual Consistency
  • Maintain the BabyBeasts branding and aesthetic across all screen sizes to ensure a cohesive experience.
  • Ensure no performance degradation with the responsive changes.
7) Document and Submit for Review
  • Once all pages are fully responsive, document the changes made (CSS updates, media queries, etc.).
  • Provide screenshots showcasing the responsive behavior across devices for review.
  • Submit the updates for testing and feedback from the design team to ensure alignment with BabyBeasts’ visual standards.

Estimated Time: 1-2 days

Thank you for the opportunity to contribute!

@JayWebtech
Copy link

I’d love to work on this task.
Here are some of my works in nextjs:

https://ecohotels.com/
https://jaykosai.vercel.app/
http://t.me/sapacoin_app_bot/start
https://gaskiya-baptist-church.com.ng/

@Wendyalbert
Copy link

Can I work on this, please?

@aniruddhaaps
Copy link

Hey there, I'm new to the platform and want to contribute to the issue
To resolve this issue, I will implement a mobile-first responsive design using scalable CSS flexbox/grid layouts and media queries for key breakpoints. I will optimize interactive elements and visuals for accessibility and readability across devices while maintaining alignment with the BabyBeasts theme. Cross-device testing will ensure seamless performance and usability.

@aidenwong812
Copy link

Could I be assigned to this?

@Supa-mega
Copy link

Can I take care of this issue?

@salazarsebas
Copy link

Hi, thank you very much for assigning me the issue, I will be working on it and I will send the pull request as soon as possible. Best regards! 🫡

@salazarsebas
Copy link

I am working on the issue, striving to do a good job, I will give updates soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
FrontEnd App ticket Maintainer: Luis Medium ODBoost This issue will be available ONLY during the ODBoost Testnet
Projects
None yet
Development

No branches or pull requests