diff --git a/packages/microcosm-www-next/src/components/browser-graphic.js b/packages/microcosm-www-next/src/components/browser-graphic.js new file mode 100644 index 00000000..a7129eec --- /dev/null +++ b/packages/microcosm-www-next/src/components/browser-graphic.js @@ -0,0 +1,25 @@ +import React from 'react' +import { cat } from '../images' + +const BrowserGraphic = () => ( +
+
+

Quizzfeed

+
+
+
+
    +
  1. Cool
  2. +
  3. Curious
  4. +
  5. Calm
  6. +
  7. Cautious
  8. +
+
+
+ TODO +
+
+
+) + +export default BrowserGraphic diff --git a/packages/microcosm-www-next/src/components/graphic.js b/packages/microcosm-www-next/src/components/graphic.js index f98270e9..57b7ef9f 100644 --- a/packages/microcosm-www-next/src/components/graphic.js +++ b/packages/microcosm-www-next/src/components/graphic.js @@ -1,13 +1,22 @@ import React from 'react' +import BrowserGraphic from './browser-graphic' -const Graphic = ({ section, graphicUrl }) => ( +const Graphic = ({ section, microcosmView }) => (
- TODO + {microcosmView || section === 0 || section == 9 ? ( + TODO + ) : ( + + )}
) diff --git a/packages/microcosm-www-next/src/components/index.js b/packages/microcosm-www-next/src/components/index.js new file mode 100644 index 00000000..d59e0144 --- /dev/null +++ b/packages/microcosm-www-next/src/components/index.js @@ -0,0 +1,5 @@ +import Graphic from './graphic' +import SideNav from './side-nav' +import ToggleContainer from './toggle-container' + +export { Graphic, SideNav, ToggleContainer } diff --git a/packages/microcosm-www-next/src/components/side-nav.js b/packages/microcosm-www-next/src/components/side-nav.js index 572c08d5..e403c8a8 100644 --- a/packages/microcosm-www-next/src/components/side-nav.js +++ b/packages/microcosm-www-next/src/components/side-nav.js @@ -13,14 +13,14 @@ const SideNav = ({ graphics, currentSection }) => { } return ( -