diff --git a/src/components/Intro.js b/src/components/Intro.js
index b1d5b0892..cfb7a9571 100644
--- a/src/components/Intro.js
+++ b/src/components/Intro.js
@@ -1,13 +1,17 @@
import React from 'react';
+import SideBySide from './SideBySide';
+import PropTypes from 'prop-types';
+
import styles from './Intro.module.scss';
-import Proptypes from 'prop-types';
const Intro = ({ children }) => (
-
-
{`Step ${number} of ${total}`}
-
-
- {childrenWithoutCodeSnippet}
-
- {codeSnippet}
-
+const Step = ({ children, number, total }) => (
+
+
{`Step ${number} of ${total}`}
+
+ {children}
- );
-};
+
+);
Step.propTypes = {
children: Proptypes.node.isRequired,
diff --git a/src/components/Step.module.scss b/src/components/Step.module.scss
index 597f2b52d..1591bc1d6 100644
--- a/src/components/Step.module.scss
+++ b/src/components/Step.module.scss
@@ -3,17 +3,14 @@
box-sizing: border-box;
padding-top: 1.5rem;
margin-top: 2rem;
+
.stepNumber {
font-size: 0.75rem;
color: var(--color-neutrals-600);
}
}
-.container {
- display: flex;
-}
+
.stepDetails {
- margin-right: 1rem;
- line-height: 1.5rem;
h1:first-child,
h2:first-child,
h3:first-child,
@@ -27,10 +24,3 @@
font-size: 1rem;
}
}
-.stepDetailsWithCode {
- width: 50%;
-}
-.container > pre {
- width: 50%;
- margin-left: 1rem;
-}