From daaa789068cebb5fdfcea6197ade6e663be46e0f Mon Sep 17 00:00:00 2001 From: Bobby Date: Wed, 30 Nov 2022 23:16:07 -0500 Subject: socialify update --- src/components/error/error.tsx | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 src/components/error/error.tsx (limited to 'src/components/error/error.tsx') diff --git a/src/components/error/error.tsx b/src/components/error/error.tsx new file mode 100644 index 0000000..8a002f7 --- /dev/null +++ b/src/components/error/error.tsx @@ -0,0 +1,30 @@ +import React from 'react' +import Link from 'next/link' + +type ErrorProp = { + code: string + title: string + description: string +} + +const Error: React.FC = ({ code, title, description }) => ( +
+
+
+

{code}

+

+ {title} +

+

{description}

+
+ + Go back home + + +
+
+
+
+) + +export default Error -- cgit v1.2.3