This commit is contained in:
17
dev/routes/(shell)/_404.tsx
Normal file
17
dev/routes/(shell)/_404.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import type { Component } from 'solid-js';
|
||||
import { SSButton, SSCallout, SSHeader, SSSurface } from 'src';
|
||||
import { IconShield } from '../../demo/content';
|
||||
|
||||
const NotFoundPage: Component = () => (
|
||||
<div class="demo_page">
|
||||
<SSHeader title="Not found" subtitle="This route is not available in the demo." />
|
||||
<SSSurface class="demo_surface">
|
||||
<SSCallout color="amber" icon={<IconShield />}>
|
||||
The page you requested does not exist. Head back to the overview to continue exploring.
|
||||
</SSCallout>
|
||||
<SSButton onclick={() => (window.location.href = '#/')}>Back to overview</SSButton>
|
||||
</SSSurface>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default NotFoundPage;
|
||||
Reference in New Issue
Block a user