This commit is contained in:
Ehab Hassan 2023-11-29 23:28:08 +02:00
parent 24211cdb87
commit d6f9a7683d
2 changed files with 11 additions and 20 deletions

View File

@ -33,9 +33,7 @@ weight: 1
content1_item1 = "This is a section of some simple filler text"
content1_item2 = "Also known as placeholder text"
content1_item3 = "It shares some characteristics of a real written text"
quate_title = "“This is a section of some simple filler text, also known as placeholder text. It shares some characteristics of a real written text but is random or otherwise generated.”
"
quate_title = "“This is a section of some simple filler text, also known as placeholder text. It shares some characteristics of a real written text but is random or otherwise generated.”"
) %}
@ -45,19 +43,11 @@ weight: 1
<!-- {% include "reviews.html" items=[
{ name = "Item 1", description = "Description 1", date = "2023-01-01" },
{ name = "Item 2", description = "Description 2", date = "2023-02-01" },
{ name = "Item 3", description = "Description 3", date = "2023-03-01" }
] %}
{% end %} -->
{% myloop(
items=["Item 1", "Item 2", "Item 3", "Item 4"])
%}
# test
# test
{% end %}
@ -77,21 +67,22 @@ weight: 1
{% logo(
logos=["https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png", "https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png", "https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png", "https://purepng.com/public/uploads/large/purepng.com-disney-logologobrand-logoiconslogos-251519939495wtv86.png"])
%}
# test
{% end %}
<!-- section banner -->
{% banner(
banner_text = "This is a section of some simple filler text, also known as placeholder text.",
banner_button_name = "Learn More"
banner_button = "Learn More"
)
%}
) %}
# test

View File

@ -3,7 +3,7 @@
<div class="relative flex flex-wrap bg-indigo-500 px-4 py-3 sm:flex-nowrap sm:items-center sm:justify-center sm:gap-3 sm:pr-8 md:px-8">
<div class="order-1 mb-2 inline-block w-11/12 max-w-screen-sm text-sm text-white sm:order-none sm:mb-0 sm:w-auto md:text-base">{{ banner_text }}</div>
<a href="#" class="order-last inline-block w-full whitespace-nowrap rounded-lg bg-indigo-600 px-4 py-2 text-center text-xs font-semibold text-white outline-none ring-indigo-300 transition duration-100 hover:bg-indigo-700 focus-visible:ring active:bg-indigo-800 sm:order-none sm:w-auto md:text-sm">{{ banner_button_name }}</a>
<a href="#" class="order-last inline-block w-full whitespace-nowrap rounded-lg bg-indigo-600 px-4 py-2 text-center text-xs font-semibold text-white outline-none ring-indigo-300 transition duration-100 hover:bg-indigo-700 focus-visible:ring active:bg-indigo-800 sm:order-none sm:w-auto md:text-sm">{{ banner_button }}</a>
<!-- close button - start -->
<div class="order-2 flex w-1/12 items-start justify-end sm:absolute sm:right-0 sm:order-none sm:mr-1 sm:w-auto xl:mr-3">