From 0e742a485f3fa7d35d26b05980a293b5760e8418 Mon Sep 17 00:00:00 2001
From: Mark Powers <mark@marks.kitchen>
Date: Sun, 14 Jul 2024 16:17:59 -0500
Subject: Initial commit

---
 src/pages/WorkoutPage.vue | 36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)
 create mode 100644 src/pages/WorkoutPage.vue

(limited to 'src/pages/WorkoutPage.vue')

diff --git a/src/pages/WorkoutPage.vue b/src/pages/WorkoutPage.vue
new file mode 100644
index 0000000..8a7f59f
--- /dev/null
+++ b/src/pages/WorkoutPage.vue
@@ -0,0 +1,36 @@
+<template>
+  <q-page class="row q-pa-md q-gutter-md column">
+    <q-card v-for="(workout, index) in history" :key="index">
+      <q-card-section>
+        {{ workout.type }}
+        {{ workout.total_time }} minutes
+        {{ workout.distance }} miles
+        {{ workout.calories }} calories
+      </q-card-section>
+    </q-card>
+  </q-page>
+</template>
+
+<script>
+import { defineComponent, ref } from 'vue'
+import {
+} from '../api.js'
+
+export default defineComponent({
+  name: 'WorkoutPage',
+  setup(){
+    let history = ref([
+      {
+        "created": Date.now(),
+        "type": "stationary bike",
+        "total_time": 29,
+        "distance": 8.0,
+        "calories": 270,
+      },
+    ])
+    return {
+      history
+    }
+  }
+})
+</script>
-- 
cgit v1.2.3

