Skip to content
Permalink
Browse files

fix(ApplicationDetails): Removed license and made with

BREAKING CHANGE: ApplicationDetails - Removed license and licenseUrl props
  • Loading branch information...
HHogg committed Feb 17, 2019
1 parent 930dd5c commit c14c40656639234f5d2acfc1a8ea422206d56bff
Showing with 1 addition and 19 deletions.
  1. +1 −3 site/components/Root.js
  2. +0 −16 src/Application/ApplicationDetails.js
@@ -38,9 +38,7 @@ export default class Root extends Component {
<ApplicationFooter backgroundColor="shade-2">
<ApplicationDetails
alignChildrenHorizontal="middle"
github="https://github.com/HHogg/preshape"
license="MIT"
licenseUrl="https://github.com/HHogg/preshape/LICENSE.md" />
github="https://github.com/HHogg/preshape" />
</ApplicationFooter>
</Application>
);
@@ -15,34 +15,18 @@ export default class ApplicationDetails extends Component {
render() {
const {
github,
license,
licenseUrl,
...rest
} = this.props;

return (
<List { ...rest } gutter="x2">
<ListItem separator="|">
<Text size="small">
Made with <Link href="https://preshape.hogg.io">Preshape</Link>
</Text>
</ListItem>

{ github && (
<ListItem separator="|">
<Text size="small">
Check out this project on <Link href={ github }>Github</Link>
</Text>
</ListItem>
) }

{ license && (
<ListItem>
<Link href={ licenseUrl }>
<Text size="small">License { license }</Text>
</Link>
</ListItem>
) }
</List>
);
}

0 comments on commit c14c406

Please sign in to comment.
You can’t perform that action at this time.