From defc94c86765e47c66c204b7fcd41633b1f5246c Mon Sep 17 00:00:00 2001 From: ehab-hassan Date: Wed, 29 Nov 2023 17:02:44 +0200 Subject: [PATCH] update cta --- content/home/index.md | 30 ++++++++++++++++++++++++++++-- templates/shortcodes/content1.html | 10 +++++----- templates/shortcodes/cta.html | 23 +++++++++++++++++++++++ 3 files changed, 56 insertions(+), 7 deletions(-) create mode 100644 templates/shortcodes/cta.html diff --git a/content/home/index.md b/content/home/index.md index 212e065..e71b474 100644 --- a/content/home/index.md +++ b/content/home/index.md @@ -7,16 +7,34 @@ draft: false weight: 1 --- - +
+ +{% cta( + + cta_title = "Summer Sale Up to 70% off." + cta_text = "This is a section of some simple filler text, also known as placeholder text. It shares some characteristics of a real written text." + cta_img = "https://images.unsplash.com/photo-1505846951821-e25bacf2eccd?auto=format&q=75&fit=crop&crop=top&w=1000&h=500" +) %} + +# test + +{% end %} + + {% content1( content1_title = "Our competitive advantage", content1_text = "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. It may be used to display a sample of fonts or generate text for testing. Filler text is dummy text which has no meaning however looks very similar to real text. The important factor when using filler text is that the text looks realistic otherwise it will not look very good.", content1_subtitle = "About Us", content1_photo = "https://images.unsplash.com/photo-1593508512255-86ab42a8e620?auto=format&q=75&fit=crop&w=600&h=350" - + content1_title2 = "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. It may be used to display a sample of fonts or generate text for testing. Filler text is dummy text which has no meaning however looks very similar to real text." + 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.” +" ) %} @@ -26,6 +44,11 @@ weight: 1 {% end %} + + + + + {% reviews( reviews_name = "ehab", reviews_date = "12/6/2023" @@ -35,6 +58,9 @@ weight: 1 {% end %} + + + {% banner( banner_text = "This is a section of some simple filler text, also known as placeholder text.", diff --git a/templates/shortcodes/content1.html b/templates/shortcodes/content1.html index ab088cc..12e418b 100644 --- a/templates/shortcodes/content1.html +++ b/templates/shortcodes/content1.html @@ -9,15 +9,15 @@

{{ content1_subtitle }}

-

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. It may be used to display a sample of fonts or generate text for testing. Filler text is dummy text which has no meaning however looks very similar to real text.

+

{{ content1_title2 }}

-
“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 }}
Photo by Minh Pham diff --git a/templates/shortcodes/cta.html b/templates/shortcodes/cta.html new file mode 100644 index 0000000..c695cbd --- /dev/null +++ b/templates/shortcodes/cta.html @@ -0,0 +1,23 @@ +
+
+
+ +
+

{{ cta_title}}

+ +

{{ cta_text}}

+ +
+ Save now +
+
+ + + +
+ Photo by Dom Hill +
+ +
+
+
\ No newline at end of file