diff --git a/package.json b/package.json index 5b39eab..9d4bb7d 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "@nordicplayground/strava-challenge-2022", + "name": "@nordicplayground/TheNordicChallenge", "version": "0.0.0-development", "description": "A single-page application (SPA) developed using TypeScript to play a game of nRF Robot Wars.", "type": "module", @@ -12,12 +12,12 @@ }, "repository": { "type": "git", - "url": "git+https://github.com/NordicPlayground/StravaChallenge2022.git" + "url": "git+https://github.com/NordicPlayground/TheNordicChallenge.git" }, "bugs": { - "url": "https://github.com/NordicPlayground/StravaChallenge2022/issues" + "url": "https://github.com/NordicPlayground/TheNordicChallenge/issues" }, - "homepage": "https://github.com/NordicPlayground/StravaChallenge2022#readme", + "homepage": "https://github.com/NordicPlayground/TheNordicChallenge#readme", "keywords": [ "nrf-asset-tracker", "iot", diff --git a/public/api_logo_pwrdBy_strava_stack_white.svg b/public/api_logo_pwrdBy_strava_stack_white.svg new file mode 100644 index 0000000..ebeba5e --- /dev/null +++ b/public/api_logo_pwrdBy_strava_stack_white.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/app/pages/About.tsx b/src/app/pages/About.tsx index 9a346e5..9cabc68 100644 --- a/src/app/pages/About.tsx +++ b/src/app/pages/About.tsx @@ -7,14 +7,19 @@ export const About = () => {
- Each week the kilometers for each club will be added up and then - divided by the size of the office/location headcount. Inactive users - will not count in the calculations. + Each week the points for each club will be added up and then divided + by the size of the office/location headcount. By doing it this way + we make sure every activity counts positively against the challenge, + no matter how short. +
++ In general activities will give a 1 km = 1 point ratio in the + statistics, but we have some adjustments as described in this + section.
As biking/skiing is more efficient in km than running/walking, we - will be using a ratio for this, and for each 3km cycled = 1km - run/walk.{' '} + will be using a ratio for this, and for each 3km cycled = 1 points.{' '}
This ratio counts for the following activities: Ride,{' '} @@ -22,17 +27,26 @@ export const About = () => { BackCountry Ski, Gravel Ride and{' '} Mountain Bike Ride.
- For the same reason, 1km of swimming equals 4km of - running/walking. + For the same reason, 1km of swimming equals 4 points.- E-Bike Ride has a 5:1 km ratio. + E-Bike Ride has a 5 km = 1 points ratio.
- Snowboard - and Alpine Ski is given 0km in the statistics.- All time spent doing activities counts towards the statistics, and - all activities not mentioned above will give a 1:1km ratio in the - statistics. + Snowboard + and Alpine Ski is given 0 distance but will give points as an{' '} + activity without distance as described below. +
++ Activities without distance; like Yoga,{' '} + WeightTraining etc are given points based on time. The + following formula shows how this is done: +
++ Time [hours] * 5 points +
++ This means that 1 hour of activity without distance is equivalent to + 5 points. 30 min of activity gives 2.5 points and so on.