Add nuxt-icon package and CardButton component

This commit is contained in:
2023-12-22 00:52:49 +01:00
parent 653e1cf8a1
commit f64bfb52bb
6 changed files with 345 additions and 92 deletions

View File

@@ -21,6 +21,22 @@ const toDate = ref(new Date().toISOString().substr(0, 10))
class="text-black py-2 px-2 mt-5 rounded-md mb-4 w-2/4"
>
</div>
<div class="w-full flex justify-start mb-4">
<div class="w-1/4 mr-4">
<CardButton title="Legs" icon="game-icons:hieroglyph-legs" value="120" change-value="20" />
</div>
<div class="w-1/4 mr-4">
<CardButton title="Back" icon="bx:bxs-backpack" value="120" change-value="20" />
</div>
<div class="w-1/4 mr-4">
<CardButton title="Chest" icon="mdi:treasure-chest" value="120" change-value="20" />
</div>
<div class="w-1/4 mr-4">
<CardButton title="Shoulder" icon="game-icons:muscle-up" value="120" change-value="20" />
</div>
</div>
<ExerciseChart :from-date="fromDate" :to-date="toDate" muscle="Legs" exercise="Barbell Back Squat" />
</template>