chore: initial deploy for code base

This commit is contained in:
Thom Lamb
2026-05-12 09:39:01 -05:00
parent 6b355f82d1
commit 0a80e96b32
345 changed files with 37208 additions and 1 deletions
+21
View File
@@ -0,0 +1,21 @@
import React from 'react';
import Text from '../text';
export interface IErrorProps {
title?: string,
message?: string
}
const Error = (props: IErrorProps) => {
const { title = 'An unknown error occurred', message = 'Try again and contact us if the issue continues.' } = props;
return (
<div className='tempo-error-container'>
<div className="tempo-error">
<Text.Heading marginBottom={8}>{title}</Text.Heading>
<Text>{message}</Text>
</div>
</div>
)
};
export default Error;
+10
View File
@@ -0,0 +1,10 @@
import React from 'react';
import Error from './Error';
const NotAllowed = () => (
<Error
title="Permission denied"
message="You dont have permission to access this item. If you believe this is a mistake, please contact your administrator." />
);
export default NotAllowed;
+10
View File
@@ -0,0 +1,10 @@
import React from 'react';
import Error from './Error';
const NotFound = () => (
<Error
title="Item not found"
message="The item you requested has moved or no longer exists." />
);
export default NotFound;
+5
View File
@@ -0,0 +1,5 @@
import Error, { IErrorProps } from './Error';
import NotAllowed from './NotAllowed';
import NotFound from './NotFound';
export { Error, IErrorProps, NotAllowed, NotFound };