feat(fe/visual): add 'notFound' banner
This commit is contained in:
parent
d022ea064d
commit
9995c94883
1 changed files with 28 additions and 0 deletions
28
src/client/web/src/components/visual/notfound.tsx
Normal file
28
src/client/web/src/components/visual/notfound.tsx
Normal file
|
@ -0,0 +1,28 @@
|
|||
import * as React from "react";
|
||||
import { List } from "immutable";
|
||||
|
||||
import { RiQuestionnaireFill } from "@react-icons/all-files/ri/RiQuestionnaireFill";
|
||||
|
||||
import { Flexbox } from "../layout/flexbox";
|
||||
|
||||
export interface Props {
|
||||
title: string;
|
||||
}
|
||||
|
||||
export const NotFoundBanner = (props: Props) => {
|
||||
return (
|
||||
<Flexbox
|
||||
children={List([
|
||||
<RiQuestionnaireFill size="4rem" className="margin-r-m red0-font" />,
|
||||
<span>
|
||||
<h3 className="title-l">{props.title}</h3>
|
||||
</span>,
|
||||
])}
|
||||
childrenStyles={List([
|
||||
{ flex: "auto", justifyContent: "flex-end" },
|
||||
{ flex: "auto" },
|
||||
])}
|
||||
className="margin-t-l margin-b-l"
|
||||
/>
|
||||
);
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue