Skip to content

Commit

Permalink
Defect/ncippe 223--public-content (#15)
Browse files Browse the repository at this point in the history
* update footer logo

* render card description with markdown

* adjust footer logo size
  • Loading branch information
Frank Ali authored and debosarkar committed Dec 11, 2019
1 parent 018f4b7 commit 58d20a3
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
5 changes: 5 additions & 0 deletions public/assets/images/nci-logo-text-white.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 4 additions & 1 deletion src/components/IconCardMedia/IconCardMedia.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ import { Button, Card, CardActions, CardMedia, CardContent, Typography } from '@
import { makeStyles } from '@material-ui/core/styles'
import { KeyboardArrowRight as KeyboardArrowRightIcon } from '@material-ui/icons'

import RenderContent from '../utils/RenderContent'


const useStyles = makeStyles( theme => ({
root: {
height: '100%',
Expand Down Expand Up @@ -42,7 +45,7 @@ const Component = (props) => {
</Typography>
{desc &&
<Typography component="p">
{desc}
<RenderContent source={desc} />
</Typography>
}
</CardContent>
Expand Down
5 changes: 3 additions & 2 deletions src/components/region/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,9 @@ const useStyles = makeStyles(theme => ({
}
},
logo: {
padding: theme.spacing(2,0),
'& img': {
width: '430px',
width: '320px',
maxWidth: '100%',
height: 'auto'
}
Expand Down Expand Up @@ -63,7 +64,7 @@ const Footer = () => {

return (
<Container className={classes.root} component="footer">
<div className={classes.logo}><img src={`/${process.env.PUBLIC_URL}assets/images/nci-logo-white.svg`} alt={t('footer.logo.alt_text')} title={t('footer.logo.title')} /></div>
<div className={classes.logo}><img src={`/${process.env.PUBLIC_URL}assets/images/nci-logo-text-white.svg`} alt={t('footer.logo.alt_text')} title={t('footer.logo.title')} /></div>
<Typography component="div">
<Grid container className={classes.footerLinks} spacing={3} onClick={trackClick}>
<Grid item xs={12} sm={4}>
Expand Down

0 comments on commit 58d20a3

Please sign in to comment.