Kepler.gl is a powerful open source geospatial analysis tool for large-scale data sets.
[chore] updates to website (#2992)
Igor Dykhta7e2e619e2691
diff --git a/website/src/components/footer.js b/website/src/components/footer.jsindex 65aff6db2..6a954ea4f 100644--- a/website/src/components/footer.js+++ b/website/src/components/footer.js@@ -11,7 +11,7 @@ import {media} from '../styles';import MapboxLogo from './mapbox-logo';import NetlifyLogo from './netlify-logo';import FoursquareLogo from './foursquare-logo';-import {DEMO_LINK} from '../constants';+import {DEMO_DUCKDB_LINK, DEMO_LINK} from '../constants';const Container = styled.div`background: #242730;@@ -150,6 +150,13 @@ export default class Footer extends PureComponent {<LinkButton large href={DEMO_LINK}>Get Started</LinkButton>+ <LinkButton+ large+ href={DEMO_DUCKDB_LINK}+ style={{marginLeft: '5px', backgroundColor: '#20469c'}}+ >+ Try with DuckDB+ </LinkButton><LinkButtonlargeoutlineDarkdiff --git a/website/src/components/hero.js b/website/src/components/hero.jsindex 37c158b48..a2f66fc70 100644--- a/website/src/components/hero.js+++ b/website/src/components/hero.js@@ -9,7 +9,7 @@ import {media, breakPoints} from '../styles';import {HERO_IMAGES, HERO_IMAGES_SCALED} from '../content';import SlideShow from './common/slideshow';import {LinkButton, GithubButton} from './common/styled-components';-import {DEMO_LINK} from '../constants';+import {DEMO_DUCKDB_LINK, DEMO_LINK} from '../constants';import {Container, Content, HeroImage, LogoImage, StyledCaption} from './common/styles';@@ -93,6 +93,13 @@ export default class Hero extends PureComponent {<LinkButton large href={DEMO_LINK}>Get Started</LinkButton>+ <LinkButton+ large+ href={DEMO_DUCKDB_LINK}+ style={{marginLeft: '5px', backgroundColor: '#20469c'}}+ >+ Try with DuckDB+ </LinkButton><GithubButtonhref="https://github.com/keplergl/kepler.gl"style={{marginLeft: '5px'}}diff --git a/website/src/constants.js b/website/src/constants.jsindex c5a4f1f59..707c23476 100644--- a/website/src/constants.js+++ b/website/src/constants.js@@ -5,5 +5,6 @@ export const CLOUDFRONT = 'https://d1a3f4spazzrp4.cloudfront.net';export const KEPLER_GL_BUCKET = 'kepler.gl';export const WEBSITE_ASSET_FOLDER = 'website';export const DEMO_LINK = '/demo';+export const DEMO_DUCKDB_LINK = 'https://kepler-preview.foursquare.com/';export const KEPLER_FSQ_BUCKET ='https://studio-public-data.foursquare.com/statics/keplergl/images';diff --git a/website/src/content.js b/website/src/content.jsindex da15ad324..e1bbc46a7 100644--- a/website/src/content.js+++ b/website/src/content.js@@ -213,6 +213,20 @@ export const EXAMPLES = [image: cdnUrl('examples/sf-elevation.png'),url: '/demo/sfcontour'},+ {+ title: 'Foursquare Places (PMTiles)',+ description:+ "Foursquare's Open Source Places dataset with 100+ million locations in a single PMTiles file",+ image: fsqCdnUrl('pmtiles-fsq-places.png'),+ url: '/demo/fsq_places'+ },+ {+ title: 'Population (MVT Tiles)',+ description:+ 'USA Population Mapbox Vector Tiles with total population per geometry and age statistics',+ image: fsqCdnUrl('population-mvt.png'),+ url: '/demo/mvt_population'+ },{title: 'Travel Times from Uber Movement',description: 'Pittsburgh travel times before and during heavy inclement weather conditions',