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

Fixed Screens to adjust to mobile views #128

Merged
merged 5 commits into from
Nov 20, 2022
Merged

Conversation

izou3
Copy link
Contributor

@izou3 izou3 commented Sep 10, 2022

Issue Number(s): #100

This addresses the ticket number listed above.

What does this PR change and why?

Changes three of the screens on WheelRight to be mobile fluid that match the mobile design on figma. Only conflict with figma on desktop and mobile was the straight lines that pointed to the location on the map. Instead of doing that, just used a picture with an arrow already pointed to the location.

Checklist

  • Database schema docs have been updated or are not necessary
  • Code follows design and style guidelines
  • Code is commented with doc blocks
  • Tests have been written and executed or are not necessary
  • Latest code has been rebased from base branch (usually develop)
  • Commits follow guidelines (concise, squashed, etc)
  • Github issues have been linked in relevant commits
  • Relevant reviewers (Senior Dev/EM/Designers) have been assigned to this PR

Critical Changes

None. Just styling.

Related PRs

  • None

How to Test

Open up in browser and use the dev tools to try styling on different screen sizes.

@izou3 izou3 requested a review from its-edmund September 10, 2022 04:59
const locationPage = () => {
if (isPageMobile) {
return (
<ParallaxComponent pageIndex={pageIndex} transitionTime={1500} transitionDelay={0} styles={{ height: '100vh' }}>
Copy link
Member

Choose a reason for hiding this comment

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

Screenshot 2022-09-12 at 5 50 46 PM

Looks good but text needs to be left aligned and if possible, could you add in the location pointer for the map?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Hey Edmund, getting the location pointer will be a bit of challenge so currently it just uses an arrow on the image to point to the location as shown below.

image

@its-edmund
Copy link
Member

After that, LGTM. If you need help with package-lock conflict, lmk

@its-edmund its-edmund merged commit ec25c65 into main Nov 20, 2022
@its-edmund its-edmund deleted the WheelRight_Pages_MobileView branch November 20, 2022 07:47
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