Initial commit of Dreams POS React template
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
import React from "react";
|
||||
import ImageWithBasePath from "../../../core/img/imagewithbasebath";
|
||||
import { Link } from "react-router-dom";
|
||||
import { all_routes } from "../../../Router/all_routes";
|
||||
|
||||
const Error404 = () => {
|
||||
const route = all_routes;
|
||||
return (
|
||||
<div className="main-wrapper">
|
||||
<div className="error-box">
|
||||
<div className="error-img">
|
||||
<ImageWithBasePath
|
||||
src="assets/img/authentication/error-404.png"
|
||||
className="img-fluid"
|
||||
alt
|
||||
/>
|
||||
</div>
|
||||
<h3 className="h2 mb-3">Oops, something went wrong</h3>
|
||||
<p>
|
||||
Error 404 Page not found. Sorry the page you looking for doesn’t exist
|
||||
or has been moved
|
||||
</p>
|
||||
<Link to={route.dashboard} className="btn btn-primary">
|
||||
Back to Dashboard
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Error404;
|
||||
@@ -0,0 +1,31 @@
|
||||
import React from "react";
|
||||
import ImageWithBasePath from "../../../core/img/imagewithbasebath";
|
||||
import { Link } from "react-router-dom";
|
||||
import { all_routes } from "../../../Router/all_routes";
|
||||
|
||||
const Error500 = () => {
|
||||
const route = all_routes;
|
||||
return (
|
||||
<div className="main-wrapper">
|
||||
<div className="error-box">
|
||||
<div className="error-img">
|
||||
<ImageWithBasePath
|
||||
src="assets/img/authentication/error-500.png"
|
||||
className="img-fluid"
|
||||
alt="img"
|
||||
/>
|
||||
</div>
|
||||
<h3 className="h2 mb-3">Oops, something went wrong</h3>
|
||||
<p>
|
||||
Server Error 500. We apologise and are fixing the problem Please try
|
||||
again at a later stage
|
||||
</p>
|
||||
<Link to={route.dashboard} className="btn btn-primary">
|
||||
Back to Dashboard
|
||||
</Link>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
};
|
||||
|
||||
export default Error500;
|
||||
Reference in New Issue
Block a user