This commit is contained in:
despiegk 2023-11-29 11:56:45 +03:00
parent 2c8574542e
commit 062b06e528
Signed by: despiegk
GPG Key ID: 99E4E1492F73BC18
2 changed files with 27 additions and 2 deletions

View File

@ -9,7 +9,28 @@ weight: 1
<!-- section 1 (header) -->
{{ reviews() }}
{{ reviews(
reviews=[
{
"title":"Title1",
"date":"August 28, 2021",
"stars":[3,2],
"description":"This is the text which will be used"
},
{
"title":"Title2",
"date":"August 29, 2021",
"stars":[4,1],
"description":"This is the text which will be used 2"
},
{
"title":"Title3",
"date":"August 30, 2022",
"stars":[5,0],
"description":"This is the text which will be used 3"
},
])
}}
{% row(style="left" margin="none" reverse="rightreserve" padding="bottom") %}

View File

@ -12,6 +12,9 @@
<!-- stars - start -->
<div class="-ml-1 flex gap-0.5">
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-yellow-400" viewBox="0 0 20 20" fill="currentColor">
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
</svg>
@ -30,7 +33,8 @@
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6 text-gray-300" viewBox="0 0 20 20" fill="currentColor">
<path d="M9.049 2.927c.3-.921 1.603-.921 1.902 0l1.07 3.292a1 1 0 00.95.69h3.462c.969 0 1.371 1.24.588 1.81l-2.8 2.034a1 1 0 00-.364 1.118l1.07 3.292c.3.921-.755 1.688-1.54 1.118l-2.8-2.034a1 1 0 00-1.175 0l-2.8 2.034c-.784.57-1.838-.197-1.539-1.118l1.07-3.292a1 1 0 00-.364-1.118L2.98 8.72c-.783-.57-.38-1.81.588-1.81h3.461a1 1 0 00.951-.69l1.07-3.292z" />
</svg>
</svg>
</div>
<!-- stars - end -->