<template>
  <div id="app">
    <geomagnetism v-if="urlLink ===1"/>
    <screen v-if="urlLink ===2"/>
  </div>
</template>

<script>
import geomagnetism from './components/geomagnetism'
import screen from './components/screen'

export default {
  name: 'App',
  components: {
    geomagnetism, screen
  },
  data() {
    return {
      urlLink: ''
    }
  },
  created() {
    this.urlLink = 1
  }
}
</script>

<style>
#app {
  font-family: 'Avenir', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
