summaryrefslogtreecommitdiff
path: root/frontend/src/components/home/ScreenshotSection.js
diff options
context:
space:
mode:
authorGeorgios Andreadis <info@gandreadis.com>2020-07-21 15:33:37 +0200
committerFabian Mastenbroek <mail.fabianm@gmail.com>2020-08-24 19:48:16 +0200
commit912e1b96bfa7d6c022d854fa744f719b49ca98d0 (patch)
tree49cdaf109aa08b0149c34174ce0f00c7056221ea /frontend/src/components/home/ScreenshotSection.js
parent791b5d1e443f97adc756264878c3aae41ca0f748 (diff)
Add first plotting attempts for portfolios
Diffstat (limited to 'frontend/src/components/home/ScreenshotSection.js')
-rw-r--r--frontend/src/components/home/ScreenshotSection.js18
1 files changed, 5 insertions, 13 deletions
diff --git a/frontend/src/components/home/ScreenshotSection.js b/frontend/src/components/home/ScreenshotSection.js
index fdb55020..d0ff54bd 100644
--- a/frontend/src/components/home/ScreenshotSection.js
+++ b/frontend/src/components/home/ScreenshotSection.js
@@ -3,26 +3,18 @@ import React from 'react'
import ContentSection from './ContentSection'
import './ScreenshotSection.css'
-const ScreenshotSection = ({
- name,
- title,
- imageUrl,
- caption,
- imageIsRight,
- children,
- }) => (
+const ScreenshotSection = ({ name, title, imageUrl, caption, imageIsRight, children }) => (
<ContentSection name={name} title={title}>
<div className="row">
<div
- className={classNames(
- 'col-xl-5 col-lg-5 col-md-5 col-sm-12 col-12 text-left',
- { 'order-1': !imageIsRight },
- )}
+ className={classNames('col-xl-5 col-lg-5 col-md-5 col-sm-12 col-12 text-left', {
+ 'order-1': !imageIsRight,
+ })}
>
{children}
</div>
<div className="col-xl-7 col-lg-7 col-md-7 col-sm-12 col-12">
- <img src={imageUrl} className="col-12 screenshot" alt={caption}/>
+ <img src={imageUrl} className="col-12 screenshot" alt={caption} />
<div className="row text-muted justify-content-center">{caption}</div>
</div>
</div>