Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create 404 not found page for SITE #211

Merged
merged 3 commits into from
Nov 4, 2024
Merged

Create 404 not found page for SITE #211

merged 3 commits into from
Nov 4, 2024

Conversation

mattystank
Copy link
Contributor

No description provided.

@drbgfc drbgfc changed the title Create not found page for SITE Create 404 not found page for SITE Nov 4, 2024
<Button
href="https://site.healthit.gov/"
variant="outlined"
target="_blank"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we want a new tab in this case. It should direct within the same window as this 404 page is no longer relevant after navigating.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggest something like this:

import Link from 'next/link';
import { Button } from '@mui/material';

<Link href="https://site.healthit.gov/" passHref>
  <Button variant="outlined" color="inherit">
    Navigate
  </Button>
</Link>

Copy link
Contributor

@drbgfc drbgfc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciate it man, on short notice. Looks good just one request.

@drbgfc drbgfc merged commit 97ac41b into dev Nov 4, 2024
3 checks passed
@drbgfc drbgfc deleted the matt-dev-404-page branch November 4, 2024 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants