Move resources file to new dashboard folder

pull/14801/head
csubira 6 years ago
parent 48b63fe41a
commit f034ed36b6

@ -1,41 +0,0 @@
<!DOCTYPE html>
<html>
<head>
<title>CARTO VL Example</title>
<!-- Load CARTO VL JS -->
<script src="https://libs.cartocdn.com/carto-vl/v1.0.0/carto-vl.min.js"></script>
<!-- Load Mapbox GL -->
<script src="https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.js"></script>
<link href="https://api.tiles.mapbox.com/mapbox-gl-js/v0.50.0/mapbox-gl.css" rel="stylesheet"/>
<!-- Load CARTO VL Styles -->
<link href="https://carto.com/developers/carto-vl/examples/maps/style.css" rel="stylesheet"/>
<style>
#map {
position: absolute;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<div id="map"></div>
</body>
<script>
const map = new mapboxgl.Map({
container: 'map',
style: carto.basemaps.voyager,
center: [-3.6908, 40.4297],
zoom: 11
})
carto.setDefaultAuth({
username: 'cartovl',
apiKey: 'default_public'
})
const viz = new carto.Viz();
const source = new carto.source.Dataset('madrid_listings');
const layer = new carto.Layer('layer', source, viz);
layer.addTo(map);
</script>
</html>

@ -14,7 +14,13 @@
</SectionTitle>
<p v-html="$t(`wizards.cartovl.step5.extras.resource1`)" class="text is-caption u-mt--16 u-mb--64"></p>
<Card :content="$t(`wizards.cartovl.step6.cards.card1`)">
<img src="../../../assets/images/wizards/Bitmap.png" width="306" height="140" alt="Voyager basemap sample"/>
<img src="../../../assets/images/wizards/Bitmap.png" width="306" height="140" alt="Style features by category sample image"/>
</Card>
<Card :content="$t(`wizards.cartovl.step6.cards.card2`)">
<img src="../../../assets/images/wizards/Bitmap.png" width="306" height="140" alt="Add hover popups sample image"/>
</Card>
<Card :content="$t(`wizards.cartovl.step6.cards.card3`)">
<img src="../../../assets/images/wizards/Bitmap.png" width="306" height="140" alt="Animate the features sample image"/>
</Card>
</div>
</div>

@ -39,7 +39,7 @@
v-if="isCurrentStep(6)"
:stepNum="6">
<Step6></Step6>
</Step>
</Step>
<Footer
:stepNames="stepNames"
:currentStep="step"

@ -20,7 +20,7 @@ export default {
props: {
content: Object
}
}
};
</script>
<style scoped lang="scss">
@import 'new-dashboard/styles/variables';

@ -1,6 +1,6 @@
{
"name": "cartodb-ui",
"version": "1.0.0-assets.do-cartovl",
"version": "1.0.0-assets.do-cartovl2",
"description": "CARTO UI frontend",
"repository": {
"type": "git",

@ -70,7 +70,7 @@ module.exports = {
to: `./unversioned/images/google-maps-basemap-icon`,
toType: 'dir'
}, {
from: rootDir('app/assets/wizards/'),
from: rootDir('lib/assets/javascripts/new-dashboard/assets/resources/wizards'),
to: `./unversioned/wizards/`,
toType: 'dir'
}

Loading…
Cancel
Save