Update images path

This commit is contained in:
samaradel
2022-07-27 15:20:16 +02:00
parent 29d14f3ee5
commit 3c7ace6c93
5 changed files with 5 additions and 3 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 22 KiB

View File

@@ -5,7 +5,7 @@ extra:
subtitle: "and earn TFT" subtitle: "and earn TFT"
button: Become a Farmer button: Become a Farmer
link: /farm link: /farm
imgPath: /images/become_farmer_new.jpg imgPath: become_farmer_new.jpg
--- ---
By connecting hardware at your home or office, support the growth of a decentralized Internet and earn a new digital currency, TFT. By connecting hardware at your home or office, support the growth of a decentralized Internet and earn a new digital currency, TFT.

View File

@@ -3,7 +3,7 @@ title: DECENTRALIZE YOUR
extra: extra:
subtitle: "DATA AND WORKLOADS" subtitle: "DATA AND WORKLOADS"
imgPath: /images/network_new.jpg imgPath: network_new.jpg
button: Deploy button: Deploy
link: /cloud link: /cloud
--- ---

View File

Before

Width:  |  Height:  |  Size: 25 KiB

After

Width:  |  Height:  |  Size: 25 KiB

View File

@@ -65,8 +65,10 @@
</div> </div>
{% endif %} {% endif %}
</div> </div>
{% set url = get_url(path='/' ~ page.relative_path |
replace(from='index.md', to=page.extra.imgPath)) %}
<img class="mx-auto w-full" src="{{get_url(path=page.extra.imgPath)}}" /> <img class="mx-auto w-full" src="{{url}}" />
</div> </div>
{% endfor %} {% endfor %}
</div> </div>