-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Need to merge in project listing to see if this
works
- Loading branch information
1 parent
0d4c293
commit fcca982
Showing
2 changed files
with
25 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,10 +3,9 @@ import { | |
LoadingSpinner, | ||
InlineMessage, | ||
SectionHeader, | ||
Icon, | ||
Button, | ||
} from '@tacc/core-components'; | ||
import useAuthenticatedUser from '@hazmapper/hooks/user/useAuthenticatedUser'; | ||
import { SystemSelect } from '@hazmapper/components/Systems'; | ||
import { ProjectListing } from '@hazmapper/components/Projects/ProjectListing'; | ||
import { Layout } from 'antd'; | ||
import styles from './layout.module.css'; | ||
|
@@ -44,6 +43,10 @@ const MainMenu = () => { | |
justifyContent: 'space-between', | ||
display: 'flex', | ||
}; | ||
|
||
const contentStyle = { | ||
alignContent: 'center' | ||
} | ||
|
||
return ( | ||
<div className={styles.root}> | ||
|
@@ -52,9 +55,16 @@ const MainMenu = () => { | |
<div className={styles.userName}>{userData.username}</div> | ||
</Layout.Header> | ||
<Layout.Content> | ||
<div className={styles.versionContainer}> | ||
<img src='./assets/[email protected]'></img> | ||
Check failure on line 59 in react/src/pages/MainMenu/MainMenu.tsx GitHub Actions / React-Linting
|
||
<div className={styles.version}>{"Version 2.17"}</div> | ||
</div> | ||
<ProjectListing /> | ||
{selectedSystem && <div>Current system selected: {selectedSystem}</div>} | ||
<SystemSelect onSystemSelect={handleSelectChange}></SystemSelect> | ||
<Button | ||
iconNameBefore="exit" type="link" | ||
onClick = {() => (window.location.href='https://www.designsafe-ci.org/user-guide/tools/visualization/#hazmapper-user-guide')}> | ||
User Guide | ||
</Button> | ||
</Layout.Content> | ||
<Layout.Footer> | ||
<div className={styles.logoContainer}> | ||
|
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