Refactor code structure for improved readability and maintainability

This commit is contained in:
bolade
2025-09-24 10:36:38 +01:00
parent 845a7ca099
commit 4a61dd7898
21 changed files with 1597 additions and 1740 deletions
+3 -3
View File
@@ -1,4 +1,4 @@
<div class="w-full page bg-white" style="height: 297mm;"></div>
<div class="w-full page bg-white">
<!-- Header Section -->
<div class="bg-black text-white px-6 py-4 flex items-center justify-between">
<div class="flex items-center">
@@ -30,7 +30,7 @@
<!-- Body Composition Chart -->
<div class="flex justify-center mb-8">
<div class="relative">
<img src="{{ body_composition_chart | default('../graphs/page_1_body_composition.png') }}"
<img src="{{ body_composition_chart}}"
alt="Body Composition Chart"
class="w-80 h-80 object-contain">
@@ -53,7 +53,7 @@
<!-- Body Fat Chart -->
<div class="flex justify-center">
<img src="{{ body_fat_chart | default('../graphs/page_1_body_fat.png') }}"
<img src="{{ body_fat_chart}}"
alt="Body Fat Percentage Chart"
class="w-full max-w-2xl h-32 object-contain">
</div>