forked from duniayetu/www_duniayetu
update logo looping
This commit is contained in:
16
templates/shortcodes/logo.html
Normal file
16
templates/shortcodes/logo.html
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="bg-white py-6 sm:py-8 lg:py-12">
|
||||
<div class="mx-auto max-w-screen-2xl px-4 md:px-8">
|
||||
<h2 class="mb-4 text-center text-2xl font-bold text-gray-800 md:mb-8 lg:text-3xl">Trusted by the best</h2>
|
||||
|
||||
<div class="grid grid-cols-2 gap-6 rounded-lg bg-indigo-100 p-6 sm:h-40 sm:content-evenly md:grid-cols-4">
|
||||
<!-- logo - start -->
|
||||
{% for logo in logos %}
|
||||
<div class="flex justify-center text-indigo-500">
|
||||
<img class="w-64" src="{{ logo }}" >
|
||||
</div>
|
||||
{% endfor %}
|
||||
<!-- logo - end -->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
4
templates/shortcodes/myloop.html
Normal file
4
templates/shortcodes/myloop.html
Normal file
@@ -0,0 +1,4 @@
|
||||
|
||||
{% for item in items %}
|
||||
<p>{{ item }}</p>
|
||||
{% endfor %}
|
@@ -46,7 +46,7 @@
|
||||
|
||||
<div class="divide-y">
|
||||
<!-- review - start -->
|
||||
|
||||
{# {% for item in items %} #}
|
||||
<div class="flex flex-col gap-3 py-4 md:py-8">
|
||||
<div>
|
||||
<span class="block text-sm font-bold">{{ reviews_name }}</span>
|
||||
@@ -79,6 +79,7 @@
|
||||
|
||||
<p class="text-gray-600">{{ reviews_description }}</p>
|
||||
</div>
|
||||
{# {% endfor %} #}
|
||||
|
||||
<!-- review - end -->
|
||||
|
||||
|
Reference in New Issue
Block a user