forked from sombochea/verdaccio-ui
feat: new not found component (#170)
* refactor: updated not found component * chore: removed react-router * refactored: applied feedbacks * fix: removed doc folder * refactor: rollback yarn.lock
This commit is contained in:
committed by
Juan Picado @jotadeveloper
parent
7529c02e58
commit
fdbdb6303b
@@ -1,3 +1,33 @@
|
||||
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
||||
|
||||
exports[`<NotFound /> component should load the component in default state 1`] = `<withRouter(WithWidth(NotFound)) />`;
|
||||
exports[`<NotFound /> component should load the component in default state 1`] = `
|
||||
<div
|
||||
class="MuiBox-root MuiBox-root-2"
|
||||
data-testid="404"
|
||||
>
|
||||
<img
|
||||
alt="404 - Page not found"
|
||||
class="css-17y48z2 emotion-0"
|
||||
src="[object Object]"
|
||||
/>
|
||||
<h4
|
||||
class="MuiTypography-root not-found-text css-7pe7kh emotion-1 MuiTypography-h4"
|
||||
>
|
||||
Sorry, we couldn't find it...
|
||||
</h4>
|
||||
<button
|
||||
class="MuiButtonBase-root MuiButton-root MuiButton-contained"
|
||||
tabindex="0"
|
||||
type="button"
|
||||
>
|
||||
<span
|
||||
class="MuiButton-label"
|
||||
>
|
||||
Go to the home page
|
||||
</span>
|
||||
<span
|
||||
class="MuiTouchRipple-root"
|
||||
/>
|
||||
</button>
|
||||
</div>
|
||||
`;
|
||||
|
||||
Reference in New Issue
Block a user