Merge pull request #169 from emrysal/feature/server-side-settings-redirect

Added redirects() entry to next.config.js, changed Settings url to /settings/profile
This commit is contained in:
Bailey Pumfleet
2021-05-07 20:41:43 +01:00
committed by GitHub
3 changed files with 10 additions and 20 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ export default function Shell(props) {
<Link href="/integrations">
<a className={router.pathname.startsWith("/integrations") ? "bg-gray-700 text-white px-3 py-2 rounded-md text-sm font-medium" : "text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"}>Integrations</a>
</Link>
<Link href="/settings">
<Link href="/settings/profile">
<a className={router.pathname.startsWith("/settings") ? "bg-gray-700 text-white px-3 py-2 rounded-md text-sm font-medium" : "text-gray-300 hover:bg-gray-700 hover:text-white px-3 py-2 rounded-md text-sm font-medium"}>Settings</a>
</Link>
</div>