diff --git a/ios/App/App/capacitor.config.json b/ios/App/App/capacitor.config.json index 091c11c..0cd908d 100644 --- a/ios/App/App/capacitor.config.json +++ b/ios/App/App/capacitor.config.json @@ -2,7 +2,5 @@ "appId": "de.reedu.senseboxbike", "appName": "senseBox:Bike", "webDir": "out", - "server": { - "url": "http://192.168.2.135:3000" - } + "server": {} } diff --git a/package.json b/package.json index fdb2dd1..6f4624a 100644 --- a/package.json +++ b/package.json @@ -19,7 +19,7 @@ "@capacitor/haptics": "^5.0.6", "@capacitor/ios": "^5.5.1", "@capacitor/preferences": "^5.0.6", - "@felixerdy/background-geolocation": "1.2.17", + "@felixerdy/background-geolocation": "1.2.18", "@heroicons/react": "^2.0.18", "@hookform/resolvers": "^3.3.1", "@radix-ui/react-dialog": "^1.0.4", @@ -36,19 +36,20 @@ "@radix-ui/react-toggle": "^1.0.3", "@react-spring/web": "^9.7.3", "@tremor/react": "^3.11.1", - "@turf/circle": "^6.5.0", - "@turf/helpers": "^6.5.0", + "@turf/turf": "^6.5.0", "autoprefixer": "10.4.16", "axios": "^1.6.2", "class-variance-authority": "^0.7.0", "clsx": "^2.0.0", - "eslint": "8.53.0", - "eslint-config-next": "14.0.2", + "date-fns": "^2.30.0", + "eslint": "8.54.0", + "eslint-config-next": "14.0.3", + "eslint-config-prettier": "^9.0.0", "geist": "^1.1.0", "lodash.debounce": "^4.0.8", "lucide-react": "^0.292.0", "maplibre-gl": "^3.6.1", - "next": "14.0.2", + "next": "14.0.3", "next-themes": "^0.2.1", "postcss": "8.4.31", "react": "18.2.0", @@ -60,6 +61,7 @@ "tailwindcss": "3.3.5", "tailwindcss-animate": "^1.0.7", "typescript": "5.2.2", + "uuid": "^9.0.1", "vaul": "^0.7.9", "zod": "^3.22.2", "zustand": "^4.4.6" @@ -68,10 +70,11 @@ "@capacitor/assets": "^3.0.1", "@capacitor/cli": "^5.5.1", "@types/lodash.debounce": "^4.0.9", - "@types/node": "20.9.0", + "@types/node": "20.9.2", "@types/react": "18.2.37", "@types/react-dom": "18.2.15", - "eslint-config-prettier": "^9.0.0", + "@types/turf": "^3.5.32", + "@types/uuid": "^9.0.7", "eslint-plugin-unused-imports": "^3.0.0", "husky": "^8.0.3", "prettier": "^3.1.0", diff --git a/src/app/tracks/page.tsx b/src/app/tracks/page.tsx new file mode 100644 index 0000000..7262ccb --- /dev/null +++ b/src/app/tracks/page.tsx @@ -0,0 +1,9 @@ +import TrackWrapper from '@/components/Tracks/track-wrapper' + +export default function TracksPage() { + return ( +
Einstellungen
- Bitte verknüpfen Sie eine senseBox über den Setup-Button. -
- )} - {selectedBox && !isConnected && ( -- Sie können sich nun mit der senseBox verbinden und die Messwerte - aufzeichnen -
- )} - {selectedBox && isConnected && ( -
-
+
+ Verbinde dich mit deiner senseBox und Tracke deine nächste Fahrt +
+ + + +
+ Start:{' '}
+ {format(parseISO(track.start), 'PPpp', {
+ locale: de,
+ })}
+
+ Ende:{' '}
+ {format(parseISO(track.end), 'PPpp', {
+ locale: de,
+ })}
+