Skip to content

[BUG]: Change home link in RestrictedAccess to portfolio homepage #174

Description

@Gautam25Raj

Affected Apps / Packages

Portfolio (apps/portfolio)

Description

On the Restricted Access page, the "Back to Homepage" button redirects users to the main VeriWorkly website (veriworkly.com). It should take them back to the portfolio app homepage instead.

Steps to Reproduce

  1. Trigger the Restricted Access page on a non-admin account in production.
  2. Click "Back to Homepage".
  3. Observe that it redirects to https://veriworkly.com.

Expected Behavior

It should redirect to the portfolio landing page (/).

Environment Information

  • OS: All (Windows, macOS, Linux)
  • Browser: Chrome, Safari, Firefox

Relevant Logs

No response

Proposed Fix / Suggestions

Update RestrictedAccess.tsx:

  • Change the href of the "Back to Homepage" link to / instead of siteConfig.links.main.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinggood first issueGood for newcomers

Type

Fields

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions