-
-
Notifications
You must be signed in to change notification settings - Fork 64
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'dev' of github.com:codeforboston/cliff-effects into cod…
…e-style-10
- Loading branch information
Showing
20 changed files
with
306 additions
and
243 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,26 @@ | ||
import React from 'react'; | ||
import { Menu, Responsive } from 'semantic-ui-react'; | ||
import { | ||
Menu, | ||
Responsive, | ||
} from 'semantic-ui-react'; | ||
|
||
const BetaWarning = function (props) { | ||
|
||
const BetaWarning = function () { | ||
return ( | ||
<Menu.Item> | ||
<Responsive | ||
as='strong' | ||
as = { `strong` } | ||
{ ...Responsive.onlyTablet }> | ||
This tool is a prototype. | ||
</Responsive> | ||
<Responsive | ||
as='strong' | ||
as = { `strong` } | ||
{ ...Responsive.onlyComputer }> | ||
This tool is a prototype and should not be used to make financial decisions. | ||
</Responsive> | ||
</Menu.Item> | ||
); | ||
}; // End BetaWarning(<>) | ||
}; | ||
|
||
|
||
export { BetaWarning }; |
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 |
---|---|---|
@@ -1,49 +1,54 @@ | ||
import React from 'react'; | ||
import logo from '../images/logo.svg'; | ||
|
||
import { | ||
Grid, | ||
Header, | ||
Segment, | ||
Image, | ||
} from 'semantic-ui-react'; | ||
|
||
const Footer = ({ translations }) => { | ||
import logo from '../images/logo.svg'; | ||
|
||
|
||
const Footer = function ({ translations }) { | ||
return ( | ||
<Segment | ||
className = { `footer_segment` } | ||
color = { `teal` } | ||
inverted | ||
vertical | ||
color='teal'> | ||
vertical> | ||
<Grid | ||
container | ||
divided | ||
inverted | ||
stackable> | ||
<Grid.Row> | ||
|
||
<Grid.Column | ||
width={ 4 } | ||
floated='left'> | ||
width = { 4 } | ||
floated = { `left` }> | ||
<Header | ||
as='h4' | ||
as = { `h4` } | ||
inverted> | ||
{ translations.i_header } | ||
</Header> | ||
<p>{ translations.i_cfbCredit }</p> | ||
</Grid.Column> | ||
<a | ||
|
||
href="http://www.codeforboston.org" | ||
target="_blank" | ||
rel="noopener noreferrer"><Image | ||
src={ logo } | ||
size='small' | ||
floated='right' /> | ||
<a | ||
href = { `http://www.codeforboston.org` } | ||
target = { `_blank` } | ||
rel = { `noopener noreferrer` }> | ||
<Image | ||
src = { logo } | ||
size = { `small` } | ||
floated = { `right` } /> | ||
</a> | ||
|
||
</Grid.Row> | ||
</Grid> | ||
</Segment> | ||
); | ||
}; | ||
}; // Ends <Footer> | ||
|
||
|
||
export default Footer; | ||
export { Footer }; |
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 |
---|---|---|
@@ -1,25 +1,26 @@ | ||
import React from 'react'; | ||
|
||
import { Segment } from 'semantic-ui-react'; | ||
|
||
import { MainMenu } from './MainMenu'; | ||
import { BetaWarning } from './BetaWarning'; | ||
|
||
|
||
class Header extends React.Component { | ||
render() { | ||
return ( | ||
<Segment | ||
id={ `appHeader` } | ||
className="header-segment" | ||
id = { `appHeader` } | ||
className = { `header-segment` } | ||
textAlign = { `center` } | ||
color = { `teal` } | ||
inverted | ||
textAlign='center' | ||
vertical | ||
color='teal'> | ||
vertical> | ||
<MainMenu translations={ this.props.translations } /> | ||
<BetaWarning translations={ this.props.translations } /> | ||
</Segment> | ||
); | ||
} | ||
} | ||
}; | ||
}; | ||
|
||
|
||
export default Header; | ||
export { Header }; |
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
Oops, something went wrong.