By using useBreakpointValue from @chakra-ui/react set the base margin-top value to 105px and md to 0. Then used it on the Homepage and Lofi component to give some margin on mobile devices
Note: I'm using Prettier - Code formatter so it automatically formatted some of the codes.
Type of change
What sort of change have you made:
[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Code style update (formatting, local variables)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update
How Has This Been Tested?
I have tested it on my local machine.
Checklist:
[x] My code follows the guidelines of this project.
[x] I have performed a self-review of my own code.
[ ] I have commented my code, particularly wherever it was hard to understand.
[ ] I have made corresponding changes to the documentation.
[ ] My changes generate no new warnings.
[ ] I have added tests that prove my fix is effective or that my feature works.
[ ] Any dependent changes have been merged and published in downstream modules.
Related Issue
Closes: #112
Describe the changes you've made
By using useBreakpointValue from @chakra-ui/react set the base margin-top value to 105px and md to 0. Then used it on the Homepage and Lofi component to give some margin on mobile devices
Note: I'm using Prettier - Code formatter so it automatically formatted some of the codes.
Type of change
What sort of change have you made:
How Has This Been Tested?
I have tested it on my local machine.
Checklist:
Screenshots