-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into bugfix/map-bottom-popup-card
- Loading branch information
Showing
23 changed files
with
201 additions
and
489 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
import React, { useMemo } from "react"; | ||
import ExpandableList from "./ExpandableList"; | ||
import ItemBaseGrid from "./listItem/ItemBaseGrid"; | ||
import TextArea from "./listItem/subitem/TextArea"; | ||
import { ITheme } from "../common/store/OGCCollectionDefinitions"; | ||
import NaList from "./NaList"; | ||
|
||
interface ThemeListProps { | ||
title: string; | ||
themes?: ITheme[]; | ||
} | ||
|
||
const ThemeList: React.FC<ThemeListProps> = ({ title, themes = [] }) => { | ||
const statementItem = useMemo( | ||
() => ( | ||
<ItemBaseGrid container key={"theme-list-container-key"}> | ||
{themes.length !== 0 ? ( | ||
themes.map((theme: ITheme) => ( | ||
<TextArea key={theme.title} text={theme.title} /> | ||
)) | ||
) : ( | ||
<NaList title={title}></NaList> | ||
)} | ||
</ItemBaseGrid> | ||
), | ||
[themes, title] | ||
); | ||
|
||
return <ExpandableList childrenList={[statementItem]} title={title} />; | ||
}; | ||
|
||
export default ThemeList; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,40 @@ | ||
import * as React from "react"; | ||
import { Box, Typography } from "@mui/material"; | ||
|
||
/* | ||
* TODO: Implement this page | ||
*/ | ||
const NotFoundPage = () => { | ||
return <div>Page Not Found...</div>; | ||
return ( | ||
<Box | ||
sx={{ | ||
backgroundImage: "url(/images/pagenotfound.png)", | ||
backgroundSize: "cover", // Covers the entire area | ||
backgroundPosition: "center", // Centers the image | ||
backgroundRepeat: "no-repeat", // Prevents tiling | ||
height: "100vh", // Full viewport height | ||
width: "100vw", // Full viewport width | ||
display: "flex", | ||
margin: 0, // Removes default margins | ||
}} | ||
> | ||
<Box sx={{ marginTop: "25vh", marginLeft: "20vw" }}> | ||
<Typography | ||
sx={{ | ||
fontSize: "50px", | ||
color: "black", | ||
}} | ||
> | ||
404 Error Page | ||
</Typography> | ||
<Typography | ||
sx={{ | ||
fontSize: "26px", | ||
color: "black", | ||
}} | ||
> | ||
The page you were looking for doesn’t exist. | ||
</Typography> | ||
</Box> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default NotFoundPage; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.