/** * Not Found State - FakeMUI Component * 404 error page with fail whale illustration */ import React from 'react'; import Link from 'next/link'; import { Box, Typography, Button } from '../fakemui'; import styles from '../../scss/components/feedback/not-found.module.scss'; export interface NotFoundStateProps { /** Error code to display */ errorCode?: string | number; /** Title text */ title?: string; /** Description text */ description?: string; /** Primary action button text */ primaryActionText?: string; /** Primary action button href */ primaryActionHref?: string; /** Secondary action button text */ secondaryActionText?: string; /** Secondary action button href */ secondaryActionHref?: string; /** Additional CSS class */ className?: string; [key: string]: any; } /** * FailWhale SVG Illustration * Cute whale being lifted by birds with ocean waves */ const FailWhale: React.FC = () => ( ); /** * NotFoundState * * 404 error page component with fail whale illustration and action buttons. * * @example * ```tsx * * ``` */ export const NotFoundState: React.FC = ({ errorCode = '404', title = 'Page not found', description = "Looks like this page swam away! The workflow you're looking for doesn't exist or has been moved.", primaryActionText = 'Go to Dashboard', primaryActionHref = '/', secondaryActionText = 'View Workflows', secondaryActionHref = '/workflows', className, ...rest }) => { return ( {errorCode} {title} {description} {primaryActionHref && primaryActionText && ( )} {secondaryActionHref && secondaryActionText && ( )} Error code: {errorCode} • Page not found ); };