import React from 'react';
import { Col, Row, Grid } from 'react-bootstrap';
import links from './links.json';
export default class extends React.Component {
static displayName = 'Footer'
renderLinks(mobile) {
return links.map(link => {
return (
{ this.renderContent(mobile, link.content) }
);
});
}
renderContent(mobile, content) {
if (mobile) {
return (
content;
);
}
return content;
}
render() {
return (
{ this.renderLinks() }
{ this.renderLinks(true) }
);
}
}