Puskar-Roy / create-my-api

An Awesome API Library and a CLI, designed to accelerate the creation of Backend projects.
https://create-my-api.vercel.app
MIT License
31 stars 27 forks source link

ISSUE #93 (solved) Code Optimization and UI Enhancements for Navbar Component #94

Open Sumanth077s opened 1 month ago

Sumanth077s commented 1 month ago

🎯 Title and Issue Number

Closes #93

🗒️ Checklist:

Don't forget to show some support by ⭐ the repository!

Description:This pull request introduces several optimizations and minor UI improvements to the Navbar component. The changes improve code readability, maintainability, and styling consistency while preserving the original functionality.

Summary of Changes: Code Consistency:

Renamed alata to montserrat to align with the imported font's name. Renamed GIthubButton to GithubButton for consistent naming conventions. Logic Simplification:

Replaced redundant {""} fragments with clean syntax. Updated the toggleHamburger function to a concise arrow function. UI and Styling Improvements:

Enhanced animation using transition-transform. Adjusted spacing classes (e.g., mb-[50px] → mb-12) for better readability. Improved layout consistency for the hamburger menu and navigation items. Redundant Code Removal:

Removed unnecessary before: styles from

  • elements. Simplified component structure by eliminating extra wrapper elements. Readability Improvements:

    Organized related sections (e.g., logo and menu) for better clarity. Reformatted code with proper indentation for easier maintenance. Impact: Improved Code Quality: The component is now more readable and easier to maintain. Consistent UI: Enhanced layout and animation for a smoother user experience. Reduced Redundancy: Simplified logic and structure with no functional loss.

  • vercel[bot] commented 1 month ago

    The latest updates on your projects. Learn more about Vercel for Git ↗︎

    Name Status Preview Comments Updated (UTC)
    create-my-api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 20, 2024 1:15pm
    Puskar-Roy commented 1 month ago

    Hello @Sumanth077s, thank you for your pull request! We will review it shortly. 😇❣️ Your contributions help us grow and improve our project. Please make sure you have read and followed our CONTRIBUTING GUIDELINES. Your efforts are appreciated, and we value your participation in our community. Don't forget to ⭐ our repository! Happy coding!✨

    Sumanth077s commented 1 month ago

    Ok I'll do it

    Puskar-Roy commented 1 month ago

    Made changes now it shouldn't overlap

    this is the bug!

    Screenshot from 2024-10-18 16-41-40

    Puskar-Roy commented 1 month ago

    @Sumanth077s See :( Screenshot from 2024-10-20 18-14-09

    Sumanth077s commented 1 month ago

    How can I see the deployment after when I made changes

    Sumanth077s commented 1 month ago

    It's asking for team access

    Puskar-Roy commented 1 month ago

    Check once

    hey @Sumanth077s i can not give you the team access due to the privacy reasons