diff --git a/frontend/src/lib/components/Weight/Aggregated/AggregatedWeightComp.svelte b/frontend/src/lib/components/Weight/Aggregated/AggregatedWeightComp.svelte
new file mode 100644
index 0000000..b46644a
--- /dev/null
+++ b/frontend/src/lib/components/Weight/Aggregated/AggregatedWeightComp.svelte
@@ -0,0 +1,17 @@
+
+
+
+
+ |
+ {item.period}
+ |
+
+ {item.amount}
+ |
+
+
diff --git a/frontend/src/lib/components/Weight/Aggregated/AggregatedWeightTable.svelte b/frontend/src/lib/components/Weight/Aggregated/AggregatedWeightTable.svelte
new file mode 100644
index 0000000..333e71e
--- /dev/null
+++ b/frontend/src/lib/components/Weight/Aggregated/AggregatedWeightTable.svelte
@@ -0,0 +1,69 @@
+
+
+
+
+
+
+
+
+
+ | Period |
+ Amount |
+
+
+
+ {#each items as f}
+
+ {/each}
+
+
+
+
+
+
diff --git a/frontend/src/lib/router/Router.svelte b/frontend/src/lib/router/Router.svelte
index 7acee84..82363b4 100644
--- a/frontend/src/lib/router/Router.svelte
+++ b/frontend/src/lib/router/Router.svelte
@@ -6,10 +6,10 @@
import Monthly from './routes/Energy/Monthly.svelte'
import Yearly from './routes/Energy/Yearly.svelte'
import Weight from './routes/Weight/Weight.svelte'
- // import WDaily from './routes/Weight/WDaily.svelte'
- // import WWeekly from './routes/Weight/WWeekly.svelte'
- // import WMonthly from './routes/Weight/WMonthly.svelte'
- // import WYearly from './routes/Weight/WYearly.svelte'
+ import WDaily from './routes/Weight/WDaily.svelte'
+ import WWeekly from './routes/Weight/WWeekly.svelte'
+ import WMonthly from './routes/Weight/WMonthly.svelte'
+ import WYearly from './routes/Weight/WYearly.svelte'
const routes = {
'/': Energy,
@@ -18,10 +18,10 @@
'/Energy/monthly': Monthly,
'/Energy/yearly': Yearly,
'/Weight': Weight,
- // '/Weight/daily': WDaily,
- // '/Weight/weekly': WWeekly,
- // '/Weight/monthly': WMonthly,
- // '/Weight/yearly': WYearly
+ '/Weight/daily': WDaily,
+ '/Weight/weekly': WWeekly,
+ '/Weight/monthly': WMonthly,
+ '/Weight/yearly': WYearly
}
diff --git a/frontend/src/lib/router/routes/Weight/WDaily.svelte b/frontend/src/lib/router/routes/Weight/WDaily.svelte
new file mode 100644
index 0000000..6058c53
--- /dev/null
+++ b/frontend/src/lib/router/routes/Weight/WDaily.svelte
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/frontend/src/lib/router/routes/Weight/WMonthly.svelte b/frontend/src/lib/router/routes/Weight/WMonthly.svelte
new file mode 100644
index 0000000..768ca27
--- /dev/null
+++ b/frontend/src/lib/router/routes/Weight/WMonthly.svelte
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/frontend/src/lib/router/routes/Weight/WWeekly.svelte b/frontend/src/lib/router/routes/Weight/WWeekly.svelte
new file mode 100644
index 0000000..1a42a44
--- /dev/null
+++ b/frontend/src/lib/router/routes/Weight/WWeekly.svelte
@@ -0,0 +1,8 @@
+
+
+
+
+
diff --git a/frontend/src/lib/router/routes/Weight/WYearly.svelte b/frontend/src/lib/router/routes/Weight/WYearly.svelte
new file mode 100644
index 0000000..5e5e610
--- /dev/null
+++ b/frontend/src/lib/router/routes/Weight/WYearly.svelte
@@ -0,0 +1,8 @@
+
+
+
+
+