Skip to content

Commit

Permalink
enhancement(frontend): replaced elements with antd components
Browse files Browse the repository at this point in the history
  • Loading branch information
bekossy committed Dec 10, 2024
1 parent da7c25f commit b1e5d68
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions agenta-web/src/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,11 @@ const useStyles = createUseStyles((theme: JSSTheme) => ({
minHeight: "100vh",
alignItems: "center",
justifyContent: "center",
"& h1": {
"& .ant-typography:nth-of-type(1)": {
fontSize: 24,
fontWeight: 600,
},
"& p": {
"& .ant-typography:nth-of-type(2)": {
fontSize: 14,
marginTop: 8,
},
Expand Down Expand Up @@ -210,8 +210,8 @@ const App: React.FC<LayoutProps> = ({children}) => {
if (appId && !currentApp)
return (
<div className={classes.notFoundContainer}>
<h1>404 - Page Not Found</h1>
<p>This page could not be found.</p>
<Typography.Text>404 - Page Not Found</Typography.Text>
<Typography.Text>This page could not be found.</Typography.Text>

<Button type="primary" onClick={() => router.push("/apps")}>
Back To Apps
Expand Down

0 comments on commit b1e5d68

Please sign in to comment.