Dun-sin / Code-Magic

Code Generator - Easily Generate CSS and Tailwind code based on your choice and input
https://code-magic.vercel.app
MIT License
380 stars 202 forks source link

feat: Add Toggle arrow functionality for Left Navigation Items #493

Closed Captainnik53 closed 11 months ago

Captainnik53 commented 11 months ago

Toggle arrow icon functionality added for left side navigation bar list items in docs

Fixes Issue #491

My PR closes #491

👨‍💻 Changes proposed(What did you do ?)

  1. Identify the iconfiy-icon element in the already added eventListener of icon element in main.ts
  2. Change the icon attribute of iconify-icon from material-symbols:arrow-drop-down-rounded to material-symbols:arrow-drop-up-rounded which will result in upwards arrow and vice versa.

✔️ Check List (Check all the applicable boxes)

Note to reviewers

📷 Screenshots

https://github.com/Dun-sin/Code-Magic/assets/57678528/63c5e920-71ae-4fea-8c6e-71abff98df3c

vercel[bot] commented 11 months ago

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

Name Status Preview Comments Updated (UTC)
code-magic ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 7, 2023 8:30am
Dun-sin commented 11 months ago

@Captainnik53

PR Compliance Checks

Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.

Issue Reference In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.

Please fix this error, if you don't know how, try this:

Note: you can edit your PR message, this PR won't be merged if the error isn't gone and you have a week max to fix it before the PR gets closed without being merged

Dun-sin commented 11 months ago

@Captainnik53 look at how others wrote their PR title, this is not a docs

Captainnik53 commented 11 months ago

@Captainnik53 look at how others wrote their PR title, this is not a docs

Sorry for the inconvenience :( Have updated the title.

Dun-sin commented 11 months ago

:tada: This PR is included in version 2.70.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: