Skip to content

Commit c5dd7df

Browse files
committed
Adding screenshot of modules to SplashViz
1 parent 0568cb0 commit c5dd7df

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

assets/modules.png

55.6 KB
Loading

components/splash-viz/splash-viz-style.scss

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
display:flex;
77
height:calc(100vh - 55px);
88
min-height:320px;
9+
max-height:960px;
910
background:getColor(elephant);
1011

1112
&__modules,
@@ -30,7 +31,9 @@
3031
display:none;
3132

3233
@include break {
33-
display:block;
34+
display:flex;
35+
align-items:center;
36+
justify-content:center;
3437
}
3538
}
3639

components/splash-viz/splash-viz.jsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import React from 'react';
22
import Link from '../link/link';
33
import SplashFile from '../splash-file/splash-file';
44
import Icon from '../../assets/icon-square-big.svg';
5+
import Modules from '../../assets/modules.png';
56
import './splash-viz-style';
67

78
export default class SplashViz extends React.Component {
@@ -23,7 +24,7 @@ export default class SplashViz extends React.Component {
2324
return (
2425
<section className="splash-viz">
2526
<div className="splash-viz__modules">
26-
27+
<img src={ Modules } />
2728
</div>
2829

2930
<div className="splash-viz__icon">

0 commit comments

Comments
 (0)