@@ -72,6 +72,7 @@ import {
72
72
import dbLogo from './assets/dblogo.png' ;
73
73
import ssLogo from './assets/sslogo.jpg' ;
74
74
import kepLogo from './assets/kepler.gl-logo_2x.png' ;
75
+ import { Typography } from '@material-ui/core' ;
75
76
76
77
const MAPBOX_ACCESS_TOKEN =
77
78
'pk.eyJ1IjoidWJlcmRhdGEiLCJhIjoiY2p2OGVvejQwMDJxZzRma2dvdWQ2OTQwcSJ9.VbuIamTa_JayuD2yr5tjaA' ;
@@ -714,13 +715,17 @@ class App extends Component {
714
715
// Placeholder sheet names. TODO: Bind to worksheet data
715
716
return (
716
717
< React . Fragment >
717
- < Stepper stepIndex = { this . state . stepIndex } steps = { stepNames } />
718
- < PickSheets
719
- sheetNames = { this . state . sheetNames }
720
- configCallBack = { this . configCallBack }
721
- field = { 'ConfigSheet' }
722
- ConfigSheet = { tableauSettingsState . ConfigSheet || '' }
723
- />
718
+ < div style = { { padding : '24px' } } >
719
+ < Typography variant = { 'display1' } style = { { color : '#333' } } >
720
+ Kepler.gl within Tableau Configuration
721
+ </ Typography >
722
+ < PickSheets
723
+ sheetNames = { this . state . sheetNames }
724
+ configCallBack = { this . configCallBack }
725
+ field = { 'ConfigSheet' }
726
+ ConfigSheet = { tableauSettingsState . ConfigSheet || '' }
727
+ />
728
+ </ div >
724
729
< StepButtons
725
730
onNextClick = { this . onNextStep }
726
731
onPrevClick = { this . onPrevStep }
@@ -738,14 +743,18 @@ class App extends Component {
738
743
if ( this . state . stepIndex === 2 ) {
739
744
return (
740
745
< React . Fragment >
741
- < Stepper stepIndex = { this . state . stepIndex } steps = { stepNames } />
742
- < CustomizeViolin
743
- handleChange = { this . handleChange }
744
- customCallBack = { this . customCallBack }
745
- field = { 'configuration' }
746
- tableauSettings = { tableauSettingsState }
747
- configSheetColumns = { this . state . ConfigSheetStringColumns || [ ] }
748
- />
746
+ < div style = { { padding : '24px' } } >
747
+ < Typography variant = { 'display1' } style = { { color : '#333' } } >
748
+ Kepler.gl within Tableau Configuration
749
+ </ Typography >
750
+ < CustomizeViolin
751
+ handleChange = { this . handleChange }
752
+ customCallBack = { this . customCallBack }
753
+ field = { 'configuration' }
754
+ tableauSettings = { tableauSettingsState }
755
+ configSheetColumns = { this . state . ConfigSheetStringColumns || [ ] }
756
+ />
757
+ </ div >
749
758
< StepButtons
750
759
onNextClick = { this . onNextStep }
751
760
onPrevClick = { this . onPrevStep }
@@ -770,6 +779,7 @@ class App extends Component {
770
779
< SplashScreen
771
780
configure = { this . configure }
772
781
title = "Kepler.gl within Tableau"
782
+ version = { KEPLER_GL_VERSION }
773
783
desc = "Leverage the brilliance of Kepler.gl functionality, directly within Tableau!"
774
784
ctaText = "Configure"
775
785
poweredBy = {
@@ -786,30 +796,35 @@ class App extends Component {
786
796
< br /> Tableau Requirements: Tableau Desktop (Mac Only) 2018.3
787
797
or >= 2019.1 .2 or Tableau Server >= 2018.3
788
798
</ p >
789
- < p className = "info" > Brought to you by: </ p >
790
- < a
791
- href = "http://www.datablick.com/"
792
- target = "_blank"
793
- rel = "noopener noreferrer"
794
- >
795
- < img src = { dbLogo } />
796
- </ a > { ' ' }
797
- < a
798
- href = "https://starschema.com/"
799
- target = "_blank"
800
- rel = "noopener noreferrer"
801
- >
802
- < img src = { ssLogo } />
803
- </ a >
804
- < p className = "info" > Powered by: </ p >
805
- < a
806
- href = "https://github.com/uber/kepler.gl"
807
- target = "_blank"
808
- rel = "noopener noreferrer"
809
- >
810
- < img src = { kepLogo } />
811
- </ a >
812
- < p className = "info" > Version: { KEPLER_GL_VERSION } </ p >
799
+ < div className = "inline" >
800
+ < div >
801
+ < p className = "info" > Brought to you by: </ p >
802
+ < a
803
+ href = "http://www.datablick.com/"
804
+ target = "_blank"
805
+ rel = "noopener noreferrer"
806
+ >
807
+ < img src = { dbLogo } />
808
+ </ a > { ' ' }
809
+ < a
810
+ href = "https://starschema.com/"
811
+ target = "_blank"
812
+ rel = "noopener noreferrer"
813
+ >
814
+ < img src = { ssLogo } />
815
+ </ a >
816
+ </ div >
817
+ < div >
818
+ < p className = "info" > Powered by: </ p >
819
+ < a
820
+ href = "https://github.com/uber/kepler.gl"
821
+ target = "_blank"
822
+ rel = "noopener noreferrer"
823
+ >
824
+ < img src = { kepLogo } />
825
+ </ a >
826
+ </ div >
827
+ </ div >
813
828
</ React . Fragment >
814
829
}
815
830
/>
0 commit comments