Skip to content

Commit

Permalink
Tweak alignment, header display (#445)
Browse files Browse the repository at this point in the history
  • Loading branch information
fsteeg committed Dec 17, 2021
1 parent 49f18cd commit 3bf7a6e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions gatsby/lobid/src/components/member.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ export class Member extends React.Component {
<img alt={this.props.member.name.label} id="index-image" src={this.props.member.image || `https://gravatar.com/avatar/${md5(this.props.member.email)}?s=300&d=identicon`} />
</div>
</div>
<p className="lead">{this.props.makesOfferName}</p>
{this.props.products.length > 0 && <p className="lead">{this.props.makesOfferName}</p>}
<Products products={this.props.products} lang={this.props.lang}/>
<p className="lead">{this.props.projectsName}</p>
{this.props.projects.length > 0 && <p className="lead">{this.props.projectsName}</p>}
<Projects projects={this.props.projects} lang={this.props.lang}/>
<Publications pubs={this.props.pubs} publications={this.props.publications} />
<Footer companyDetails={this.props.companyDetails} privacy={this.props.privacy} />
Expand Down
2 changes: 1 addition & 1 deletion gatsby/lobid/src/components/products.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getImage, simpleId } from './helpers.js'
export default class Products extends React.Component {
render() {
return (
<div className="container">
<div>
{this.props.products.map((product) =>
<div key={product.id}>
{getImage(product.id, product.image)}
Expand Down
2 changes: 1 addition & 1 deletion gatsby/lobid/src/components/projects.html.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { getImage, simpleId } from './helpers.js'
export default class Projects extends React.Component {
render() {
return (
<div className="container">
<div>
{this.props.projects
.map((details) =>
<div key={details.id}>
Expand Down

0 comments on commit 3bf7a6e

Please sign in to comment.