Landing Page Mobile Responsiveness Implementation #47
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request introduces several updates across multiple components to improve responsiveness, accessibility, and maintainability of the codebase. Key changes include adding responsive design breakpoints, updating class names for better readability and consistency, and improving UI components like the header, footer, and login page. Below is a breakdown of the most important changes:
Responsive Design Enhancements:
xs,sm,md,lg,xl,2xl) in the Tailwind configuration to support a wider range of screen sizes. (tailwind.config.ts, tailwind.config.tsR8-R15)UI/UX Improvements:
Headercomponent to use icons (Menu,X) for the mobile menu toggle, improved dropdown menu transitions, and adjusted padding for better alignment. (src/components/Header.tsx, src/components/Header.tsxL1-R52)Footercomponent with a more flexible layout, added responsive typography, and improved spacing for links and the Stellar icon. (src/components/Footer.tsx, src/components/Footer.tsxL1-R31)Logincomponent with responsive typography for headings and subheadings, added dynamic layouts for different screen sizes, and improved button styling for "Connect Wallet" and "Start Cleanup." (src/components/Login.tsx, [1] [2] [3]Code Consistency:
src/app/index.tsx, [1];src/app/page.tsx, [2];src/components/Footer.tsx, [3]Layout Adjustments:
RootLayoutto improve scrolling behavior and border visibility on different screen sizes. (src/app/layout.tsx, src/app/layout.tsxL21-R25)Images
Build
yarn run buildto avoid error when buildingCloses #44