From 35e29366520692e28d0710ebb47455bdd333902b Mon Sep 17 00:00:00 2001 From: tconey23 <145934889+tconey23@users.noreply.github.com> Date: Sun, 25 Feb 2024 15:01:59 -0700 Subject: [PATCH] Add refactored Admin functions Co-authored-by: Theo M. Co-authored-by: Edwin Chalmers --- README.md | 2 +- dist/index.html | 28 ++++++++++----- src/chartSetup.js | 28 +++++++-------- src/css/styles.css | 15 +++++--- src/domUpdates.js | 50 +++++++++++++------------- src/functions.js | 6 ++-- src/scripts.js | 89 ++++++++++++---------------------------------- src/sleep.js | 24 +++++++++++++ 8 files changed, 119 insertions(+), 123 deletions(-) diff --git a/README.md b/README.md index b54aa8761..153f7a7e5 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Fitlit -[Try it here!](http://example.com/) +[Try it here!](https://edwin-chalmers.github.io/fitlit/) ## About FitLit is a dynamic and interactive dashboard project designed to emulate the functionality of activity tracking apps like Fitbit or Strava. The core objective of this project is to provide users with a comprehensive view of their personal activity data, including steps taken, water consumption, sleep patterns, and more, over various time frames. This project is executed with a focus on several key goals: diff --git a/dist/index.html b/dist/index.html index c61f3c578..bab22c98b 100644 --- a/dist/index.html +++ b/dist/index.html @@ -44,8 +44,10 @@

welcome back (person.name)

👣

Activity Data

-

Activity Data

- +

Activity (steps)

+
+ +
@@ -54,10 +56,14 @@

Activity Data

💧

Hydration Data

-

Average Hydration Data (oz)

- +

Average Hydration Data (oz)

+
+ +

Weekly Hydration Data (oz)

- +
+ +
@@ -77,9 +83,15 @@

Sleep Data

- - - +
+ +
+
+ +
+
+ +