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

Add modal to new home page #242

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

cryptofox17
Copy link
Contributor

Related Issue

Fixes: #207

Prosposed Changes

  • added modal to new home page

Screenshots

Screenshot (150)
Screenshot (149)

@cryptofox17
Copy link
Contributor Author

@garg3133 made a pr for this already but there were too many conflicts so i decided to make a new one.

@garg3133
Copy link
Owner

@cryptofox17 Sorry for telling you this late, but can you use the Bootstrap modals for this issue? We are using bootstrap on our new home page, which we were not using in the older home page, that's why we needed to implement everything ourselves. But as we are using Bootstrap on this page, implementing the Donate Us modal using bootstrap would be a lot cleaner and easier to read.

@garg3133
Copy link
Owner

Other than that, the design looks good. Just a little space is required above that OR line and you can avoid using that circle around the close button, which looks a bit odd.

@cryptofox17
Copy link
Contributor Author

@garg3133 I have removed most of the custom css and added required bootstrap classes instead
Screenshot (152)
Screenshot (151)

@garg3133
Copy link
Owner

@cryptofox17 I not only meant using bootstrap classes for stuff line margins, centre-aligning, etc., but I also meant using Bootstrap for modals itself.

See https://www.w3schools.com/bootstrap4/bootstrap_modal.asp

@cryptofox17
Copy link
Contributor Author

@garg3133 done

Screenshot (157)
Screenshot (156)

@garg3133
Copy link
Owner

@cryptofox17 I am currently busy with my college project and assignment submissions followed by my end-sem exams, so I might not be available for a few days to review your PR. Sorry for the delay.

@cryptofox17
Copy link
Contributor Author

No problem, good luck with the exams

Copy link
Collaborator

@tushhr tushhr left a comment

Choose a reason for hiding this comment

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

Hey @cryptofox17, sorry for such a late review. I have reviewed your PR and it was almost perfect! I have posted a few suggestions kindly check.

Also @cryptofox17 there is a major bug in your PR, whenever I open the modal and close it, it literally adds the padding in the body, I am attaching the screenshot for reference

image

Can you see that right padding? (Image is after 5-6 attempts of opening and closing the Modal)
Actually, it's the issue of bootstrap itself, and they have one PR open for it, but don't know when they will merge it, till then you can fix it manually.

<h4>Account No :</h4>
<p>xxxxxxxxxxx</p>
<h4>IFSC Code :</h4>
<p>XXXXxxxxxxx</p>
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you please put starting capital X as regular x, because the details are not going to change soon and it's not looking good from a design perspective.

kids. Contact:
</p>
<div class="row mb-2">
<div class="col-lg-6 text-center my-2">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you use col-md-6 instead of col-lg-6, it's better in that way.

<span aria-hidden="true">&times;</span>
</button>
</div>
<div class="modal-body container">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you change the background color from white to #FEF8F5 because that's the color I have used in the Figma File?

<div class="modal fade" id="don-modal" tabindex="-1" role="dialog" aria-labelledby="don_modal" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header text-center">
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can you add Shadow here? Shadow in header, title, and the cross button, can you?

@tushhr
Copy link
Collaborator

tushhr commented May 6, 2021

Also one thing I forgot to add, the color of the Donate in the navbar is "White", and in your code, it changes to black, can you fix it too?

@cryptofox17
Copy link
Contributor Author

@tushhr done, let me know if its fine now

Screenshot (181)

@tushhr
Copy link
Collaborator

tushhr commented May 7, 2021

Awesome @cryptofox17!
Sorry but I don't have the rights to merge any PR, so @garg3133 will review it one final time and merge it soon. Meanwhile, you can take up other issues.

Sorry for the inconvenience and thanks for your contribution🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Improving the UI donate modal
3 participants