From e13e630cd6e4fc0b1ff92098a28a770794c7bb9a Mon Sep 17 00:00:00 2001 From: gabrhr <73925454+gabrhr@users.noreply.github.com> Date: Wed, 20 Apr 2022 10:19:29 -0500 Subject: =?UTF-8?q?A=C3=B1adir=20plantilla?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Base para front --- .../odiparpack/app/containers/NotFound/NotFound.js | 33 ++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 front/odiparpack/app/containers/NotFound/NotFound.js (limited to 'front/odiparpack/app/containers/NotFound/NotFound.js') diff --git a/front/odiparpack/app/containers/NotFound/NotFound.js b/front/odiparpack/app/containers/NotFound/NotFound.js new file mode 100644 index 0000000..4662a06 --- /dev/null +++ b/front/odiparpack/app/containers/NotFound/NotFound.js @@ -0,0 +1,33 @@ +import React from 'react'; +import { Helmet } from 'react-helmet'; +import brand from 'ba-api/brand'; +import { Route } from 'react-router-dom'; +import { ErrorWrap } from 'ba-components'; + +const title = brand.name + ' - Page Not Found'; +const description = brand.desc; + +const NotFound = () => ( + { + if (staticContext) { + staticContext.status = 404; // eslint-disable-line + } + return ( +
+ + {title} + + + + + + + +
+ ); + }} + /> +); + +export default NotFound; -- cgit v1.2.3