Unfortunately I have to use npm

This commit is contained in:
Lani Aung
2025-06-03 21:46:32 -07:00
parent f49a1617fb
commit 23e5e075cc
14 changed files with 2260 additions and 38 deletions
+10
View File
@@ -0,0 +1,10 @@
import Substrate from "./substrate"
import Weather from "./weather";
const background = new Substrate("substrate-canvas", 20)
let weather: Weather
navigator.geolocation.getCurrentPosition(position => {
weather = new Weather(position.coords.latitude, position.coords.longitude)
}, () => {
weather = new Weather()
})