Refactor code structure for improved readability and maintainability

This commit is contained in:
bolade
2025-09-29 09:17:11 +01:00
parent 604ef375aa
commit a44a763640
17 changed files with 123 additions and 59 deletions
+4 -8
View File
@@ -13,19 +13,15 @@
<h3 class="text-2xl font-bold text-center text-black mb-6">Body Composition</h3>
<!-- Body Composition Chart -->
<div class="flex justify-center mb-8">
<div class="relative">
<div class="flex justify-center mb-16 w-full">
<img src="data:image/png;base64, {{ body_composition_chart}}"
alt="Body Composition Chart"
class="w-80 h-80 object-contain">
<!-- Chart Labels -->
</div>
class=" object-contain ">
</div>
<!-- Body Fat Percentage Section -->
<div class="mb-8">
<div class="mb-8">
<h3 class="text-2xl font-bold text-center text-black mb-6">Body Fat Percentage - {{ fat_percentage }}%</h3>
<!-- Body Fat Chart -->
<div class="flex justify-center">
<img src="data:image/png;base64, {{ body_fat_chart }}"