Sha256: c4e3ae80fcc8aa73e1a2b9c1ab3186d0f9154b6e495446fe70040af41bf64e56

Contents?: true

Size: 721 Bytes

Versions: 1

Compression:

Stored size: 721 Bytes

Contents

import React from 'react';
import {Page, EmptyState} from '@shopify/polaris';
import {Status, StatusCode} from '@shopify/react-network';

import {emptyStateIllustration} from './illustrations';

export function NotFound() {
  return (
    <>
      <Status code={StatusCode.NotFound} />
      <Page title="">
        <EmptyState
          heading="The page you’re looking for couldn’t be found"
          image={emptyStateIllustration}
          action={{
            content: 'Go to home',
            url: '/',
          }}
        >
          <p>
            Check the web address and try again, or try navigating to the page
            from home.
          </p>
        </EmptyState>
      </Page>
    </>
  );
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
quilt_rails-3.1.0 lib/generators/quilt/demo_app/templates/app-ui/components/NotFound/NotFound.tsx