Optimize components

- Use class attribute over className
- Code cleaning
This commit is contained in:
2020-02-26 15:49:56 +01:00
parent b084629b37
commit afb087408c
8 changed files with 18 additions and 72 deletions

View File

@@ -1,6 +1,7 @@
<script>
// Idea: https://codepen.io/edankwan/pen/emqgpr
// Idea 2: ThreeJS globe: https://github.com/vasturiano/globe.gl
// Lead 1: https://codepen.io/edankwan/pen/emqgpr
// Lead 2: ThreeJS globe: https://github.com/vasturiano/globe.gl
// Lead 3: https://www.bypeople.com/css-js-webgl-rotating-3d-globe-effect/
</script>
<div class="globe">

View File

@@ -15,7 +15,7 @@
$: {
location = $currentLocation
locationName = location ? location.location.name : 'World'
locationName = location ? location.name : 'World'
locationOf = location ? 'Of' : 'Of The'
}
</script>