Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 16 additions & 17 deletions components/Layout.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@ export default function Layout(props) {
<>
<div className="flex px-2 lg:px-0">
<div className="flex-shrink-0 flex items-center">
<Link legacyBehavior href="/app">
<a>
<img className="h-8 w-auto" src="/SuperApp.svg" alt="SuperApp Logo" />
</a>
<Link href="/app">
<img className="h-8 w-auto" src="/SuperApp.svg" alt="SuperApp Logo" />
</Link>
</div>
<nav
Expand Down Expand Up @@ -169,10 +167,12 @@ export default function Layout(props) {
</div>
<div className="mt-3 px-2 space-y-1">
{userNavigation.map((item) => (
<Link legacyBehavior key={item.name} href={item.href}>
<a className="block rounded-md px-3 py-2 text-base text-gray-900 font-medium hover:bg-gray-100 hover:text-gray-800">
{item.name}
</a>
<Link
key={item.name}
href={item.href}
className="block rounded-md px-3 py-2 text-base text-gray-900 font-medium hover:bg-gray-100 hover:text-gray-800"
>
{item.name}
</Link>
))}
</div>
Expand Down Expand Up @@ -218,15 +218,14 @@ export default function Layout(props) {
{userNavigation.map((item) => (
<Menu.Item key={item.name}>
{({ active }) => (
<Link legacyBehavior href={item.href}>
<a
className={classNames(
active ? 'bg-gray-100' : '',
'block px-4 py-2 text-sm text-gray-700',
)}
>
{item.name}
</a>
<Link
href={item.href}
className={classNames(
active ? 'bg-gray-100' : '',
'block px-4 py-2 text-sm text-gray-700',
)}
>
{item.name}
</Link>
)}
</Menu.Item>
Expand Down
6 changes: 2 additions & 4 deletions components/LoginWithEmail.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,8 @@ export default class LoginWithEmail extends React.Component {
</div>
<p className="mt-4 text-center text-sm text-gray-600">
Or{' '}
<Link legacyBehavior href="/app/sso">
<a className="font-medium text-blue-600 hover:text-blue-500">
continue with SAML SSO
</a>
<Link href="/app/sso" className="font-medium text-blue-600 hover:text-blue-500">
continue with SAML SSO
</Link>
</p>
</div>
Expand Down
6 changes: 2 additions & 4 deletions components/LoginWithSSO.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,8 @@ export default class LoginWithSSO extends React.Component {
</div>
<p className="mt-4 text-center text-sm text-gray-600">
Or{' '}
<Link legacyBehavior href="/app/login">
<a className="font-medium text-blue-600 hover:text-blue-500">
continue with Magic Link
</a>
<Link href="/app/login" className="font-medium text-blue-600 hover:text-blue-500">
continue with Magic Link
</Link>
</p>
</div>
Expand Down
Loading