You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### Description
<!-- Please add PR description (don't leave blank) - example: This PR
[adds/removes/fixes/replaces] the [feature/bug/etc] -->
This PR implements the `Profile` menu component with a menu items and
logout functionality; Also integrated the component into few selected
pages across the project... these are...
- The Homepage
- The Jargons Editor
#### Changes Made
- Introduced a new `Profile` component with a menu dropdown as an island
created using react.js
- Added a new `doLogout` action, which runs the task of removing the
`jargondevToken` value from user cookies
- Added a `/logout` page/route where the `doLogout` function is executed
for logout functionality; this redirects the user to either the homepage
or a value specified in the `return_to` param when the `/logout` route
is called
### Related Issue
<!-- Please prefix the issue number with Fixes/Resolves - example: Fixes#123 or Resolves#123 -->
Fixes#71
### Screenshots/Screencasts
<!-- Please provide screenshots or video recording that demos your
changes (especially if it's a visual change) -->
[screencast-localhost_4321-2024_11_20-02_03_20.webm](https://github.com/user-attachments/assets/4fb14c2d-f867-488f-99d5-2901842403d5)
### Notes to Reviewer
<!-- Please state here if you added a new npm packages, or any extra
information that can help reviewer better review you changes -->
NA
0 commit comments