From a61a8811261f5d7afbe3100d3cd79ce659946b62 Mon Sep 17 00:00:00 2001 From: ajmaley Date: Sat, 24 Nov 2018 21:41:45 -0500 Subject: [PATCH] Galleries are pulling from FlameLink now. Just have to finish up a few more things before this can be moved to production --- src/components/FlameLinkCollectionGallery.js | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/src/components/FlameLinkCollectionGallery.js b/src/components/FlameLinkCollectionGallery.js index 6d85244..62aa835 100644 --- a/src/components/FlameLinkCollectionGallery.js +++ b/src/components/FlameLinkCollectionGallery.js @@ -2,6 +2,7 @@ import React, { Component } from 'react'; import Typography from '@material-ui/core/Typography'; import Grid from '@material-ui/core/Grid'; import { withStyles } from '@material-ui/core/styles'; +import ImageGallery from 'react-image-gallery'; import flamelinkApp from '../flamelink.js'; import FlameLinkCollectionGalleryContent from './FlameLinkCollectionGalleryContent'; import "react-image-gallery/styles/css/image-gallery.css"; @@ -72,6 +73,21 @@ class FlameLinkCollectionGallery extends Component { render() { const { classes } = this.props; + const images = [ + { + original: 'http://lorempixel.com/1000/600/nature/1/', + thumbnail: 'http://lorempixel.com/250/150/nature/1/', + }, + { + original: 'http://lorempixel.com/1000/600/nature/2/', + thumbnail: 'http://lorempixel.com/250/150/nature/2/' + }, + { + original: 'http://lorempixel.com/1000/600/nature/3/', + thumbnail: 'http://lorempixel.com/250/150/nature/3/' + } + ] + return( @@ -79,6 +95,7 @@ class FlameLinkCollectionGallery extends Component { {this.getGalleryInfo(this.state.schemaDetails, this.state.schemaContent)} {console.log('Gallery Images: ', global.galleryImages)} + ); }