Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Commit

Permalink
Merge pull request #123 from bored-engineers/TRA-115-Add_Brand_link_o…
Browse files Browse the repository at this point in the history
…n_the_Landing_Page

Saptarshi | Added branding on Landing Page
  • Loading branch information
sap7deb authored Oct 8, 2020
2 parents 120fe36 + 0231ba4 commit f98471e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/webapp/src/components/landing-page/LandingPage.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,9 @@

}
}
.footer{
margin: 0% !important
}

}
}
14 changes: 14 additions & 0 deletions packages/webapp/src/components/landing-page/LandingPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import { createBoard, joinBoard } from '../../services/board.service';
import './LandingPage.scss';
import boardImage from '../../assets/board.svg';
import { getUserIDStorageKey } from '../../common-utils';
import { Box, Link } from '@material-ui/core';

type TLandingPageDispatchProps = {
setUserId: Function,
Expand Down Expand Up @@ -116,6 +117,16 @@ const LandingPage = (props: TLandingPageProps) => {
if (boardId) setBoardId(boardId);
}, [location.search, setBoardId]);

function Branding() {
return (
<Typography variant="body2" color="textSecondary" align="center">
{'From the minds of '}
<Link color="primary" href="https://github.com/orgs/bored-engineers/people" target="_black">
<b>Bored Engineers</b>
</Link>{' '}
</Typography>
);
}
return (
<React.Fragment>
<Grid container direction="column" justify="center" alignItems="center" className="landingPage">
Expand Down Expand Up @@ -148,6 +159,9 @@ const LandingPage = (props: TLandingPageProps) => {
{joinBoardProgress && <LinearProgress />}
{joinBoardError && <FormHelperText error>{joinBoardError.message}</FormHelperText>}
</div>
<Box mt={2} className="footer">
<Branding />
</Box>
</Card>
</Grid>
</React.Fragment>
Expand Down

0 comments on commit f98471e

Please sign in to comment.