Optimize components
- Use class attribute over className - Code cleaning
This commit is contained in:
@@ -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">
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
|
||||
$: {
|
||||
location = $currentLocation
|
||||
locationName = location ? location.location.name : 'World'
|
||||
locationName = location ? location.name : 'World'
|
||||
locationOf = location ? 'Of' : 'Of The'
|
||||
}
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user