Skip to content

Commit

Permalink
splash page: add user groups section
Browse files Browse the repository at this point in the history
If a user is signed in, they can see a "groups" section on the splash
page that lists all of their groups.

Currently the group tiles use an "empty" image with a background color.
The background colors rotate through the titleColors listed in theme.js.
  • Loading branch information
joverlee521 authored and kairstenfay committed Jan 8, 2020
1 parent 043b874 commit 736e51c
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions static-site/src/components/splash/userGroups.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,12 @@ const UserGroups = (props) => {
return (
<Fragment>
<ScrollableAnchor id={'groups'}>
<Styles.H1>Private Nextstrain Groups</Styles.H1>
<Styles.H1> {props.user.username}&apos;s Groups</Styles.H1>
</ScrollableAnchor>

<FlexCenter>
<Styles.CenteredFocusParagraph>
Nextstrain groups are collections of datasets with controlled access.
You ({props.user.username}) have access to the following groups:
You have access to the following groups:
</Styles.CenteredFocusParagraph>
</FlexCenter>

Expand Down

0 comments on commit 736e51c

Please sign in to comment.