Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user